A Video Game Based on Elementary Differential Equations

Giacinti, Marco; Mariani, Francesca; Recchioni, Maria Cristina; Zirilli, Francesco
August 2013
Intelligent Control & Automation (2153-0653);Aug2013, Vol. 4 Issue 3, p250
Academic Journal
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.


Related Articles

  • On the approximate solution of autonomous boundary-value problems by the Newton method. Chuiko, S.; Pirus, O. // Journal of Mathematical Sciences;Jun2013, Vol. 191 Issue 3, p449 

    We establish necessary and sufficient conditions for the existence of solutions of a nonlinear autonomous Noetherian boundary-value problem for a system of second-order ordinary differential equations in a special critical case. The specific feature of the considered problem is the...

  • Modeling multimodal energy systems. Shahbakhsh, Arash; Nieße, Astrid // Automatisierungstechnik;Nov2019, Vol. 67 Issue 11, p893 

    Information and communication technology (ICT) and the technology of coupling points including power-to-gas (PtG), power-to-heat (PtH) and combined heat and power (CHP) reshape future energy systems fundamentally. To study the resulting multimodal smart energy system, a proposed method is to...

  • Reduction of stiffness‐induced round‐off errors in chemical reaction systems. Lukassen, Axel Ariaan; Kiehl, Martin // PAMM: Proceedings in Applied Mathematics & Mechanics;Nov2019, Vol. 19 Issue 1, pN.PAG 

    The timescales of chemical reactions range from nanoseconds to minutes. Hence, chemical reaction systems result in stiff systems of differential equations. Usually, implicit integration schemes are used in order to solve these stiff systems of differential equations. Thus, Newton's method is...

  • A three-stage explicit two-step Runge-Kutta-Nystro¨m method for solving second-order ordinary differential equations. Md Ariffin, Latifah; Senu, Norazak; Suleiman, Mohamed // AIP Conference Proceedings;Apr2013, Vol. 1522 Issue 1, p323 

    A three-stage explicit two-step Runge-Kutta-Nystro¨m (TSRKN) method is developed for the numerical integration of special second-order ordinary differential equations. Algebraic order conditions of the method are obtained and fourth-order method is derived. The second-order initial value...

  • Mathematical Models and Numerical Methods in Life Sciences. Aguiar, Maíra; Cavoretto, Roberto; Stollenwerk, Nico; Venturino, Ezio // AIP Conference Proceedings;2016, Vol. 1738 Issue 1, p390001-1 

    No abstract available.

  • Equilibrium tracing in strategic-form games. Balthasar, Anne // Economic Theory;Jan2010, Vol. 42 Issue 1, p39 

    We analyze the relationships of the van den Elzen–Talman algorithm, the Lemke–Howson algorithm and the global Newton method for equilibrium computation by Govindan and Wilson. For two-player games, all three can be implemented as complementary pivoting algorithms. The algorithms by...

  • A note on the integrals of motion for the Lanford dynamical system. N. Islam; A. Mondal; M. Islam; B. Islam // Differential Geometry--Dynamical Systems;2012, Vol. 14, p90 

    The aim of this note is to derive the integrals of motion for the Lanford dynamical system by considering the leading order behavior in the neighborhood of a singularity.

  • Model reduction for networks of coupled oscillators. Gottwald, Georg A. // Chaos;2015, Vol. 25 Issue 5, p1 

    We present a collective coordinate approach to describe coupled phase oscillators. We apply the method to study synchronisation in a Kuramoto model. In our approach, an N-dimensional Kuramoto model is reduced to an n-dimensional ordinary differential equation with n ≪ N, constituting an...

  • Construction of the minimal sets of differential equations with polynomial right-hand side. Afanas'ev, A.; Dzyuba, S. // Differential Equations;Nov2015, Vol. 51 Issue 11, p1403 

    We present a method for constructing the minimal sets of autonomous systems of ordinary differential equations with polynomial right-hand side. The implementation of the method is based on the construction of a discrete dynamical system along the solutions of the original system. As an...


Read the Article


Sorry, but this item is not currently available from your library.

Try another library?
Sign out of this library

Other Topics