As I always say, "All work and no fun makes you a dull programmer!" Well, with CommandBox, we're here to fight boredom and productivity with the fun "Snake" game. This is the classic game of moving an-ever growing snake around the map in 4 directions while eating up the apples. For every apple the snake devours, it grows by one character in length.
I prefer to use the numeric keypad to move the snake left, right, up and down with the 4, 6, 8 and 2 keys. Once you run into a wall or your own tail, it's game over man. Here's a screenshot of my high score (130). I'm challenging someone to beat this and prove it by tweeting a pic.
To play the snake game, just type the snake command.
CommandBox> snake
Download CommandBox here.
Add Your Comment