A Video Game Based on Elementary Differential Equations

HTML  XML Download Download as PDF (Size: 194KB)  PP. 250-262  
DOI: 10.4236/ica.2013.43030    9,341 Downloads   14,842 Views  

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

Share and Cite:

M. Giacinti, F. Mariani, M. Recchioni and F. Zirilli, "A Video Game Based on Elementary Differential Equations," Intelligent Control and Automation, Vol. 4 No. 3, 2013, pp. 250-262. doi: 10.4236/ica.2013.43030.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.