Skip to content

polytroper/poex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poetry Platformer

A unique browser-based platformer game where you use regex patterns to create your own platforms from poetry!

How to Play

  1. A poem will be displayed on the screen
  2. Enter a regex pattern in the input field to select specific characters from the poem
  3. Click the "Play" button to start the level
  4. The selected characters will become platforms that you can jump on
  5. Use the arrow keys to move:
    • Left/Right arrows to move horizontally
    • Up arrow or Spacebar to jump
  6. Collect all the golden keys to unlock the door
  7. Reach the door to complete the level

Controls

  • Left Arrow: Move left
  • Right Arrow: Move right
  • Up Arrow or Spacebar: Jump

Tips

  • 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

Technical Details

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.

Development

To modify or extend the game:

  1. Edit index.html for structure
  2. Edit styles.css for styling
  3. Edit game.js for game logic

The game uses the HTML5 Canvas API for rendering and includes basic physics for platforming mechanics.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published