Solving Interactive Fiction Games via Partial Evaluation and Bounded Model Checking

by   Martin Mariusz Lester, et al.

We present a case study on using program verification tools, specifically model-checkers for C programs, to solve simple interactive fiction games from around 1980. Off-the-shelf model-checking tools are unable to handle the games in their original form. In order to work around this, we apply a series of program transformations that do not change the behaviour of the program. An interesting aspect of these games is that they use a simple, interpreted language to script in-game events. This turns out to be the most difficult part of the program for verification tools to handle; we tackle this using partial evaluation. Our case study thus provides some insights that are applicable more generally to verification and analysis of programs that interpret scripting languages. To the best of our knowledge, this is the first example of a commercially released game being solved by application of a program model-checker to the game's code.



There are no comments yet.


page 1

page 2

page 3

page 4


Model Checking in multiplayer games development

Multiplayer computer games play a big role in the ever-growing entertain...

Higher-Order Program Verification via HFL Model Checking

There are two kinds of higher-order extensions of model checking: HORS m...

N-PAT: A Nested Model-Checker

N-PAT is a new model-checking tool that supports the verification of nes...

Synthesis in Uclid5

We describe an integration of program synthesis into Uclid5, a formal mo...

An Overview of the HFL Model Checking Project

In this article, we give an overview of our project on higher-order prog...

Optimal Stateless Model Checking under the Release-Acquire Semantics

We present a framework for efficient application of stateless model chec...

Generalization Strategies for the Verification of Infinite State Systems

We present a method for the automated verification of temporal propertie...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.