怎么实现蛇的自动行走, 数组实现struct snake{int x[N];int y[N];int node;}
c的没写过,c++的倒是有,你要是想看,给你一份代码
https://github.com/jiafanxue/Game/tree/master/SnakeGame