david-pfx / PuzzleScriptNext

A direct successor to PuzzleScript, building on the work of PuzzleScript Plus, Pattern:Script and others.
http://www.puzzlescriptnext.polyomino.com
MIT License
13 stars 6 forks source link

{} for controlled rule expansion. #15

Closed david-pfx closed 2 months ago

david-pfx commented 1 year ago

Here is the standard Sokoban rule, but in a different order: [ {UP,RIGHT,DOWN,LEFT} Player | Crate ] -> [ {UP,RIGHT,DOWN,LEFT} Player | {UP,RIGHT,DOWN,LEFT} Crate ] Here is part of some logic for doing arithmetic: [[ N{0-8} ] -> [ N{1-9}] I think this can do everything P:S can do, instead of having the MAP and TAG sections.