A Video Game Based on Elementary Differential Equations
- 1 Dipartimento di Scienze Sociali “D. Serrani”, Università Politecnica delle Marche, Ancona, Italy
- 2 CERI-Centro di Ricerca Previsione Prevenzione e Controllo dei Rischi Geologici, Universitμa di Roma “La Sapienza”, Valmontone, Italy
- 3 Dipartimento di Scienze Sociali “D. Serrani”, Università Politecnica delle Marche, Ancona, Italy
- 4 CERI-Centro di Ricerca Previsione Prevenzione e Controllo dei Rischi Geologici, Universitμa di Roma “La Sapienza”, Valmontone, Italy
Abstract
In this paper a prey-predator video game is presented. In the video game two predators chase a prey that tries to avoid the capture by the predators and to reach a location in space ( i.e. its “home”). The prey is animated by a human player (using a joypad), the predators are automated players whose behaviour is decided by the video game engine. The purpose of the video game is to show how to use mathematical models to build a simple prey-predator dynamics representing a physical system where the movements of the game actors satisfy Newton’s dynamical principle and the behaviour of the automated players simulates a simple form of intelligence. The game is based on a simple set of ordinary differential equations. These differential equations are used in classical mechanics to describe the dynamics of a set of point masses subject to a force chosen by the human player, elastic forces and friction forces ( i.e . viscous damping). The software that implements the video game is written in C++ and Delphi. The video game can be downloaded from: http://www.ceri.uniroma1.it/ceri/zirilli/w9
- F. Bellotti, R. Berta and A. De Gloria, “Designing Effec tive Serious Games: Opportunities and Challenges for Research,” Special Issue: Creative Learning with Serious Games, Journal of Emerging Technologies in Learning, Vol. 5, No. 3, 2010, pp. 22-35.
- F. Bellotti, R. Berta, A. De Gloria and L. Primavera, “Adaptive Experience Engine for Serious Games,” IEEE Transactions on Computational Intelligence and AI in Games, Vol. 1, No. 4, 2009, pp. 264-280. doi:10.1109/TCIAIG.2009.2035923
- M. Athans, “On Optimal Allocation and Guidance Laws for Linear Interception and Rendez Vous Problems,” IEEE Transactions on Aerospace and Electronics Sys tems, Vol. 7, No. 5, 1971, pp. 843-853. doi:10.1109/TAES.1971.310324
- R. Isaacs, “Differential Games,” Dover Publication, New York, 1999.
- A. A. Melikyan, “Primary Strategies of Simple Pursuit in Differential Games on Two-Sided Plane Figures,” Journal of Applied Mathematics and Mechanics, Vol. 68, No. 4, 2004, pp. 545-554. doi:10.1016/j.jappmathmech.2004.07.007
- V. Kokkeviv, “Practical Physics for Articulated Charac ters,” Game Developers Conference, San Jose, 24-26 2004, pp. 1-16. http://www.red3d.com/cwr/games/#ai-papers
- I. Millington, “Game Physics Engine Developments,” El sevier Inc., San Francisco, 2007.
- S. I. Nishimura and T. Ikegami, “Emergence of Collective Strategies in a Prey-Predator Game Model,” Artificial Life, Vol. 3, No. 4, 1997, pp. 243-260. doi:10.1162/artl.1997.3.4.243
- I. Millington, “Artificial Intelligence for Games,” Morgan Kaufmann Publications, Elsevier, San Francisco, 2006.
- V. Y. Glizer and V. Turetsky, “Complete Solution of a Differential Game with Linear Dynamics and Bounded Controls,” Applied Mathematics Research Express, Vol. 2008, No. 1, 2008, 49 p. doi:10.1093/amrx/abm012