Skip to content

Latest commit

 

History

History

snek

snek

This is a version of the classic "snake" game, for the HP4952A protocol analyzer.

Watch a couple short videos on YouTube:

snek1_small

Loading the Game

You can copy the snek.app file onto a HP-LIF-formatted floppy disk, and then load it directly. Alternatively, use 5XREMOTE.EXE or my comms utility to load over the "remote/printer" serial port, following these steps.

Please note the risk that this may corrupt the settings on your unit. Always ensure you have a backup floppy disk with any vital data or programs you may have for your HP 4952A!

How to Play

snek2_small

Controls are:

  • First function key: turn left
  • Second function key: turn right
  • MORE key: speed up
  • Up/Down/Left/Right keys: turn to the corresponding direction
  • EXIT: exit the game.

Eat the charms to grow longer and increase your score. Don't crash into anything!

Other notes

This is my first time writing Z80 assembly language in a very long time. Thanks to David Kuder for his libraries, which make all this possible.

I think the game is playable. Let me know any bugs you find, and any features you want!

TODO

Known bugs:

  • There's an off-by-one bug somewhere in the tail initialization. Results in an occasional spurious block appearing shortly after the game starts.
  • For some reason the app doesn't run when loaded from disk.