For my first game I'm trying a simple card game. On a player's turn they can play a card to the middle of the table, to their own area of the table, or both, or pass. I've got a few ideas for how to handle this, and would appreciate guidance or advice.
Idea 1: multiple game states. state1 has no cards played, and the player can take either action, leading to state2 or state3. state2 and state3 have one of the two actions taken, with the other action available. all three states have a 'pass' action, which leads to the same state as taking an action in state2 or state3.
Idea 2: one game state for the player's turn, which can loop back to itself as many times as they make legal plays (which will be 0, 1, or 2 times)
Idea 3: a more dynamic user interface, so that the player only takes one action, and that action can include 0 or 1 cards played to each of the two locations.
Idea 4: ???
Idea 1: multiple game states. state1 has no cards played, and the player can take either action, leading to state2 or state3. state2 and state3 have one of the two actions taken, with the other action available. all three states have a 'pass' action, which leads to the same state as taking an action in state2 or state3.
Idea 2: one game state for the player's turn, which can loop back to itself as many times as they make legal plays (which will be 0, 1, or 2 times)
Idea 3: a more dynamic user interface, so that the player only takes one action, and that action can include 0 or 1 cards played to each of the two locations.
Idea 4: ???