Commit Graph
11 Commits
Author SHA1 Message Date
tiennm99 ffd7577a65 fix: Z-pattern logic, eliminate code duplication, fix tests
- Fix Z-pattern to use proper 2-turn path (H-V-H and V-H-V scanning)
  instead of single midpoint which only duplicated L-pattern behavior
- Eliminate ~390 lines of duplicated pattern-matching code from
  PikachuGame.js by delegating to PikachuGameLogic via shared board ref
- Fix removeCards to reset type=0 so pattern matching works after removal
- Fix Jest config: remove invalid preset, add ESM support for Windows
- Rename log.js to log.cjs for CommonJS compatibility with ESM project
- Fix test expectations to account for pattern priority and border routing
2026-04-04 12:50:30 +07:00
tiennm99 73239c1e27 test: init tests 2025-07-17 14:16:06 +07:00
tiennm99 b0ebabb372 fix: logic 2025-07-17 13:36:27 +07:00
tiennm99 7f7ebe6753 feat: init claude, debug line 2025-07-17 13:28:01 +07:00
tiennm99 66d8b70ed1 feat: cleanup, fix U pattern 2025-07-16 23:45:26 +07:00
tiennm99 f9f3a9b355 feat: init simple rule 2025-07-16 23:19:12 +07:00
tiennm99 fb691216af Add credits section to README
Added a 'Credit' section to the README with links to the rule document and asset pack used in the project.
2025-07-16 23:13:05 +07:00
tiennm99 e80b412f02 feat: add assets 2025-07-16 23:11:19 +07:00
tiennm99 0b4614b99e feat: convert ts to js 2025-07-16 22:43:51 +07:00
tiennm99 db0a199940 chore: init 2025-07-16 22:30:16 +07:00
Tien Nguyen MinhandGitHub d1fbb908a9 Initial commit 2025-07-16 22:11:29 +07:00