Quote:
it should be like this:
loop
get input from player 1
get input from player 2
do_something(player1);
do_something(player2);
do_other_stuff();
rest for some time
/loop
And then my do_something(Player &p, p1_input) would have a tremendous amount of statics and all kinds of spagetti-like switches...? (Example: I go to menu to balance the budget. Every time I press '+' it adds 1 to x. In the meanwhile, I would still have to get input from player 2 and do all the things that he wants. So, the only case I'm going to receive input from user(s) is in that main loop, right? Now I would have to remember the state of both players in my do_something -> statics?)