Skip to content

Alena0490/SlotGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

77 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฐ Harlequin's Fortune

Professional portfolio demo slot machine game inspired by commedia dell'arte aesthetics. Features authentic casino mechanics, Monte Carlo tested RTP, and full WCAG accessibility compliance.

Game Preview

๐ŸŽฎ Live Demo

Play now: alena0490.github.io/SlotGame

โœจ Features

  • Professional RTP: 95.3% (verified by 1M+ spin Monte Carlo simulation)
  • 10 Paylines with wild substitution and scatter wins
  • 11 Unique Symbols across 4 value tiers
  • Responsive Design - optimized for all devices
  • WCAG Accessibility - full keyboard navigation and screen reader support
  • Sound Effects - immersive audio with user control
  • Auto-spin Mode - automated gameplay
  • LocalStorage - persistent credit and bet values

๐Ÿ› ๏ธ Technologies

  • React 19 - Modern UI framework
  • TypeScript - Type-safe development
  • Vite - Fast build tool
  • CSS3 - Custom properties, animations, responsive design
  • GitHub Pages - Hosting and deployment

๐Ÿ“Š Performance

  • Lighthouse Score: 92/100 (Performance)
  • RTP: 95.3%
  • Hit Rate: ~14%
  • Volatility: Medium
  • Max Win: 120x bet

๐ŸŽจ Design

  • Color Palette: Black (#06060e), White (#ffffff), Red (#dc143c)
  • Metallic Effects: CSS gradients for chrome and silver surfaces
  • Typography: Rajdhani font family
  • Accessibility: WCAG 2.1 AA compliant

๐Ÿ“ธ Screenshots

Desktop Mobile
Desktop Mobile

๐Ÿš€ Installation

# Clone repository
git clone https://github.com/Alena0490/SlotGame.git

# Navigate to project
cd SlotGame

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build

# Deploy to GitHub Pages
npm run deploy

๐Ÿ“– Documentation

For detailed case study including design process, RTP calculations, Monte Carlo testing, and technical implementation:

Read Full Case Study โ†’

๐ŸŽฏ Game Rules

  • Match 3 or more identical symbols from left to right
  • Wild (Harlequin) substitutes all symbols except Scatter
  • Scatter (Diamond) pays anywhere on reels (3+ symbols)
  • 10 active paylines
  • Bet range: 10 - 200 credits
  • Starting credit: 1000

๐Ÿงช Testing

Monte Carlo simulation (1M+ spins) validates:

  • Fair RNG distribution
  • Accurate RTP calculation
  • Symbol frequency matches expected values
  • No bias across bet levels

๐Ÿ“‹ Project Structure

โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/        # React components
โ”‚   โ”œโ”€โ”€ data/             # Game data and configuration
โ”‚   โ”œโ”€โ”€ hooks/            # Custom hooks
โ”‚   โ””โ”€โ”€ img/              # Images and assets
โ”œโ”€โ”€ public/               # Static assets
โ”œโ”€โ”€ screenshots/          # Documentation images
โ””โ”€โ”€ CaseStudy.md         # Detailed documentation

๐Ÿ‘ฉโ€๐Ÿ’ป Author

Alena Pumprovรก

  • Portfolio: [Your Portfolio URL]
  • GitHub: @Alena0490
  • LinkedIn: [Your LinkedIn]

๐Ÿ“„ License

This is a portfolio project for demonstration purposes only.

โš ๏ธ Demo Only - No real money involved. This is not a gambling application.

๐Ÿ™ Acknowledgments

  • Design: Original concept and implementation
  • Assets: Freepik, AI-generated imagery
  • Sounds: Pixabay royalty-free library
  • Testing: Monte Carlo simulation methodology

Built with โค๏ธ using modern web technologies

About

๐ŸŽฐ Professional slot machine game โ€ข React 19 + TypeScript โ€ข 95.3% RTP โ€ข Monte Carlo tested โ€ข WCAG accessible โ€ข Portfolio project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors