Title :
Towards model checking of computer games with Java PathFinder
Author :
Shafiei, Navid ; van Breugel, Franck
Author_Institution :
Dept. of Comput. Sci. & Eng., York Univ., Toronto, ON, Canada
Abstract :
We show that Java source code of computer games can be checked for bugs such as uncaught exceptions by the model checker Java PathFinder (JPF). To model check Java games, we need to tackle the state space explosion problem and handle native calls. To address those two challenges we use our extensions of JPF, jpf-probabilistic and jpf-nhandler. The former deals with the randomization in the source code of the game, which is a cause of the state space explosion problem. The latter handles native calls automatically. We show how JPF enhanced with our extensions can check games such as the text based game Hamurabi and a graphics based version of rock-paper-scissors.
Keywords :
Java; computer games; program verification; Hamurabi text based game; Java PathFinder; Java source code; computer games; jpf-nhandler; jpf-probabilistic; model checking; rock-paper-scissors graphics version; source code randomization; state space explosion problem; Computer bugs; Explosions; Games; Java; Markov processes; Model checking; Probabilistic logic;
Conference_Titel :
Games and Software Engineering (GAS), 2013 3rd International Workshop on
Conference_Location :
San Francisco, CA
DOI :
10.1109/GAS.2013.6632584