Skip to content

A clone of the classic snake game built in x86 assembly.

Notifications You must be signed in to change notification settings

MDanialSaleem/Sanke-Xenia-x86

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Xenia

A clone of the classic Snake Xenia game built with x86 Assembly.

Snake-Xenia.Png

How To Run

  1. Get DoxBox Portable
  2. Get NASM assembler
  3. Open up dobox portable, move into the project directory.
  4. Run nasm.exe main.asm -o output.com
  5. Run output.com

Files

  • arena.asm: defines the construction of arena.
  • audio.asm: defines the working of audio.
  • food.asm: defines mechanims for appearance and eating of food.
  • snake.asm: defines the movement of snake.
  • utility.asm: defines some utility functions.
  • main.asm: defines the main loop.

A note on indentation

The indentation followed in this project differs from the standard indentation found in most x86 books. I developed this style and I believe it's more intuitive for people coming from higher level languages.

About

A clone of the classic snake game built in x86 assembly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published