|Classes of Tomas Pavlatka||PHP Snake Game||README.md||Download|
Small and simple class to play with old game called Snake. You can initiate a snake and instruct him, where to go. The system will check the path and will let you know whether snake survived or he aet himself on the way.
If everything goes well, system will return -1. If snake aet himself, system will return a number of a step when this happened.
There is also a console application using the same logic. To start it, call this command
System will check and will let you know.