danieldesira / DanielsConnect4

Connect4 implementation in TypeScript ported from JavaScript code written prior to 2013
GNU General Public License v2.0
0 stars 0 forks source link

Key bindings to move coin #42

Closed danieldesira closed 1 year ago

danieldesira commented 1 year ago

Listen for the following keys: A|a|left arrow D|d|right arrow

Might need to introduce a new property: currentCoinColumn The property would then need to be synced across keyboard and mouse move events.

danieldesira commented 1 year ago

To be done by end of the month and included in 0.3.1 beta.

danieldesira commented 1 year ago

Done on Same Device Play. Now, we need to fix Network Play.

danieldesira commented 1 year ago

Also added spacebar to place the coin and escape to exit game.

danieldesira commented 1 year ago

Found minor issue with right limit: it is set to column 10 rather than relying on BoardLogic.columns. Issue will be solved in ui_bugs branch and will be closed again upon merging with master.