summaryrefslogtreecommitdiff
path: root/play.js
AgeCommit message (Collapse)Author
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
2023-12-10add exhaustion levy troopsteisuru
2023-12-10early forage logic (exhaust/deplete)teisuru
2023-12-10bugfixes cylinders and cssteisuru
2023-12-10update vassal graphicteisuru
2023-12-10update seat graphic 2teisuru
2023-12-10update seat graphicteisuru
2023-12-10lord seatsteisuru
2023-12-10favour and deplete initteisuru
2023-12-10boxes on mapteisuru
2023-12-10influence point markers on trackteisuru
2023-12-10init cities town fortress markersteisuru
2023-12-10victory_check initteisuru
2023-12-10victory_check markerteisuru
victory_check marker in rules.js and play.js
2023-12-10small fix play.jsteisuru