GitXplorerGitXplorer
H

puzzleengine

public
19 stars
1 forks
4 issues

Commits

List of commits on branch master.
Unverified
55b3c90ae88d586ad403762c98621c973f37a758

Assure again prevents updates

HHParker committed 4 years ago
Unverified
6b9f268a74894535e781bc6a997a8090972d5e8c

Plug up some memory

HHParker committed 4 years ago
Unverified
ac1fa7fd2910ec0cb2b98f082ec94c0616319bfd

Clear undo history at level load

HHParker committed 4 years ago
Unverified
ca62ee4ea05c349f0df0bf7635dd5791823688db

Slightly improve object definition parsing

HHParker committed 4 years ago
Unverified
6eeae37e0e716f8b762755abc1d928863ba7cc93

Add wall_clip solution

HHParker committed 4 years ago
Unverified
9a1488cdcdbdc273c6c3a9c6f4162bd675bc493b

Parse flickscreen directions

HHParker committed 4 years ago

README

The README file for this repository.

Disclaimer before you continue

This is a Work in progress. the majority of example puzzles work (except rigid bodies, sounds)

But if this project is interesting to you, consider contributing! Making a new implementation of PuzzleScript is a huge undertaking. I look forward to making puzzles with you.

Puzzles known to work

  • Stumper test puzzle
  • Simple Block Pushing Game
  • EYE EYE EYE
  • Match 3 Block Push
  • Block Faker
  • constellation z
  • Kettle
  • Lime Rick
  • Match 3 Block Push
  • Microban
  • neko puzzle
  • Notsnake
  • Octat
  • Zen Puzzle Garden
  • Soliquid
  • Watch Your Step
  • Simple Block Crushing Game
  • I Have No Mouth, And I Must Create Blocks On All Sides Of Me
  • Stairways
  • Enqueue
  • 🍡 -ooo- 🍡
  • Path lines
  • zoom test
  • Wall Clip

Contributing puzzle tests

If you have a puzzle you would like to add to the test suite you can add the puzzle to the puzzles/ directory with the .puzz extension and add a test solution to the runnerTest.c test file. Look at test_runs_stumper for a simple example.

Puzzle Engine

A C implementation of the PuzzleScript language and runtime

It has a number of renders you can use:

2d

2d Puzzle

3d

3d Puzzle

Text Only

Text Puzzle

Required libs

check, flex, bison, gcc, sdl2, raylib

Mac build instructions

brew install check flex bison gcc
make

Run tests

make check

Acknowledgements

The language design is from increpare and everyone that contributed to puzzlescript and the puzzles

Original Puzzlescript implementation: https://github.com/increpare/PuzzleScript

Thanks for inspiring me with the line in the FAQ saying:

it'd be too much fuss to keep a separate C implemention of PuzzleScript synchronised with the main one. But if you want to try to do so, knock yourself out : )

I use a number of puzzles to test my parsing and rule application work correctly, thanks to those puzzle creators I am happy to remove any puzzles you wish I didn't copy.