snake-ai icon indicating copy to clipboard operation
snake-ai copied to clipboard

a snake AI written in python

Results 3 snake-ai issues
Sort by recently updated
recently updated
newest added

File "snake.py", line 262, in win.addch(food/WIDTH, food%WIDTH, '@') TypeError: integer arg ument expected, got float

Cound I ask something about this? Having interest on your codes, There's minor problems with Py3.6 like below. I've been trying to get it but didn't make it yet. thanks....

有时候蛇头经过一个食物但是不吃,最后就死循环了,应该是倒数第二个空