Welcome to Chain-Reaction, a JavaScript game. This game is built using GSAP (GreenSock Animation Platform) and Three.js.
The objective of the game is to create a chain reaction by placing particles on the grid. When a particle is placed, it emits energy, which affects neighboring particles. If a particle reaches its energy threshold, it will explode and release additional energy, potentially triggering a chain reaction.
To play the game:
- Click or tap on an empty cell to place a atom.
- Once critial mass is reached molecule will explode.
- Try to create a chain reaction by strategically placing atoms.
- The game ends when no more other players are left.
- Click or tap: Place a particle on an empty cell.
- Simple yet addictive gameplay.
- Realistic particle interactions using Three.js.
- Smooth animations powered by GSAP.
- Dynamic grid system for endless possibilities.
- Responsive design for play on various devices.
To run the game locally, follow these steps:
- Clone this repository to your local machine:
git clone https://github.com/charlie1404/chain-reaction.git
-
Run the
npm install
in your terminal. -
Run
npx vite --host 0.0.0.0
in your terminal. -
Open shown url in browser!
- GSAP (GreenSock Animation Platform): For smooth animations.
- Three.js: For realistic 3D graphics.
This project is licensed under the GNU GPL v3 License - see the LICENSE file for details.
This game was created as a fun project. Feel free to contribute to the project by submitting bug reports, feature requests, or pull requests.
Enjoy playing Chain-Reaction! 🎮
- Multiplayer mode (play with friends over internet)
- Play with bot