Kartik K. Agaram 22c3c92216 | ||
---|---|---|
assets | ||
0000-freewheeling-start | ||
0001-on | ||
0002-Debug_animations_in_progress | ||
0003-refresh_debug_animations | ||
0004-on.update | ||
0005-animate | ||
0006-loiter | ||
0007-save_callstack | ||
0008-Debug_animation_period | ||
0010-on.draw | ||
0011-draw_sum_grid | ||
0012-on.initialize | ||
0013-Square_side | ||
0014-Font_size | ||
0015-Padding | ||
0017-on.keychord_press | ||
0019-Solution | ||
0021-Draw | ||
0022-Problem | ||
0023-draw_cell | ||
0024-generate | ||
0027-new | ||
0028-create_problem | ||
0029-Cursor | ||
0030-X | ||
0031-Y | ||
0032-on.mouse_press | ||
0033-initialize_layout | ||
0034-on.resize | ||
0035-Buttons | ||
0036-Safe_width | ||
0037-Status | ||
0038-draw_next_button | ||
0039-draw_status | ||
0040-check_status | ||
LICENSE.txt | ||
Manual_tests.md | ||
MemoryReferenceInfo.lua.0 | ||
MemoryReferenceInfo.lua.unused | ||
README.md | ||
app.lua | ||
button.lua | ||
default_map | ||
edit.lua | ||
file.lua | ||
json.lua | ||
keychord.lua | ||
live.lua | ||
main.lua | ||
nativefs.lua | ||
reference.md | ||
search.lua | ||
select.lua | ||
test.lua | ||
text.lua | ||
text_tests | ||
text_tests.lua | ||
undo.lua |
README.md
App for drilling addition problems
Uses sudoku-like "sum grid" puzzles.
This repo is an example of a Freewheeling App, designed above all to be easy to run, easy to modify and easy to share.
Getting started
Install LÖVE. It's just a 5MB download, open-source and extremely well-behaved.
Hacking
To modify it live without restarting the app each time, download the driver app. Here's an example session using a different freewheeling app:
Some reference documentation on how to create your own apps.
If the app being modified by the driver lives in a .love file, your changes will go into the save directory. If it lives in a directory (like this repo), your changes will go straight into the same directory.
Keyboard shortcuts
ctrl+n
to generate a new problem- ``` to reveal/hide the solution (I should probably disable this before putting it in front of the kids.)
Exclusively tested so far with a US keyboard layout. If you use a different layout, please let me know if things worked, or if you found anything amiss: http://akkartik.name/contact
Known issues
Mirrors and Forks
This repo is a fork of lines.love, an editor for plain text where you can also seamlessly insert line drawings. Its immediate upstream is the template repo for freewheeling apps. Updates to it can be downloaded from the following mirrors:
- https://git.sr.ht/~akkartik/sum-grid.love
- https://tildegit.org/akkartik/sum-grid.love
- https://git.merveilles.town/akkartik/sum-grid.love
- https://nest.pijul.com/akkartik/sum-grid.love (using the Pijul version control system)
Further forks are encouraged. If you show me your fork, I'll link to it here.
Feedback
Most appreciated. Messages, PRs, patches, forks, it's all good.