Abstract
AbstractWe study a planning problem based on Plotting, a tile-matching puzzle video game published by Taito in 1989. The objective of this turn-based game is to remove a target number of coloured blocks from a grid by sequentially shooting blocks into the same grid. Plotting features complex transitions after every shot: various blocks are affected directly, while others can be indirectly affected by gravity. We consider modelling and solving Plotting from two perspectives. The puzzle is naturally cast as an AI Planning problem and we first discuss modelling the problem using the Planning Domain Definition Language (PDDL). We find that a model in which planning actions correspond to player actions is inefficient with a grounding-based state-of-the-art planner. However, with a more fine-grained action model, where each change of a block is a planning action, solving performance is dramatically improved. We also describe two lifted constraint models, able to capture the inherent complexities of Plotting and enabling the application of efficient solving approaches from SAT and CP. Our empirical results with these models demonstrates that they can compete with, and often exceed, the performance of the dedicated planning solvers, suggesting that the richer languages available to constraint modelling can be of benefit when considering planning problems with complex changes of state. CP and SAT solvers solved almost all of the largest and most challenging instances within 1 hour, whereas the best planning approach solved approximately 30%. Finally, the flexibility provided by the constraint models allows us to easily curate interesting levels for human players.
Funder
Engineering and Physical Sciences Research Council
Ministerio de Ciencia e Innovación
Publisher
Springer Science and Business Media LLC
Reference54 articles.
1. Ghallab, M., Nau, D., & Traverso, P. (2004). Automated planning: Theory and practice. Elsevier, San Francisco, USA. https://doi.org/10.1016/B978-1-55860-856-6.X5000-5
2. Long, D. (2019). Drilling down: Planning in the field. Invited talk, Twenty-Ninth International Conference on Automated Planning and Scheduling, (ICAPS), Berkeley, California. https://www.youtube.com/watch?v=Zwhnlw118D4
3. Niemueller, T., Karpas, E., Vaquero, T., & Timmons, E. (2016). Planning competition for logistics robots in simulation. In Proceedings of the 4th workshop on planning and robotics (PlanRob) at the 26th International Conference on Automated Planning and Scheduling (ICAPS) (pp. 131–134). https://web.archive.org/web/20221008151837/https://icaps16.icaps-conference.org/proceedings/planrob16.pdf
4. Masoumi, A., Antoniazzi, M., & Soutchanski, M. (2015). Modeling organic chemistry and planning organic synthesis. In Global Conference on Artificial Intelligence (GCAI) (pp. 176–195). https://doi.org/10.29007/493z
5. Barták, R., Salido, M. A., & Rossi, F. (2010). Constraint satisfaction techniques in planning and scheduling. Journal of Intelligent Manufacturing, 21(1), 5–15. https://doi.org/10.1007/s10845-008-0203-4