After you have installed CodeBlocks and cloned this repository, go in the main folder and double-click the Snake.cbp
file. It should open the entire project in a new CodeBlocks window.
Next, click on Build and run (or F9) and it will open the game window. Enjoy!
Help on how to play the game can be found in the Help menu inside the game.