Commit Graph
4 Commits
Author SHA1 Message Date
uzairarslan fc9ceaad09 Split update logic into one updater class per item type
ItemUpdater has the normal rules. Brie, backstage passes and Sulfuras
subclass it and override only what differs. GildedRose picks the right
one through updater_for. Tests and approved output unchanged.
2026-09-24 03:21:18 +05:00
uzairarslan 19011580f5 Extract constants and return early for Sulfuras
No behaviour change. Named the item strings and the 0/50 bounds, moved
the body into _update_item and return early for Sulfuras so the rest of
the ladder only deals with items that actually change.
2026-09-24 03:21:18 +05:00
Radek Simko 4a7ffc291e Remove extra whitespaces 2015-06-27 08:08:50 +01:00
emilybache 567c27854a Removed all the code except for the GildedRose kata from this repo 2013-06-10 14:42:41 +02:00