Commit graph

64 commits

Author SHA1 Message Date
Zafir Stojanovski
b46e445ada fix score function and add test 2025-02-15 16:09:08 +01:00
Zafir Stojanovski
358b58355c fix prompt 2025-02-15 10:31:03 +01:00
Andreas Koepf
a5d784c6ef fix handling of walls, add unit test 2025-02-14 23:29:17 +01:00
Andreas Koepf (aider)
8ff82bb5a6 refactor: Use Path.open() to read rush_18k.txt line by line 2025-02-14 17:41:09 +01:00
Andreas Koepf
05056ffb50 add RushHour to games/__init__.py 2025-02-14 17:35:14 +01:00
Andreas Koepf (aider)
316aebfadc feat: Add score_answer method to RushHourDataset with input validation 2025-02-14 17:33:01 +01:00
Andreas Koepf (aider)
ca5e23e195 test: Add comprehensive unit tests for RushHourDataset 2025-02-14 17:29:43 +01:00
Andreas Koepf (aider)
5750bd29a7 feat: Add RushHourConfig and RushHourDataset for procedural Rush Hour puzzle generation 2025-02-14 17:26:24 +01:00
Andreas Koepf
11353a3120 refactor: Remove commented TODOs and example code from rush_hour.py 2025-02-14 17:26:22 +01:00
Andreas Koepf
27a945dd07 add unit test for RushHour Board::perform_moves() 2025-02-14 16:59:19 +01:00
ironbound
948011e1b3 input check 2025-02-14 16:00:22 +01:00
Iron-Bound
0b9ad81f28
Merge branch 'open-thought:main' into rush_hour 2025-02-14 15:31:17 +01:00
Andreas Koepf
438f9425c6 more pythonic formatting 2025-02-14 12:04:40 +01:00
Andreas Koepf
8960d66beb move game_of_life from games to algorithmic 2025-02-14 07:26:47 +01:00
ironbound
4423f8706b working puzzle 2025-02-13 22:09:14 +01:00
ironbound
675462c41e documented code 2025-02-13 19:15:13 +01:00
Andreas Koepf
9ae8a29ff2 use json formatting for initial state of game-of-life board 2025-02-13 19:06:20 +01:00
Rich Jones
0adde9853f json gol 2025-02-13 13:25:38 +01:00
ironbound
071d790e1c v1 bounds checking 2025-02-12 05:13:10 +01:00
ironbound
2e2c5744df working board 2025-02-11 19:41:45 +01:00
Andreas Köpf
8132cd6d90
Merge pull request #89 from JeanKaddour/feat-swap-knights-puzzles
Feat swap knights puzzles
2025-02-09 00:33:48 +01:00
Andreas Koepf
127f505798 add ArcAgiDataset class, fix score_entry() metadata params 2025-02-08 23:18:18 +01:00
Jean Kaddour
a92692da57 chore: run isort 2025-02-08 15:53:29 +00:00
Jean Kaddour
71e0fb5418 feat: add knight_swap 2025-02-08 15:38:45 +00:00
Andreas Koepf
f2e02d6d08 add CONTRIBUTING.md, simplify README.md 2025-02-08 15:59:44 +01:00
Jean Kaddour
64b96b5fff refactor: add more docstrings and examples to tsumego 2025-02-07 23:02:57 +00:00
Andreas Koepf
4eff39dde5 adapt answer format to numbering in board output display 2025-02-07 15:54:01 +01:00
Andreas Koepf
3b19bc8469 expect full entry for score_answer 2025-02-07 15:26:39 +01:00
Andreas Koepf
81cb7aa42b Add GO hints, legend, disallow numeric answer, store expected string answer 2025-02-07 15:20:00 +01:00
Jean Kaddour
f625b9a68f feat: add tsumego 2025-02-07 11:22:33 +00:00
Andreas Köpf
426fa22fcc
Sokoban without pygame (#77)
* add minified version of https://github.com/xbandrade/sokoban-solver-generator

---------

Co-authored-by: Rich Jones <miserlou@gmail.com>
2025-02-07 11:57:53 +01:00
Zafir Stojanovski
b5a820a8d9 remove unmodified dunder methods 2025-02-06 22:56:11 +01:00
Joe Norton
9841f64ccd add dependency 2025-02-02 16:46:07 -08:00
Joe Norton
8222823c28 add toh score_answer 2025-02-02 16:37:20 -08:00
Andreas Koepf
057b9f2034 auto-load simple/intermediate integration tasks, stable order for n_queens (set was not stable) 2025-02-02 22:18:54 +01:00
Zafir Stojanovski
1912c571f9 cap N at 12 2025-02-02 16:52:36 +01:00
Zafir Stojanovski
c74b600085 n queens 2025-02-02 16:47:21 +01:00
Andreas Köpf
61293fe4a5
Merge pull request #33 from joenorton/tower_of_hanoi
adds Tower of Hanoi
2025-01-31 11:22:06 +01:00
Joe Norton
19c491aaf8 add example text 2025-01-31 01:14:45 -08:00
Joe Norton
b61bb23620 linter 2025-01-31 00:05:33 -08:00
joesharratt1229
37375f08a9 added linting checks 2025-01-31 07:19:55 +00:00
Joe Norton
4bf99d3e0b adds Tower of Hanoi
creates game file & test file, modifies games init to add toh
2025-01-30 23:16:06 -08:00
EC2 Default User
131e0d8f19 added countdown score answer impl 2025-01-31 06:42:25 +00:00
Andreas Koepf (aider)
b0e70008ea fix: Escape markdown code blocks with quadruple backticks in gallery generation 2025-01-31 00:29:03 +01:00
Andreas Koepf
a577f7cdf6 use sorted() for repeatable generation outputs (e.g. GALLERY.md) 2025-01-30 23:33:43 +01:00
Andreas Koepf
ebb88e6c6a lint 2025-01-30 22:55:04 +01:00
Rich Jones
fc81bbec06 game of life via cellpylib 2025-01-30 20:08:44 +01:00
Andreas Koepf
31a5b5cb76 formatting 2025-01-25 18:51:28 +01:00
Andreas Koepf (aider)
3fc0c672a0 refactor: Extract candidate expression generation into separate method 2025-01-25 01:54:32 +01:00
Andreas Koepf (aider)
63d42e1af8 refactor: Add retry loop with max attempts for countdown expression generation 2025-01-25 01:52:43 +01:00