summaryrefslogtreecommitdiff
path: root/rules.ts
AgeCommit message (Collapse)Author
13 daysAdd missing government_to_center to track_icon_to_track_id_map.Tor Andersson
13 daysFix swap_card_tableau_hand use of selected_cards array.Tor Andersson
When we changed to keep the currently selected card in the hand while executing it, this function stopped working correctly.
13 daysfix remove_blank_markers state when no blank markers on tracksFrans Bongers
13 daysfix remove_attack_from_fronts stateFrans Bongers
13 dayspossible fix for get_fronts_to_add_to ("not" as single front)Tor Andersson
13 daysFix iterators of hero_points and fronts.Tor Andersson
13 daysfix get_fronts_closest_toTor Andersson
13 daysFix bugs.Tor Andersson
13 daysPut pool after factions in medallions and hero_points lists.Tor Andersson
13 daysrefactor: FactionId to numberFrans Bongers
13 daysrefactor: FrontId to numberFrans Bongers
13 daysMore tweaks.Tor Andersson
13 daysremoved code no longer needed for compatabilityFrans Bongers
2025-03-19Tweak log messages.Tor Andersson
Loss result to "Fascist" (instead of "None"). Use correct faction in trash_card.
2025-03-11fix: game stuck when moving track at maxFrans Bongers
2025-03-11auto resolve fascist test hero_points & draw card and allow morale bonus ↵Frans Bongers
skip if no valid options
2025-03-11More UI tweaks.Tor Andersson
2025-03-11Tweak some prompts. Remove unused buttons from play.jsTor Andersson
2025-03-11fix for possible typo in card10_event2Tor Andersson
2025-03-11Set source to 'player_event' for event effects.Tor Andersson
2025-03-11Rename "add strength to a Front" to "Support a Front".Tor Andersson
Matches terminology used in rulebook.
2025-03-11Add specific track trigger prefixes.Tor Andersson
2025-03-10Add prompt prefix in common game_view function.Tor Andersson
2025-03-10Add hidden bag of glory option.Tor Andersson
2025-03-09keep card selected when played to tableauFrans Bongers
2025-03-09List morale bonus icons on prompt.Tor Andersson
2025-03-09Add prefix to fascist turn.Tor Andersson
2025-03-09last refactor for clicking tracks instead of standeesFrans Bongers
2025-03-09replace buttons for activate icon stateFrans Bongers
2025-03-09explicitly add confirm_turn step for fascist eventsFrans Bongers
2025-03-09code improvements resolving spend hero pointsFrans Bongers
2025-03-09resolve spend hero points state immediatelyFrans Bongers
2025-03-09move event card to trash after resolving actionFrans Bongers
2025-03-08Remove no-op "Move a Track" and "Turn on Bonus" buttons.Tor Andersson
2025-03-08Move directly on track instead of Up/Down buttons.Tor Andersson
2025-03-08Prefix prompt with event names.Tor Andersson
2025-03-08New client and client data processing tools.Tor Andersson
2025-03-02Some rules.ts changes for new client.Tor Andersson
Remove unused properties from view object. Use separate fascist_cards and trash view properties. Remove common selectable_cards property. Use game.fascist when resolving fascist event and test. - prevent saving undo states (no choices here) - color header brown for active player (not their own faction) Use abbreviated player order in view.player_order.
2025-03-01Fix restoring state in pop_undo (don't call next).Tor Andersson
2025-03-01Fix intermittent bug with undo.Tor Andersson
2025-02-28Don't clobber readonly "roles" array when using it as active player list.Tor Andersson
2025-02-22refactor: rename leaf to state nodeFrans Bongers
2025-02-22fix: resolving node with chossing Momentum medallionFrans Bongers
2025-02-16multiactive choose card stateFrans Bongers
2025-02-16initial multiactive updatesFrans Bongers
2025-02-09bugfixesFrans Bongers
2025-02-01bugfixes and testfeedbackFrans Bongers
2025-01-24Disable button if icon cannot be resolvedFrans Bongers
2025-01-24bugfixes and improvementsFrans Bongers
2025-01-08bugfixesFrans Bongers