summaryrefslogtreecommitdiff
path: root/examples/mines/mines.scm
Commit message (Collapse)AuthorAgeFilesLines
* examples: Clean up minesweeper demo.David Thompson2015-03-101-27/+46
| | | | * examples/mines/mines.scm: Miscellaneous clean up.
* render: Merge <group> into <model>.David Thompson2015-03-091-12/+11
| | | | | | | | | | | | | | | | | | | | * sly/render/model.scm (<model>): Add 'transform' and 'children' fields. (model-transform, model-children): New accessors. (make-model): Add 'transform' and 'children' keyword arguments. (set-transform-identity!): New procedure. (draw-model): Recursively draw model and all children. (model-paint, model-blend): Renamed. (paint, blend, group, group*, move, place): New procedures. * sly/render/group.scm: Delete. * Makefile.am (SOURCES): Remove it. * examples/2048/2048.scm: Update example. * examples/animation.scm: Likewise. * examples/font.scm: Likewise. * examples/joystick.scm: Likewise. * examples/mines/mines.scm: Likewise. * examples/simple.scm: Likewise. * examples/tilemap.scm: Likewise. * README.org (Example): Update sample code.
* mines: Disable clicking on tiles when you lose.Christopher Allan Webber2015-01-101-1/+2
| | | | | | | | Also add myself to AUTHORS! ;) * AUTHORS: Add me. * examples/mines/mines.scm (board-reveal): Don't reveal tiles in 'game over' state.
* examples: Add minesweeper clone.David Thompson2014-12-061-0/+400
* examples/mines/mines.scm: New file. * examples/mines/images/*: New files. * examples/Makefile.am (examples_DATA): Add 'mines.scm'. (image_DATA): Add images.