canhnd58 / duosnake

Game of one snake is too easy. How about game of two snakes?
https://canhnd58.github.io/duosnake/
2 stars 0 forks source link

Refactor class Board and Snake #25

Open canhnd58 opened 3 years ago

canhnd58 commented 3 years ago

Cell state is updated by methods of both Board and Snake. Should only be managed by Board.