summaryrefslogtreecommitdiff
path: root/rules.js
AgeCommit message (Collapse)Author
2023-12-14handle running out of cards gracefullyMischa Untaga
2023-12-12Strategy Phase: don't overcommit, auto-match/defer if opp can't afford otherwiseMischa Untaga
2023-12-12Allow "subroutine" calls where events can invoke other events.Tor Andersson
For use with The Winning Plan to play the chosen event immediately. Split vm_draw_6_play_1_place_any_on_top_of_draw into two instructions. First instruction draws the 6 and prompts to play an event. Calling the new event stashes the existing VM state, calls the new event code. When the new event returns with vm_return, we find the stashed state, restore it, and vm_next to execute the second instruction. The second instruction does the place on top/bottom of deck part. reworked event subroutine calls
2023-12-12events can't nest so no need for stashing old vm.drawTor Andersson
2023-12-11fix automatic state selection (account for opponent cubes too!)Tor Andersson
2023-12-11streamline final votingTor Andersson
2023-12-11clicky congressTor Andersson
2023-12-11use card_select when picking card to play for eventTor Andersson
Winning Plan and draw 2 play 1 events.
2023-12-11Add more undo points when accepting die rolls.Tor Andersson
2023-12-11Re-roll / Accept instead of Re-roll / Next.Tor Andersson
2023-12-11Strategy Phase: Done -> Commit.Tor Andersson
2023-12-11update view schema for temporary drawn and deck panel displaysMischa Untaga
2023-12-11Add temporary "drawn" and "deck" panel displays.Tor Andersson
Use this to show drawn cards while choosing cards for events that draw X cards, play one, and put the rest on top / bottom. Use stack of "draw" arrays in VM to handle nested events. NOTE: This is not necessary now, but will be if we change the Winning Moves event to play its event immediately.
2023-12-11Reconsideration rule change for The Civil War effectMischa Untaga
2023-12-11Clear undo in Strategy Phase.Tor Andersson
2023-12-09deprecate planning_phaseMischa Untaga
2023-12-09combine cleanup and planningMischa Untaga
2023-12-09[buttons] instead of [next]Mischa Untaga
2023-12-09don't lie about number of cards drawnMischa Untaga
2023-12-09fix White Supremacy and the Suffrage MovementMischa Untaga
2023-12-08fix The Great 1906 San Francisco EarthquakeMischa Untaga
2023-12-08Inline data.jsTor Andersson
2023-12-08State not States CardMischa Untaga
2023-12-06shorter final voting prompt and loggingMischa Untaga
2023-12-06final voting promptsMischa Untaga
2023-12-06disable bypassMischa Untaga
2023-12-06final voting reworkMischa Untaga
2023-12-06Extra event cost not for Strategy / States cardsMischa Untaga
2023-12-06victory check after vm_replaceMischa Untaga
2023-12-06Add second half of WI state to selectable area.Tor Andersson
2023-12-04remove old lineMischa Untaga
2023-12-04fix wordingMischa Untaga
2023-12-04popup to confirm card selectionMischa Untaga
2023-12-04clarify which card was selected to play as eventMischa Untaga
2023-12-04give details on the target states when adding cubesMischa Untaga
2023-12-04show how many cubes remainingMischa Untaga
2023-12-04fix final voting reroll logicMischa Untaga
2023-12-04allow campaigners not to move during free travelsMischa Untaga
2023-12-04account for final voting drmsMischa Untaga
2023-12-04offer intelligent reroll suggestions during final votingMischa Untaga
2023-12-04show how many sixes we rolledMischa Untaga
2023-12-03log actual changes in buttons and congressMischa Untaga
2023-12-03log State and Strategy cardsMischa Untaga
2023-12-03War In Europe extra campaigning costMischa Untaga
2023-12-03remove trailing period after iconMischa Untaga
2023-12-02Allow Undo for "Next" button after rolling.Tor Andersson
2023-12-02Tweak log headers.Tor Andersson
2023-12-02fix final voting pluralization errorMischa Untaga
2023-12-02sort claimed cardsMischa Untaga
2023-12-02fix mutable array bugsMischa Untaga