GithubHelp home page GithubHelp logo

alex-x-sun / red-blue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akulchhillar/red-blue

0.0 0.0 0.0 54 KB

Hi All, this a Python (Flask) & JS based board game which leverages web hooks for communication. You can play it here: https://red-blue.herokuapp.com/

Python 4.19% HTML 41.90% JavaScript 52.38% CSS 1.53%

red-blue's Introduction

Red Blue

Banner

Table of Contents

About the Project

This a Python3 (Flask) & JS based board game which leverages Webhooks for communication. You can play it here

Built With

Getting Started

Prerequisites

to install this projects dependancies, navigate to the project directory and execute pip3 install -r requirements.txt

After you've installed the dependancies, you can run the project by simply running python3 app.py which will launch the Flask development server. Note: The flask development server is meant for development only and should not be used in production.

Rules

  • The game is played between 2 players (Red & Blue) and the objetive of the game is to capture the maximum number of green squares and convert them into their color.
  • The game starts with Red player making the first move by clicking on any square on the empty green borad. And then the Blue player makes his move.
  • Everytime you click a square, the squares adjacent to it in all the directions are convert into your color.
  • The players can only click on empty green sqaures and not on other player's captured square.
  • The game is won when all the squares are captured by both the players and the player with maximum sqaure of his color wins.

red-blue's People

Contributors

akulchhillar avatar harry-lees 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.