Skip to content

matthijsgroen/pyramid-scheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿบ Pyramid Scheme

An ancient Egyptian-themed puzzle adventure game where you explore mysterious pyramids, solve hieroglyphic puzzles, and collect treasures from forgotten tombs.

Version Status Tech

๐ŸŽฎ Game Overview

Pyramid Scheme is a mathematical puzzle game set in ancient Egypt. Players embark on expeditions through pyramids of increasing difficulty, solving symbolic puzzles that unlock the secrets of forgotten treasures.

๐ŸŽฏ Core Gameplay

  • Explore Pyramids: Journey through 5 difficulty levels from Starter to Wizard
  • Solve Puzzles: Decode hieroglyphic symbols using mathematical formulas
  • Collect Treasures: Gather ancient artifacts and build your collection
  • Progressive Unlocking: Complete expeditions to unlock treasure tombs
  • Map Pieces: Find fragments that reveal the locations of hidden treasure vaults

๐Ÿ—บ๏ธ Journey Types

๐Ÿ”บ Pyramid Expeditions

Explore ancient pyramids across different times of day:

  • Morning ๐ŸŒ… - Fresh start expeditions
  • Afternoon โ˜€๏ธ - Peak exploration hours
  • Evening ๐ŸŒ‡ - Twilight adventures
  • Night ๐ŸŒ™ - Mysterious nocturnal quests

Difficulty Progression:

  • ๐ŸŸข Starter - Learn the basics
  • ๐Ÿ”ต Junior - Build confidence
  • ๐ŸŸก Expert - Test your skills
  • ๐ŸŸ  Master - Challenge yourself
  • ๐Ÿ”ด Wizard - Ultimate mastery

๐Ÿ—๏ธ Treasure Tombs

Hidden vaults unlocked by collecting map pieces:

  • Forgotten Merchant's Cache - Ancient trading post treasures
  • Noble's Hidden Vault - Aristocratic riches
  • High Priest's Treasury - Sacred temple wealth
  • Pharaoh's Secret Hoard - Royal burial treasures
  • Vault of the Gods - Divine mythical artifacts

๐Ÿงฉ Puzzle Mechanics

Tableau System

Each level presents a tableau - a themed story puzzle with:

  • Symbolic Formula: Mathematical equations using hieroglyphic symbols
  • Progressive Revelation: Text becomes clearer as you progress
  • Thematic Narratives: Rich Egyptian mythology and culture

Symbol Categories

  • ๐Ÿ‘‘ Professions (p1-p15) - Merchants, priests, scribes, farmers
  • ๐Ÿพ Animals (a1-a15) - Sacred creatures like cats, crocodiles, ibis
  • ๐Ÿ’Ž Artifacts (art1-art15) - Tools, vessels, ceremonial objects
  • ๐Ÿบ Deities (d1-d15) - Egyptian gods and goddesses

Difficulty Scaling

  • Symbol Count: Higher difficulties use more symbols per puzzle
  • Number Ranges: Larger numbers in advanced levels
  • Floor Count: More pyramid floors to explore

๐Ÿ›๏ธ Features

๐ŸŒ Internationalization

  • English ๐Ÿ‡บ๐Ÿ‡ธ - Full game experience
  • Dutch ๐Ÿ‡ณ๐Ÿ‡ฑ - Complete Nederlandse vertaling

๐ŸŽจ Rich Theming

  • Egyptian Aesthetics: Authentic hieroglyphic symbols and desert backdrops
  • Dynamic Time Cycles: Day/night progression affects gameplay atmosphere
  • Responsive Design: Seamless experience across desktop and mobile

๐Ÿ“Š Progress Tracking

  • Journey Logs: Track completed expeditions and found treasures
  • Collection System: Catalog of discovered artifacts organized by category
  • Map Piece Progress: Visual tracking of treasure tomb unlock requirements

๐Ÿ”ง Technical Features

  • Deterministic Randomization: Consistent puzzle generation using seeded algorithms
  • Local Storage: Progress persistence across sessions
  • Storybook Integration: Component documentation and testing
  • Type Safety: Full TypeScript implementation

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18+
  • Yarn package manager

Installation

# Clone the repository
git clone https://github.com/matthijsgroen/pyramid-scheme.git

# Navigate to project directory
cd pyramid-scheme

# Install dependencies
yarn install

# Start development server
yarn dev

The game will be available at http://localhost:9164

Development Commands

# Development server
yarn dev

# Run tests
yarn test

# Type checking
yarn check-types

# Linting
yarn lint

# Build for production
yarn build

# Storybook component documentation
yarn storybook

๐Ÿ—๏ธ Project Structure

src/
โ”œโ”€โ”€ app/               # Main application components
โ”œโ”€โ”€ data/              # Game data and configuration
โ”œโ”€โ”€ game/              # Core game logic
โ”œโ”€โ”€ ui/                # Reusable UI components
โ””โ”€โ”€ i18n/              # Internationalization setup

public/locales/        # Translation files
โ”œโ”€โ”€ en/                # English translations
โ””โ”€โ”€ nl/                # Dutch translations

๐ŸŽฒ Game Mathematics

The puzzle system uses carefully balanced mathematical formulas:

  • Linear Progression: Difficulty scales predictably across levels
  • Symbol Distribution: Each difficulty tier introduces new symbol sets
  • Formula Complexity: Operations range from simple addition to complex multi-step calculations
  • Deterministic Generation: Same seed always produces same puzzles for consistency

๐ŸŽฎ Gameplay Tips

  1. Start Small: Begin with Starter pyramids to learn the symbol system
  2. Pattern Recognition: Look for recurring symbol combinations
  3. Progressive Learning: Each difficulty builds on previous knowledge
  4. Map Collection: Focus on completing expeditions to unlock treasure tombs
  5. Time Management: Different times of day offer varied experiences

โš ๏ธ Development Status

This is an early alpha version!

  • Expect bugs and missing features
  • Progress may be lost between updates
  • Core gameplay mechanics are functional
  • UI and balance are still being refined

๐Ÿค Contributing

This is a personal project, but feedback and suggestions are welcome! Please feel free to:

  • Report bugs via GitHub issues
  • Suggest gameplay improvements
  • Contribute translations for additional languages

๐Ÿ“„ License

This project is private and for personal use.

Interesting sources

๐ŸŽฏ Roadmap

  • Sound effects and music
  • Mobile app versions

Embark on your journey through the mysteries of ancient Egypt! ๐Ÿบโœจ

About

A Math puzzle game

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages