Skip to content

Snake clone written in Z80 assembly for the ZX Spectrum

License

Notifications You must be signed in to change notification settings

chriswyatt/znake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

znake

Snake clone written in Z80 assembly for the ZX Spectrum

Why?

Mainly as a programming exercise. I have always programmed using high-level languages and had always wanted to try my hand at something lower-level. I picked Snake, because it's a (relatively) simple game, and I have fond memories of it on Microsoft QBASIC and old Nokia handsets.

I decided to code for the ZX Spectrum as I had started learning BASIC on a ZX Spectrum as a child. Unfortunately the ZX Spectrum died before I had got very far with learning it.

If anyone would like to help me improve the game (even if only the graphics), please contact me. If you would like to help with the look of the game, coding skills are not required.

This is my first attempt at assembly so the code is probably not a fantastic example. I am open to suggestions/improvements; however as I work on this project in my spare time, it could take me a while to address them.

How to play

You will need to download znake.tap and you will need an emulator, e.g. Speccy. Use Q, A and [ENTER] to select the difficulty and Q, A, O and P to control the snake.

ZX Vega

A keymap is included for convenience: just place znake.zxk within the same directory as znake.tap.

Assemble

Znake was assembled using Pasmo: pasmo --name znake --tapbas znake.asm znake.tap

License

See LICENSE

Contact

If you would like to contact me, please email chris .d0t. wyatt .at. zoho.com

Releases

No releases published

Packages

No packages published