Implementing computer player
Posted: 15 June 2020, 00:55
Hi there,
For the current game I'm implementing I would like to add the option of playing against a computer player. There will be some simple automata logic associated with it.
Currently I can do this by not having the computer player treated as a different player (i.e. a different entry in Player table http://en.doc.boardgamearena.com/Game_d ... bmodel.sql) - and just send the modify the game state. But wondering if there's a better way to do it. And example would be similar to how in tutorial game of "Can't Stop" you can play with the computer player.
Would there be any tips on that? Reference to documentation?
Thank you,
Boris
For the current game I'm implementing I would like to add the option of playing against a computer player. There will be some simple automata logic associated with it.
Currently I can do this by not having the computer player treated as a different player (i.e. a different entry in Player table http://en.doc.boardgamearena.com/Game_d ... bmodel.sql) - and just send the modify the game state. But wondering if there's a better way to do it. And example would be similar to how in tutorial game of "Can't Stop" you can play with the computer player.
Would there be any tips on that? Reference to documentation?
Thank you,
Boris