3 ms·
The tutorial game seems to have a bug. https://google.github.io/boardgame.io/#/tutorial https://google.github.io/boardgame.io/#/tutorial Sometimes, turns are
by nhooyr 9y ago
The tutorial game seems to have a bug.
https://google.github.io/boardgame.io/#/tutorial https://google.github.io/boardgame.io/#/tutorial
Sometimes, turns are repeated. E.g. if a square is clicked and marked 0, then the next square that is clicked is also marked 0. Only happens sometimes though and I have only produced it on the first turn. I'm not sure what the cause is.
- roberto 9y agoSeems like if you click on an already marked square it still counts as a turn, so if you double click you get this behavior.
- xhroot 9y agoYeah, I filed https://github.com/google/boardgame.io/issues/9 https://github.com/google/boardgame.io/issues/9. The source in github does check if the cell is filled [1] but the demo code must be from an earlier version that didn't. [1] https://github.com/google/boardgame.io/blob/master/examples/tic-tac-toe/tic-tac-toe.js#L81 https://github.com/google/boardgame.io/blob/master/examples/...