ketanhwr / chain-reaction Goto Github PK
View Code? Open in Web Editor NEWOnline version of the famous game "Chain Reaction"!
License: MIT License
Online version of the famous game "Chain Reaction"!
License: MIT License
Currently there are no animations when a ball explodes. It will be a really nice enhancement!
Using socket.io and node.js, it would be possible to create an online multiplayer version of this game.
I agree this might make things unnecessarily complicated for the beauty of chain reaction is in its simplicity. But consider the improved utility.
I had difficulty in sharing my mouse while playing. Might others have had similar problems?
If not over the internet, then a local setup can be created to play over LAN.
it is unclear who's turn it is when the game starts.
I cloned your project and just did a little refactoring of the code so it uses two variables "horizontalCells" and "verticalCells" rather than hardcoded values for cell size, ball size, ... Which makes it very easy to add some controls to change the board size and things like that. Could I get authority to work on this project?
Currently this game is for 2 players. This issue will be closes when the game supports more than 2 players.
As it is now, as soon as the script determines the winner, the screen is cleared and a new game starts. it would be nice if you could see why you won/lose before it starts over. this could possibly be addressed by changing the check for game over to the START of the game loop rather than the end.
undo button visible and clickable when showing the game result
Sometimes, there are 3 circles in the corner even though the maximum circles are 1 at that point. This is an easy fix.
when clicking on the canvas in Microsoft edge, the screen jumps. -- event.preventDefault(); should fix it
Build system should be implemented for using latest ES6 features or Typescript
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.