---
title: "PuzzleScript"
description: "Open-source HTML5 puzzle game engine where entire games are written as rewrite rules in a plain text file."
canonical: "https://vibing.inc/library/puzzlescript-vg-1123"
category: "Games, Juice & Interactive"
subcategory: "Interactive fiction & toys"
license: "MIT"
author: "increpare (Stephen Lavelle)"
source: "https://www.puzzlescript.net/"
---

# PuzzleScript
Open-source HTML5 puzzle game engine where entire games are written as rewrite rules in a plain text file.
## Facts
- Source: https://www.puzzlescript.net/
- Category: Games, Juice & Interactive / Interactive fiction & toys
- Author: increpare (Stephen Lavelle)
- Licence: MIT
- Tags: puzzle, rules-engine, html5, text-based
## Why it's a gem
Whole Sokoban-class games in twenty lines of rules; unmatched iteration speed
---
Listed in The Vibeary: https://vibing.inc/library/puzzlescript-vg-1123 · JSON: https://vibing.inc/api/public/library/gems/puzzlescript-vg-1123