Skip to content

japperJ/flipper

Repository files navigation

NEON PINBALL

License: MIT TinyToolTown

Arcade-style browser pinball with a neon cabinet look, theme packs, light effects, and a pause/cabinet menu.

NEON PINBALL Screenshot

Features

  • 🎨 3 built-in theme packs:
    • Sunburst Classic
    • Cosmic Wedge
    • Volcano Pop
  • 💡 Event-driven lighting effects (bumper/sling/drop/jackpot/drain/game over)
  • 🔊 Theme-specific retro audio with sound toggle
  • 🕹️ Cabinet menu overlay with theme + sound controls
  • 🧪 Playwright regression tests for physics, gameplay, and menu behavior

Controls

  • Z / Left Arrow: Left flipper
  • / / Right Arrow: Right flipper
  • Space: Plunger / launch
  • P: Pause
  • Esc: Open/close Cabinet Menu
  • In Cabinet Menu:
    • 1 / 2 / 3: Select theme
    • S: Toggle sound
    • Enter: Apply + resume
    • Esc: Cancel + resume

Run locally

Open index.html directly in your browser.

TinyToolTown readiness

This repository is prepared for TinyToolTown publication:

  • ✅ Single-file playable app (index.html)
  • ✅ Keyboard controls documented
  • ✅ Screenshot included for listing/preview (image.png)
  • ✅ Automated test coverage via Playwright
  • ✅ MIT license included for open redistribution

Run tests

Install dependencies (if needed), then run Playwright:

  • npm install
  • npx playwright test launch.spec.js

Project structure

  • index.html — Game + rendering + input + menu
  • launch.spec.js — Playwright gameplay and regression tests
  • docs/superpowers/ — design/spec/planning docs

License

This project is licensed under the MIT License.

See LICENSE for full text.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors