# Neon Plinko

A neon-synthwave plinko gamble. Drop balls through a field of glowing cyan pegs into a row of scoring slots, but the twist is  the betting layer: before each drop, tap the slot you think the ball will land in to stake credits on your prediction. Hit it and the slot's score gets multiplied up to ×6; miss and your wager's gone.

## How it works 

  • You start with 20 credits. Each drop costs 1.
  • Slots score 2 → 100 points — center slots are easy targets, corner slots are jackpot rolls.                             
  •   High-tier slots (30+ pts) also refund credits, so good aim keeps you in the game.                                                                                                                                           

 ### The bet  

  •  Tap a slot to stake a credit on it (the slot lights up "BET ×2").                                                         
  •  Tap again to stack the wager — up to **×6** payout.                                                                       
  •   Tap a different slot to switch — the prior wager is refunded in full.                                                     
  •    Drop a ball. If it lands in your bet slot:  Score gain = `slot_score × multiplier` (a ×6 bet on the 100-slot pays +600 pts
  •  Credit refund = `(base_refund + wager) × multiplier` (up to +42 credits)
  •  If it lands anywhere else → BUST, wager is lost.
  •  Betting is locked while balls are falling. Wait for the playfield to drain, then bet again.                                                                                                                                                          

## Controls 

  •   Mouse / touch- tap above the peg field to drop a ball, tap a slot to bet.                                                
  •   Fullscreen button (bottom-right of the embed) — recommended for portrait screens.
  •   Audio - first tap unlocks sound (browser autoplay policy).                                                                                                                                                                   

## Built with 

  • melonJS -  the open-source HTML5 game engine
  • planck.js - Box2D physics port (via @melonjs/planck-adapter
  •  100 % procedural rendering — no sprite sheets, no assets, ~200 KB total 
  • 100 % procedural audio — every cue (peg clack, chime, fanfare, bust) is generated live with WebAudio                                                                                                                                                    

Open-source under the MIT licence. Source available on request.                                                 

Published 1 day ago
StatusPrototype
PlatformsHTML5
Authormelonjs
GenreSimulation
TagsArcade, casino, html5, melonjs, Neon, Physics, plinko, Synthwave
AI DisclosureAI Assisted, Code, Text