GithubHelp home page GithubHelp logo

charlie1404 / chain-reaction Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 76 KB

!! Addictive Game !!

Home Page: https://chain-reaction-web.netlify.app/

License: GNU General Public License v3.0

JavaScript 0.54% Makefile 2.07% HTML 0.76% Go 9.43% CSS 0.35% TypeScript 86.84%

chain-reaction's Introduction

Chain-Reaction Game

Welcome to Chain-Reaction, a JavaScript game. This game is built using GSAP (GreenSock Animation Platform) and Three.js.

How to Play

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:

  1. Click or tap on an empty cell to place a atom.
  2. Once critial mass is reached molecule will explode.
  3. Try to create a chain reaction by strategically placing atoms.
  4. The game ends when no more other players are left.

Controls

  • Click or tap: Place a particle on an empty cell.

Features

  • 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.

Installation

To run the game locally, follow these steps:

  1. Clone this repository to your local machine:
git clone https://github.com/charlie1404/chain-reaction.git
  1. Run the npm install in your terminal.

  2. Run npx vite --host 0.0.0.0 in your terminal.

  3. Open shown url in browser!

Credits

  • GSAP (GreenSock Animation Platform): For smooth animations.
  • Three.js: For realistic 3D graphics.

License

This project is licensed under the GNU GPL v3 License - see the LICENSE file for details.

About

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! ๐ŸŽฎ

TODO:

  • Multiplayer mode (play with friends over internet)
  • Play with bot

chain-reaction's People

Contributors

charlie1404 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.