Commit graph

52 commits

Author SHA1 Message Date
5655326543 REFACTOR: extract item type methods from nested conditionals 2026-02-18 12:35:02 +07:00
7f05229104 GREEN: add characterization tests for legacy Gilded Rose code 2026-02-18 12:06:26 +07:00
cb38ddcd5d update readme 2026-02-10 12:48:51 +07:00
561e85217c Merge pull request GH-2 from gh/bowling-game
bowling game
2026-02-10 12:48:01 +07:00
a93a6abb28 REFACTOR: break down the logic into dedicated methods, tests cleaned up 2026-02-10 12:43:42 +07:00
8474b20e85 GREEN: calculate strike 2026-02-10 12:34:55 +07:00
9ca4accd7b RED: test one strike 2026-02-10 12:33:22 +07:00
7c24567bfa REFACTOR: extract spare checking logic 2026-02-10 11:55:31 +07:00
b6007c8115 GREEN: store rolls in a list and check for spare 2026-02-10 11:52:49 +07:00
f34c820c65 RED: test one spare 2026-02-10 11:39:05 +07:00
acf96ad482 REFACTOR: tests clean up 2026-02-10 11:36:11 +07:00
b4cdd039ae GREEN: save score state and add knocked pins on each roll 2026-02-10 11:24:12 +07:00
e4167c03a5 RED: test all ones 2026-02-10 11:22:23 +07:00
9a22a3e5fe GREEN: score() returns hardcoded 0 2026-02-10 11:21:13 +07:00
1f31a68df5 RED: test gutter game 2026-02-10 11:19:34 +07:00
131c2d4c48 add readme 2026-02-10 10:48:14 +07:00
8c18b21121 Merge pull request GH-1 from gh/roman-numerals-kata
roman numerals kata
2026-02-10 09:51:47 +07:00
6e75926f79 REFACTOR: split validation into value object 2026-02-10 09:38:58 +07:00
438221e2d7 GREEN: implement roman numerals contraints 2026-02-10 09:34:43 +07:00
216aa72d39 RED: test roman numerals contraints 2026-02-10 09:33:44 +07:00
5dfc85fc20 REFACTOR: organize tests into groups and add edge cases 2026-02-10 09:31:30 +07:00
5bf2839e33 GREEN: add conversion rules for 400. 500. 900, and 1000 2026-02-10 09:25:07 +07:00
ccfc795ee0 RED: test convert 400 (CD), 500 (D), 900 (CM), 1000 (M) 2026-02-10 09:24:03 +07:00
1b0336edeb GREEN: add convertion rules for 90 and 100 2026-02-10 09:21:10 +07:00
24cdceaa92 RED: test convert 90 to XC and 100 to C 2026-02-10 09:20:39 +07:00
dc6728bea5 GREEN: add conversion rule for 50 2026-02-10 09:18:47 +07:00
44566369d0 RED: test convert 50 to L 2026-02-10 09:18:11 +07:00
bef6a56d06 GREEN: add coversion rule for 40 2026-02-10 09:16:38 +07:00
e411e38a31 RED: test convert 40 to XL 2026-02-10 09:12:54 +07:00
b12821147d REFACTOR: apply DRY, remove magic numbers, add conversionRules domain 2026-02-10 09:12:34 +07:00
7eed3f8e2a GREEN: add roman symbol for 10 2026-02-10 08:50:50 +07:00
2117e4c193 RED: test convert 10 to X 2026-02-10 08:50:33 +07:00
da8f7bbfb1 GREEN: add roman symbol for 9 2026-02-10 08:49:39 +07:00
0a87dc96cb RED: test convert 9 to IX 2026-02-10 08:48:59 +07:00
f6d75f15e1 GREEN: add roman symbol for 8 2026-02-10 08:45:51 +07:00
b5a216ccea RED: test convert 8 to VIII 2026-02-10 08:44:55 +07:00
6ad0556fcf GREEN: add roman symbol for 7 2026-02-10 08:44:18 +07:00
44845ed71b RED: test convert 7 to VII 2026-02-10 08:43:57 +07:00
445ba862ee GREEN: add roman symbol for 6 2026-02-10 08:43:00 +07:00
dfa3b66ccb RED: test convert 6 to VI 2026-02-10 08:42:02 +07:00
c1a5ed7ed7 REFACTOR: extract logic and remove loop 2026-02-10 08:39:34 +07:00
5c9962eb61 GREEN: return hardcoded "IV" for 4 2026-02-10 08:22:39 +07:00
87b7e79462 RED: test convert 4 to IV 2026-02-10 08:20:05 +07:00
1cfd2199ee GREEN: return hardcoded "V" for 5 2026-02-10 08:19:23 +07:00
0de7f67080 RED: test convert 5 to V 2026-02-10 08:17:06 +07:00
ba924edde7 GREEN: add simple logic to handle 1-3 2026-02-10 08:14:06 +07:00
6f5b2ab2f5 RED: test convert 3 to III 2026-02-10 08:12:28 +07:00
48b8967e0f GREEN: return hardcoded "II" for 2 2026-02-10 08:11:12 +07:00
a4e6689427 RED: test converts 2 to II 2026-02-10 08:10:32 +07:00
0faa1de47c GREEN: return hardcoded "I" for 1 2026-02-10 08:08:35 +07:00