Live data from Hacker News

PuzzleScript – an open-source HTML5 puzzle game engine

puzzlescript.net

1–10 of 28 posts

Re: PuzzleScript – an open-source HTML5 puzzle game engine

#2
> PuzzleScript allows you to express this succinctly: > [ > Player | Crate ] -> [ > Player | > Crate ]

I'm sorry. This just isn't succinct. You've immediately lost me. The idea is nice, and perhaps it works well within the realm of puzzle-specific scripting, but there's nothing here for a casual reader to interpret.

Re: PuzzleScript – an open-source HTML5 puzzle game engine

#3
This puzzle game engine was written by Stephen Lavelle, who may be best known for Stephen's Sausage Roll.

Here's Sokogoban, a cute recent game made with the engine:

https://www.puzzlescript.net/play.html?p=8726ac1f3addfe42cc5...

I recommend clicking the "hack" link at the bottom to see the code for the game.

Re: PuzzleScript – an open-source HTML5 puzzle game engine

#4
post #3

This puzzle game engine was written by Stephen Lavelle, who may be best known for Stephen's Sausage Roll. Here's Sokogoban, a cute recent game made with the engine: https://www.puzzlescript.net/play.html?p=8726ac1f3addfe42cc5... I recommend clicking the "hack" link at the bottom to see the code for the game.

Another tricky one by Stephen: https://www.puzzlescript.net/play.html?p=bf3272fd7b73c43acb4...

Re: PuzzleScript – an open-source HTML5 puzzle game engine

#5
It is great to see this pop-up again. Such a great toolset, deliberately limited, in such a way that anyone can create a game in an hour or so, but powerful enough that the games aren't all the same. You can put some genuinely interesting mechanics into it.

Stephen (the author) knows puzzle games. It is interesting to see his games, and the sophistication he has generated with this simple rule set. Terry Cavanagh (of Super Hexagon and VVVVVV fame) has also done some clever stuff with it.

For someone new to game design, it's a great start. And from there you can graduate to Pico-8!

Previous discussions in 2013 [0] and 2015 [1].

---

[0]: https://news.ycombinator.com/item?id=6501034 [1]: https://news.ycombinator.com/item?id=9376940

Re: PuzzleScript – an open-source HTML5 puzzle game engine

#6

> PuzzleScript allows you to express this succinctly: > [ > Player | Crate ] -> [ > Player | > Crate ] I'm sorry. This just isn't succinct. You've immediately lost me. The idea is nice, and perhaps it works well within the realm of puzzle-specific scripting, but there's nothing here for a casual reader to interpret.

The rules of the game are pattern matched onto the state of the game. A single rule defines a pattern, and a modification. "If the player is adjacent to a crate and has movement in the direction of the crate, add movement to the crate."

Re: PuzzleScript – an open-source HTML5 puzzle game engine

#8

> PuzzleScript allows you to express this succinctly: > [ > Player | Crate ] -> [ > Player | > Crate ] I'm sorry. This just isn't succinct. You've immediately lost me. The idea is nice, and perhaps it works well within the realm of puzzle-specific scripting, but there's nothing here for a casual reader to interpret.

>...perhaps it works well within the realm of puzzle-specific scripting, but...

Yes, it is literally named "PuzzleScript". Also, if you continued reading, you'd find it is succinctly explained.

Re: PuzzleScript – an open-source HTML5 puzzle game engine

#9
There was a game awhile back called "A Good Snowman is Hard to Build". The creator used PuzzleScript as a level editor/prototyper. He would make and play the levels inside the PuzzleScript engine, then import the completed level data into his own engine. I thought that was pretty cool.

Re: PuzzleScript – an open-source HTML5 puzzle game engine

#10
post #9

There was a game awhile back called "A Good Snowman is Hard to Build". The creator used PuzzleScript as a level editor/prototyper. He would make and play the levels inside the PuzzleScript engine, then import the completed level data into his own engine. I thought that was pretty cool.

Yup, here's the video at said timestamp: https://youtu.be/W_okgL6HJX8?t=24m15s
Post reply on HN