Snac-Snake: a variant of the classic game Snake written in BBC BASIC v3
- Originally created for the 3rd Olimex AgonLight Week Programming Challenge 2023
- Snac-Snake may be played on an AgonLight retro-computer, the AgonLight Emulator, the upcoming Agon Console8, or the BBC BASIC SDL.
Snac-Snake-Demo-Playthru__compressed.mp4
Snac-Snake supports multiple display modes on the AgonLight. The game should be played in a mode that supports a minimum of 16 colors and minimum screen dimensions of 40 columns by 22 rows.
On BBC BASIC SDL, one display mode (MODE 9) is supported.
Use the up, down, left, and right arrow keys to control the direction of the non-stop moving snake. Colliding with a wall kills the snake and ends the game. Vertical and/or horizontal portals will appear during the game to allow the snake safe passage through to the opposite end of the playing field.
- Each small white pellet eaten increases the length of the snake by one body segment and is scores five points per segment body length of the snake. Since the minimum size of the snake is two (the head and one body segment), a small white pellet scores ten points at a minimum.
- Colliding with a red, pink, light blue, or green monster kills the snake and ends the game.
- Eating the yellow toadstool is toxic to the snake and ends the game.
- Eating a large hollow white pellet is worth twenty-five points and decreases the length of the snake by one body segment.
- Eating a large solid white pellet is worth twenty-five points and temporarily allows the snake to gobble the monsters which are dark blue or white when vulnerable.
- Eating a dark blue monster scores five hundred points and reduces the length of the snake by one body segment.
- Eating a white monster scores one thousand points and reduces the length of the snake by one body segment.
- Eating a red heart scores one hundred points and increases the length of the snake by two body segments.
- Eating a light blue diamond scores two hundred points and increases the length of the snake by two body segments.
- Eating a green pear scores five hundred points and increases the length of the snake by two body segments.
- The default high score is fifteen hundred points.
- High scores will be saved to a file named
snac-snak.hi
in the same folder as thesnac-snake.bas
file. - Snac-Snake must be run from the exact folder where the
snac-snak.hi
file resides in order for the saved high scores to be read-in by the game.