不过是命令行下的版本。。。
见:git@github.com:Cofyc/snake.git
使用 VIM 的 hjkl 或者上下左右键控制,q/ESC 退出。
需要编译,make; ./snake 即可运行,mac/linux 已测试。
第一版,很简陋。。。纯粹只是好玩。
have fun ;-)
screenshot:
http://photo.weibo.com/1650634622/wbphotos/large/photo_id/3544657159888087?refer=weibofeedv5