pyglet tilescopethree
python pyglet_main.py basis
Example: python pyglet_main.py 1234_1324
- S to toggle shading empty cells
- O to toggle crossing obstructions
- L to toggle localized obstructions/requirements
- P to toggle pretty points
- C to toggle highlighting on obstructions in cell
- ctrl+click+drag to move obstruction (no restriction on movement)
- shift+click+drag to move points
- Ctrl+S to print tiling string
- Ctrl+R to print tiling repr
- Left/right to switch strategies, strategy is visible in window title
- Left click to apply strategy at mouse position (right click for obstruction in cell insertion)
- Backspace to go back
- R to go forward (when applicable)
- Escape to close
There are issues on Mojave with PyGame. Install with these steps (uninstall pygame first if you have it)
- brew install sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf
- cd python3.7.2/lib/python3.7/site-packages (Note: you can find the site packages directory with python -m site)
- git clone https://github.com/pygame/pygame.git
- cd pygame
- python setup.py -config -auto -sdl2
- python setup.py install