java - 贪吃蛇相关问题?
先附上地址:https://github.com/KingJeason/MySnake.git。第一个问题 :我判断蛇死亡的函数是: private void checkDead() { {代码...} 意思就是遍历一遍蛇。如果蛇头的区域和蛇神的任何一个区域有交集。则死亡...
黄舟 2017-04-17 17:55:08 0 1 492