jkomoros / boardgame

An in-progress framework in golang to easily build boardgame Progressive Web Apps
Apache License 2.0
31 stars 4 forks source link

A way to disable moves.SeatPlayer in debug settings #774

Open jkomoros opened 4 years ago

jkomoros commented 4 years ago

Games that use moves.SeatPlayer get much harder to test, you need to fake multiple players.

There should be some way to eithe rhave the engine pretend to not do SeatPlayer (perhaps with an admin toggle) or to just automatically seat n players for those debug scenarios.