- Notifications
You must be signed in to change notification settings - Fork0
🎮 Play PuzzleScript games in Rust
NotificationsYou must be signed in to change notification settings
philschatz/puzzlescript-rust
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
It is aPuzzleScript interpreter written in Rust to play games in your terminal!
Here are some screencaps of games being played.
Gravirinth (original)
(click to see the ascii screencast)
Mirror Isles (original)
This screencast shows playing the game in a terminal using ASCII and ANSI colors.
Pot Wash Panic! (original)
(click to see the ascii screencast)
Hack the Net (original)
Skipping Stones to Lonely Homes (original)
Entanglement (original)
- Install Rust
- Clone this repository
- Run
cargo run --releaseto get the help message - Run
cargo run --release -- ./games/{game}.parsed.jsonto play a game- As you complete levels, it will create a save file in the same directory as the game
./test.bash: runs all the testscargo test: runs unit tests./test_solutions.bash: replays real games and verifies the solutions still work
Flamegraphs are great for finding performance problems. Here's how to generate one:
echo"DDD"| sudo cargo flamegraph ./games/roll-those-sixes.parsed.json -- --level 0 --scriptedecho"S.D.S.D.DWAASAWWW..............q"| sudo cargo flamegraph ./games/entanglement-one.parsed.json -- --level 3 --scripted
- Build WebAssembly version and add example of using it in a browser
- Add a parser so the original
script.txtfiles can be used instead of the*.parsed.jsonfiles
About
🎮 Play PuzzleScript games in Rust
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.





