summaryrefslogtreecommitdiff
path: root/play.js
AgeCommit message (Collapse)Author
2024-04-02L12C Commission of Arrayteisuru
2024-02-12Y15 Naval blockade p1teisuru
2024-01-09Event L9, L16, Y22teisuru
2024-01-08Event L28, Y36teisuru
2024-01-02Event L9, Y3, Y9 + commentsteisuru
2024-01-01Use "card2" elements when showing hover card in current card display.Tor Andersson
2024-01-01Fix typo when constructing command cards for current card display.Tor Andersson
2023-12-23Event Y4, Y16teisuru
2023-12-21Use HTML text for Arts of War cards (to improve legibility).Tor Andersson
2023-12-21Event L10, L18, Y14, Y34, Y35,teisuru
2023-12-14fix L31teisuru
2023-12-13Events Y21, Y23, Y27, Y31teisuru
2023-12-12Events L23,L24,L25teisuru
2023-12-10Update to newest RTT server framework.Tor Andersson
2023-12-10Y10 agitatorsteisuru
2023-12-10Capability L30 merchantsteisuru
to be improved
2023-12-10Capability Y12teisuru
2023-12-10capability Y16, Y18teisuru
2023-12-10end tides of war + heraldsteisuru
2023-12-10Fix for loops < last_thing to <= last thingTor Andersson
2023-12-10Tweak vassal state handling.Tor Andersson
2023-12-10Use map structures instead of arrays and bit packing.Tor Andersson
There are 28 lords, so packing multiple bits per lord into one word won't work. Most lords will never be on the map, so carrying around their asset/force/routed data is wasteful. Use map structures instead, since at most 6 lords will be on the map at once, and at most 13 on the map + calendar.
2023-12-10Use accessors in play.jsTor Andersson
2023-12-10Implemented Event L114 - Scots.Troy Nordine
2023-12-10Optimize and fix Supply.Tor Andersson
2023-12-10fix fix play.js on data.lords.seatTor Andersson
2023-12-10fix play.js on data.lords.seatteisuru
2023-12-10oops! display battle/non-battle vassal confusionTor Andersson
2023-12-10dynamic favicons based on player roleTor Andersson
TODO: ... based on current heir
2023-12-10Fix P1/P2 vs York/Lancaster issues.Tor Andersson
P1 and P2 are dynamically set to either York or Lancaster. Only use these to determine play order during steps. Use YORK or LANCASTER for everything else. Bugs fixed: * P1/P2 aliases were not set after setup is done, leaving them unset for first action since load_state doesn't call update_alias unless the state object changes. * goto_command_activation should only end after both players exhaust, not as soon as Lancaster has run out of cards. * current_hand was returning opponents hand if rebel is not York.
2023-12-10Fix exile marker display.Tor Andersson
2023-12-10More set functions.Tor Andersson
2023-12-10Use common routed_vassals set (instead of one set per lord).Tor Andersson
2023-12-10Fix indentation.Tor Andersson
2023-12-10Remove useless semicolons.Tor Andersson
2023-12-10git stripspaceTor Andersson
2023-12-10Pillage implementation.Troy Nordine
2023-12-10Cleaned up some issues.Troy Nordine
2023-12-10Initial coding. Still needs testing.Troy Nordine
2023-12-10Added Tax and hid lord seats not in game.Troy Nordine
2023-12-10added paying lords&vassals. fixed muster lord. +Troy Nordine
2023-12-10some incremental updates.troy.nordine
2023-12-10Vassal Initial implementationTroy Nordine
2023-12-10Supply cleaned up and working.Troy Nordine
2023-12-10fix parley favour updateteisuru
2023-12-10Fixes for Parley.Troy Nordine
2023-12-10updated influence and towns etc.Troy Nordine
2023-12-10Battle sequence implementation.Troy Nordine
2023-12-10favour marker on mapteisuru
2023-12-10debug sailteisuru
wrong list of locale for way_sea_3