Commit graph

76 commits

Author SHA1 Message Date
Andreas Koepf
ac1f889d83 import FutoshikiDataset & update GALLERY 2025-02-15 21:26:15 +01:00
Andreas Köpf
ddb334ba20 Merge pull request #60 from olliestanley/feature/futoshiki-generator
Add Futoshiki puzzle generator
2025-02-15 21:24:15 +01:00
Zafir Stojanovski
95d367bc17 fix score function and add test 2025-02-15 16:09:08 +01:00
Oliver
d42b84ef4c Add more instruction to generated questions 2025-02-15 13:47:54 +00:00
Zafir Stojanovski
b8036a4b7d fix prompt 2025-02-15 10:31:03 +01:00
Andreas Koepf
14f67cb7e7 fix handling of walls, add unit test 2025-02-14 23:29:17 +01:00
Andreas Koepf (aider)
e106bd311c refactor: Use Path.open() to read rush_18k.txt line by line 2025-02-14 17:41:09 +01:00
Andreas Koepf
1d1a0367d4 add RushHour to games/__init__.py 2025-02-14 17:35:14 +01:00
Andreas Koepf (aider)
d5ce2bfdf5 feat: Add score_answer method to RushHourDataset with input validation 2025-02-14 17:33:01 +01:00
Andreas Koepf (aider)
8278a9521c test: Add comprehensive unit tests for RushHourDataset 2025-02-14 17:29:43 +01:00
Andreas Koepf (aider)
0eecc6c450 feat: Add RushHourConfig and RushHourDataset for procedural Rush Hour puzzle generation 2025-02-14 17:26:24 +01:00
Andreas Koepf
254f866146 refactor: Remove commented TODOs and example code from rush_hour.py 2025-02-14 17:26:22 +01:00
Andreas Koepf
417e71cd17 add unit test for RushHour Board::perform_moves() 2025-02-14 16:59:19 +01:00
ironbound
bcf6344125 input check 2025-02-14 16:00:22 +01:00
Iron-Bound
4fffde10f4 Merge branch 'open-thought:main' into rush_hour 2025-02-14 15:31:17 +01:00
Andreas Koepf
b898dba76c more pythonic formatting 2025-02-14 12:04:40 +01:00
Andreas Koepf
80719c7201 move game_of_life from games to algorithmic 2025-02-14 07:26:47 +01:00
ironbound
4cb68b29e1 working puzzle 2025-02-13 22:09:14 +01:00
Oliver
b730709e34 formatting 2025-02-13 19:00:18 +00:00
Oliver
c716affdd0 Correct string formatting 2025-02-13 18:52:48 +00:00
ironbound
864f1437f7 documented code 2025-02-13 19:15:13 +01:00
Andreas Koepf
0e8bf42ddd use json formatting for initial state of game-of-life board 2025-02-13 19:06:20 +01:00
Oliver
38eab5394c Merge branch 'main' into feature/futoshiki-generator 2025-02-13 17:58:45 +00:00
Rich Jones
55b75602ed json gol 2025-02-13 13:25:38 +01:00
ironbound
6cb3d401dc v1 bounds checking 2025-02-12 05:13:10 +01:00
ironbound
0d70a19399 working board 2025-02-11 19:41:45 +01:00
Oliver
a53073278a Remove rng param 2025-02-09 21:26:03 +00:00
Oliver
0627f2b02d Greatly speed up solver 2025-02-09 21:23:53 +00:00
Andreas Köpf
17ea7dd975 Merge pull request #89 from JeanKaddour/feat-swap-knights-puzzles
Feat swap knights puzzles
2025-02-09 00:33:48 +01:00
Andreas Koepf
4e49806d22 add ArcAgiDataset class, fix score_entry() metadata params 2025-02-08 23:18:18 +01:00
Jean Kaddour
3fec09c9ca chore: run isort 2025-02-08 15:53:29 +00:00
Jean Kaddour
ff6d8b08cf feat: add knight_swap 2025-02-08 15:38:45 +00:00
Andreas Koepf
1cf8981299 add CONTRIBUTING.md, simplify README.md 2025-02-08 15:59:44 +01:00
Jean Kaddour
faaede6e8d refactor: add more docstrings and examples to tsumego 2025-02-07 23:02:57 +00:00
Andreas Koepf
6883a5b8c6 adapt answer format to numbering in board output display 2025-02-07 15:54:01 +01:00
Andreas Koepf
18a9f3343e expect full entry for score_answer 2025-02-07 15:26:39 +01:00
Andreas Koepf
b448f553a4 Add GO hints, legend, disallow numeric answer, store expected string answer 2025-02-07 15:20:00 +01:00
Jean Kaddour
741118eb52 feat: add tsumego 2025-02-07 11:22:33 +00:00
Andreas Köpf
1b49713116 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
Oliver
26439cb943 Finish first draft futoshiki solver/gen 2025-02-07 00:09:35 +00:00
Oliver
1d88796c8d Revert "Experiment with alternative solving/generation approach"
This reverts commit f91ee8a5b7.
2025-02-07 00:06:38 +00:00
Oliver
f91ee8a5b7 Experiment with alternative solving/generation approach 2025-02-06 23:58:09 +00:00
Zafir Stojanovski
2dd53241e5 remove unmodified dunder methods 2025-02-06 22:56:11 +01:00
Oliver
af16670c01 Initial draft of Futoshiki generator 2025-02-04 17:42:57 +00:00
Joe Norton
0d217ead76 add dependency 2025-02-02 16:46:07 -08:00
Joe Norton
b5b1ea1e31 add toh score_answer 2025-02-02 16:37:20 -08:00
Andreas Koepf
db65e8451b 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
26f72f481c cap N at 12 2025-02-02 16:52:36 +01:00
Zafir Stojanovski
1ca472dbd7 n queens 2025-02-02 16:47:21 +01:00
Andreas Köpf
e40581a955 Merge pull request #33 from joenorton/tower_of_hanoi
adds Tower of Hanoi
2025-01-31 11:22:06 +01:00