andrewjmeier / TableTop.JS

MIT License
2 stars 0 forks source link

added new moveType #63

Closed andrewjmeier closed 8 years ago

andrewjmeier commented 8 years ago

This is a new move type that works for games like connect 4 and tic tac toe. Unlike moveTypeManual, moveTypePlaceToken does not have a token click to start the move. The user simply picks a spot on the board and clicks a tile and then a token is placed there.

This changes the way that tokens are drawn (because we don't draw them all at the beginning of the game) and the way the game determines if a valid move has been made.

ghost commented 8 years ago

lgtm @andrewjmeier