Skip to content

A strategic puzzle game where you must balance environmental, social, and economic markers by managing the unique "ripples" of influence every building sends across the grid.

Notifications You must be signed in to change notification settings

MelaniaChiru/The-Ripple-Effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

196 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

The Ripple Effect

Players take on the role of a district architect tasked with building a thriving community. Unlike traditional city builders, every tile placed has an "Area of Effect" (Ripple) that impacts the surrounding environment. From public parks to private jets, players must navigate the complex trade-offs between resident happiness, environmental sustainability, and economic growth.

πŸ† Game Jam Project

This project was conceptualized and developed during a Game Jam (Dingo Cegep Game Jam). The focus was on engineering a playable game within a strict 48-hour timeframe following a given theme ("A Better World").

✨ Features

  • Ripple System: Real-time radius calculations to show how buildings like Schools or Factories affect residents.
  • Radius Visualization:
    • All Browsers: Click a tile to see its active radius of influence on resident's happiness.
    • Firefox Exclusive: Real-time hover highlights, providing instant feedback on happiness impact before placement
  • Interactive Grid: Drag-and-drop mechanics with hover-previews and invalid-drop animations.
  • Live Stats Engine: A dynamic balancing system that calculates Happiness, Environment, and Economy based on tile placement and global level modifiers.
  • Progressive Difficulty: 5 unique levels that introduce new tiles almost every level (Bus Stops, Power Plants, Factories, Golf Courses) which each have different effects.
  • Save & Resume: Browser cookies to track level unlock progression.

πŸ› οΈ Tech Stack

  • React.js
  • Vite
  • CSS3

🎬 Preview

Watch the gameplay preview below to see how tile placement affects the environment and happiness markers in real-time.

Preview.mov

πŸš€ Live Demo

You can play the latest version of the game here.

βš™οΈ How to run

  1. Clone the repository

    git clone https://github.com/MelaniaChiru/The-Ripple-Effect.git

  2. Install dependencies

    cd client; npm install

  3. Run the project

    • To run in development mode: npm run dev
    • To run in production mode: npm run build; npm run preview
  4. Navigate to local URL provided in your terminal (usually http://localhost:5173 for development mode, and http://localhost:4173 for production mode)

πŸ—οΈ Future Improvements

  • Cross-Browser radius hover-highlight: Refactor the system to ensure a consistent hover experience all browsers (Chrome, Safari, etc.) not just Firefox.
  • Save & Resume: Implement persistent state to allow players to leave a level and return exactly where they left off.

Attributions & Acknowledgements

About

A strategic puzzle game where you must balance environmental, social, and economic markers by managing the unique "ripples" of influence every building sends across the grid.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •