Prequel
primitive recursive driven programming


PrequelPlay

This 2D-polygon game engine sets up a makerspace where programmers can share their rich expressions, despite (perhaps thanks to) the intentionally limited resources provided.

Prototype ideas using only uniformly colored convex polygons.

Create and run code external to the main program.
Useful for example to let people create bots without changing (and even without looking at) the main program.

No registry, no cookies, no ads, no tracking.
Enjoy!

Featured examples

Technical specifications

Platform:
Web

Display:
Adjusts to browser size (1:1)

Colors:
Choose any 16-color palette

Objects:
Uniformly colored convex polygons using up to 9600 vertexes

Physics:
Check whether 2 polygons overlap

User input:
Multitouch coordinates (pressed / released)

Camera:
Move; rotate; zoom

Update frequency:
30 ticks per second

Code:
Prequel

Max instructions:
10232 instructions per tick

Max memory:
16777216 memory cells

Persistent state:
Yes. Up to 32767 bytes

Project management:
Edit, download, load, upload, and share projects

Execute code external to main program:
Yes. Up to 4 external programs (bots)

Audio:
32 built-in sound effects over 4 channels
Many thanks to The Motion Monkey and to Freesound (click, match, plop, collect, cricket, bird)

Documentation

Try the examples and have a look at their source code () to see what makes them tick.

This primer highlights the differences/similarities between Prequel and other programming languages.

Additionally, the specific Input and Functions available can be found here.

Start afresh