A unique browser-based platformer game where you use regex patterns to create your own platforms from poetry!
- A poem will be displayed on the screen
- Enter a regex pattern in the input field to select specific characters from the poem
- Click the "Play" button to start the level
- The selected characters will become platforms that you can jump on
- Use the arrow keys to move:
- Left/Right arrows to move horizontally
- Up arrow or Spacebar to jump
- Collect all the golden keys to unlock the door
- Reach the door to complete the level
- Left Arrow: Move left
- Right Arrow: Move right
- Up Arrow or Spacebar: Jump
- Try different regex patterns to create interesting platform layouts
- Some useful regex patterns to try:
[aeiou]- Select all vowels[A-Z]- Select all capital letters\s- Select all whitespace[^a-zA-Z]- Select all non-letters
This game is built using vanilla HTML, CSS, and JavaScript. No frameworks or build tools are required. Simply open the index.html file in a modern web browser to play.
To modify or extend the game:
- Edit
index.htmlfor structure - Edit
styles.cssfor styling - Edit
game.jsfor game logic
The game uses the HTML5 Canvas API for rendering and includes basic physics for platforming mechanics.