Exemplo n.º 1
0
func Reset(board *snake.Board) Handler {
	return ModifyAndWrite(board, func() {
		board.Initialize()
	})
}