Have a server that hosts a game board (2d array) that keeps track of a snake (linked-list). The server should send the current board (with snake drawn onto the board) and the client should send back the next direction the snake should move. Start with a fixed size snake that's just able to move around the board. Eventually you should be able to add apples to the board and have the snake grow.
A "training" exercise from IDF...
Have a server that hosts a game board (2d array) that keeps track of a snake (linked-list). The server should send the current board (with snake drawn onto the board) and the client should send back the next direction the snake should move. Start with a fixed size snake that's just able to move around the board. Eventually you should be able to add apples to the board and have the snake grow.