8086汇编版本贪吃蛇,需要使用dosbox运行,也可使用ms-dos 6.22系统运行,使用masm5.x编译器编译
q退出,p暂停/重开,space加速,小键盘方向键上下左右控制方向
ms-dos 6.22系统虚拟机可在此分支下找到: https://github.com/chenjunfu2/Gluttonous_snake-asm/tree/MASM
SuperVGA模式版本可在其它两个分支找到,分别是:
使用中断绘图(较慢)的 https://github.com/chenjunfu2/Gluttonous_snake-asm/tree/SuperVGA_slow_int_draw
使用内存页面绘图(较快)的 https://github.com/chenjunfu2/Gluttonous_snake-asm/tree/SuperVGA_fast_draw
b站文章《8086汇编贪吃蛇开发记录(内存绘图,非字符画)》https://www.bilibili.com/opus/1015076728300634115讲的是这个版本的代码
https://github.com/chenjunfu2/Gluttonous_snake-asm/tree/SuperVGA_fast_draw