The "snake" game in IA-32 assembly language.
Switch branches/tags
Nothing to show
Clone or download
maujood Merge pull request #1 from stefan-ptrvch/master
Addition of comments and docstrings
Latest commit f3b3e24 Jan 24, 2017
Failed to load latest commit information. Update Oct 25, 2013
snake.asm Minor cosmetic changes Jan 23, 2017
snake.exe Added compiled version of the program Oct 25, 2013


The "snake" game in IA-32 assembly language. I made it as the course project for my course in assembly language programming (undertaken in Fall 2007).

Running the program

A compiled executable (snake.exe) is available for download. Tested on Windows 7 and Windows XP.

Move the snake using the arrow keys.

The game provides the following speed levels:

  • Earthworm (very slow)
  • Centipede (still too slow - but okay for wimps)
  • Cobra (makes for interesting gameplay)
  • Black Mamba (be careful - this is the fastest snake ever discovered)

For added challenge, players can select a level:

  • None (open playing field)
  • Box (the playing field is surrounded by walls)
  • Rooms (the snake operates in a space of four rooms)

Information on compiling the code

snake.asm contains the code for the game. It is dependent on which is not provided in this repository. and other required files and information for compiling the code in your environment is available at: