Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDebug panel keyboard shortcuts for selecting among activePlayers and end turn/end phase/end stage #771
Comments
|
Good idea! |
|
For some context re: 2, if someone would like to pick this up, this is where the event buttons in the debug panel are currently declared: boardgame.io/src/client/debug/main/Main.svelte Lines 95 to 105 in d8948d3 We are already reserving a keyboard shortcut for the events, so we should be able to wire them up without too many complications. We could potentially use the
Would also be cool to fix 1 — I’ll see if I can figure out why that’s happening. |


As far as I can tell, the debug panel cannot issue moves for activePlayers other than currentPlayer (even though it seems like you should be able to click on the numbered boxes under “Players” to select other players). It would be nice to have this capability, and also to have keyboard shortcuts to select amongst these activePlayers.
It would be great to have keyboard shortcuts for end turn/end phase/end stage. The debug panel has been super helpful for learning bgio, and keyboard shortcuts would make experience even more efficient.