PuzzleScript is an open-source HTML5 puzzle game engine
puzzlescript.net
puzzlescript.net
The logic used, based on pattern detections is pretty clever. Reminds me of cellular automata algorithms.
Even if you are not interested in puzzle games, reading the "first steps" part of the site is quite interesting and enlightening.
In the "make a game" part, one thing is not clear enough, though : in order to launch the games, you'll have to hit the "x" key.
PuzzleScript is an impressive project. The editor is pretty easy to use (the smart syntax highlighting is very helpful). The rule system was general enough to allow me to implement most of the concepts from the original Pegs very easily (with the exception of cross piece selecting), and add new features like animation and sound effects easily too. It was tough to compress some of the 8x8 sprites into 5x5, but I managed it thanks to the ability to use custom colors in sprites. What I didn’t like was the hard-coded limit of 6 layers, plus the occasional severe visual glitches in the running game that required me to refresh the page. The documentation is very good for a one-man project, but has small errors in places and lacks cross-references that force me to look through many pages to find the functionality I was looking for.
I was very interested when I saw this post, because I was already re-remaking Pegs for the browser (https://github.com/roryokane/pegs-js). I have a lot of experience with implementing that game, so it was interesting to see the rules phrased in a different language, and to come up with new colored sprites, sound effects, and animations that reflect what I imagine is really happening when you play Pegs.
So read this if you are interested in either 1 or 2 or 3.
I have some puzzle game ideas that I've tried to build several times, but I always get frustrated with how tricky it is to express the rules in code. This seems like such a clever way to do it. Fun!
(oh, and it's from the Obfuscated C Code Contest -- but worth every second you spend reading it)
https://github.com/c00kiemon5ter/ioccc-obfuscated-c-contest/...
(I would link to the original ioccc site, but it is not answering right now)
Nice works btw :)