Commit graph

85 commits

Author SHA1 Message Date
Oliver
fa773115b9 Tweak mini sudoku config 2025-02-18 18:43:19 +00:00
Oliver
32928bd77b Tweak num_empty logic 2025-02-18 18:36:12 +00:00
Oliver
9e3f4e806a Ensure unique mini sudokus 2025-02-18 18:31:30 +00:00
Oliver
c512d86a86 Cleanup question & add scoring for mini sudoku 2025-02-17 18:37:07 +00:00
Andreas Koepf
2cbaab2918 fix question templates 2025-02-16 23:04:24 +01:00
joesharratt1229
0efb4e0192 restrcutured maze prompt template 2025-02-16 18:26:24 +00:00
joesharratt1229
ef621fff30 updated tower of hanoi question template 2025-02-16 17:54:33 +00:00
joesharratt1229
262dcd08f8 updated countdown question template 2025-02-16 17:53:54 +00:00
Andreas Koepf
3f98afe47d more tolerant parsing of futoshiki answers 2025-02-16 14:23:40 +01:00
Andreas Koepf
f1bd5ef493 import FutoshikiDataset & update GALLERY 2025-02-15 21:26:15 +01:00
Andreas Köpf
fe0f01c318
Merge pull request #60 from olliestanley/feature/futoshiki-generator
Add Futoshiki puzzle generator
2025-02-15 21:24:15 +01:00
Zafir Stojanovski
b46e445ada fix score function and add test 2025-02-15 16:09:08 +01:00
Oliver
b14ab8ad6f Add more instruction to generated questions 2025-02-15 13:47:54 +00: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
Oliver
fe55ea21dc formatting 2025-02-13 19:00:18 +00:00
Oliver
c018e3697a Correct string formatting 2025-02-13 18:52:48 +00: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
Oliver
39ca150f2b Merge branch 'main' into feature/futoshiki-generator 2025-02-13 17:58:45 +00: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
Oliver
8daebcd1a8 Remove rng param 2025-02-09 21:26:03 +00:00
Oliver
dce5d9367d Greatly speed up solver 2025-02-09 21:23:53 +00: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
Oliver
145ceeb109 Finish first draft futoshiki solver/gen 2025-02-07 00:09:35 +00:00
Oliver
238a41db43 Revert "Experiment with alternative solving/generation approach"
This reverts commit 06c75ce1a9.
2025-02-07 00:06:38 +00:00