Suggested High level description of SnakeTournament module

Hogab Herzl

New Member
The SnakeTournament module for terasology allows interested coders to recreate the classic game Snake In the Terasology engine. The module, which can be found on the Terasology GitHub page, includes links to a walkthrough on the Terasology wiki where users can find detailed instructions that accommodate little to no experience and provide different paths for users to take. These features make it a great introduction to developing Terasology modules, and learning the basic points of game modding.
The module on the GitHub page contains the typical readme and gitignore files, as well as the src folder, which contains the events and systems directories. In the events directory there is only the CharacterTrappedEvent.java file which is called when the player becomes trapped. In the systems directory there are the BlockTrailAuthoritySystem.java and SnakeTournamentAuthoritySystem.java files. The former places blocks in the last position a character was in and checks if the surrounding blocks in the character’s current position are filled. The latter contains code that kills a character if the surrounding spaces are filled. The module.txt file in the main SnakeTournament repository contains a brief description of the game’s mechanics as well as the aforementioned link to the coding walkthrough. The walkthrough on the Terasology wiki is thorough, well written, and easily understandable to even inexperienced programmers.
This module, like all others can be expanded and personalized depending on its exact purpose or the programmer’s specific vision. The module as it is only contains necessary mechanics for the game to function, meaning that there are infinite possibilities to improve it. From a mechanics standpoint, extra lives could be added, or possibly multiplayer from a single keyboard. From an art perspective however, sound or visual effects, or countless other things to enhance the classic game.
 
Top