"Snake" game control system



© V. S. Sapunkov, A. A. Shalyto

Saint-Petersburg State University of Information Technologies, Mechanics and Optics

Project documentation (in Russian)
Executable program
Source code

Annotation

SWITCH-technology was introduced for algorithmizing and programming the tasks of logical control, which was later developed to design software of event-oriented systems. You can familiarize yourself with it and it's samples by visiting http://is.ifmo.ru.

This technology is convenient to control some technical objects, but in this project it is used for solving the problem of controlling interactive real-time graphical game called "Snake" (also known as "Python").

The goals of this work were to create a detailed project documentation and to centralize the logical control in the sources. They are six of mixed finite automata that is used for definition of logical control.

Java language was chosen for the implementation of this project, because it gives an opportunity of creating applets, which are convenient for revealing themselves over Internet. They are executed by the browser at once. Programs written in Java are able to work in Windows, Linux and MacOS; and, as a matter of fact, platform-independent.The goals of this work were to create a detailed project documentation and to centralize the logical control in the sources. It is a mixed finite automaton that is used for definition of logical control.