Code Monkey home page Code Monkey logo

chainreactionautomata's Introduction

ChainReactionAutomata

Developed by NIT Surathkal

A multiplayer chain reaction game developed using HTML, CSS, JS Framework. Additionally a Non Deterministic Finite Automata has been developed to facilitate future development of a heuristic.

Chain reaction is a simple strategic board game for two or more players. The game has primarily 2 components: an m x n grid of cells and a set of balls to be placed into them. All cells are initially empty. The players take turns to place balls of their corresponding colors into the cells. The player can either place his ball in an empty cell or in one containing balls of the same colour as the player's. When two or more balls of same color are placed in the same cell, they cohere together. For each cell in the board, we define a critical mass. The critical mass is equal to the number of orthogonally adjacent cells. That would be 4 for usual cells, 3 for cells at the edge and 2 for cells in the corner. When a cell is loaded with a number of balls equal to its critical mass, the group of balls immediately explodes. As a result of the explosion, to each of the orthogonally adjacent cells, an ball is added and the initial cell loses as many balls as it's critical mass. The explosions might result in overloading of an adjacent cell and the chain reaction of explosions continues until every cell is stable. When a group of balls explode and move into the adjacent cells, they convert all the balls in the adjacent cells to their colour. The objective of the game is to remove all of the opponent's pieces from the board by causing a chain reaction of explosions. The project aims at developing a heuristic for the game progress by modelling the game as a finite state automata for a 2 player system.

chainreactionautomata's People

Contributors

divija96 avatar iknoorjobs avatar

Watchers

 avatar

chainreactionautomata's Issues

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.