hark130 / sketchy-idea

Reusable, stand-alone, Linux code
GNU General Public License v3.0
0 stars 0 forks source link

SKID-9: Snake #23

Open hark130 opened 2 months ago

hark130 commented 2 months ago

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.