Snake NamespaceDelta Engine Documentation

Public classBody
Public classChunk
This class holds the data for the chunk and moves the chunk to random locations after being consumed. View code on GitHub
Public classGame
This is the main game class holding the control of the entire snake game, user input and the interaction of the snake with the borders and the chunks View code on GitHub
Public classMenu
Public classSnake
This class holds data about the snake body and checks for snake collisions with either itself or with the borders and whether the snake must grow in size. View code on GitHub