+ 3

Board Game Question

I’m designing a cooperative board game. I need to program a simulation of this game to test it and strike the right rules balance. Has anyone done something like this before? Incorporating player decisions could be a challenge.

19th Feb 2018, 4:07 AM
Mike Streck
Mike Streck - avatar
1 Respuesta
+ 1
I have done something similar to this. I started with a main function that would loop through turns by calling another function. The decision making logic may be complicated but it is possible using if then or switch case statements. I would start by first drawing a flow diagram of how the game operates, what information is needed to make decisions, and the logic behind the decisions. You can then start to run the simulation and see if the game play is as expected. I usually write some results to a log file and keep track of statistics, for example the win/loss percentage or the average score based on certain decision making logic. This sounds like a fun project, good luck!
20th Feb 2018, 3:24 AM
Adam Schmitt
Adam Schmitt - avatar