Snake is a simple 2D game written in the programming language CX.
CX is a general purpose, interpreted and compiled programming language, with a very strict type system and a syntax similar to Golang's. CX provides a new programming paradigm based on the concept of affordances, where the user can ask the programming language at runtime what can be done with a CX object (functions, expressions, packages, etc.), and interactively or automatically choose one of the affordances to be applied.
You can find more info on:
The github page on CX - https://github.com/SkycoinProject/cx
The official website of Skycoin - https://www.skycoin.com/
Snake was developed for CX v0.7.1. The binaries for this version are available at:
Download the source code from the Github repository...
$ git clone https://github.com/SkycoinProject/cx-games.git
Wait for the cloning process to finish and navigate to the cloned directory...
$ cd cx-games/snake
The game should be ready to run.
In order to run the game type the following command:
cx .
Use the arrows to move the player and try to eat the food, while not eating yourself.
This game was originally developed by Lunier, a member of the Skycoin community,
if you want to show your appreciation for Lunier's work feel free to send a
contribution in Skycoin to the address below.
Skycoin Address: shAih4RfkkS9yKF2ULouWdE6pfXdikb6i6
Also if you have any ideas to improve the game, please share them with us.