Giter Site home page Giter Site logo

tanvipoddar / dot-box Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chromegaming/dot-box

0.0 0.0 0.0 159.93 MB

Dot-Box is a game where players take turns drawing lines between dots to create boxes. The player who completes the most boxes wins. It's a simple yet strategic game enjoyed by people of all ages.

Home Page: https://chromegaming.github.io/Dot-Box/

License: MIT License

JavaScript 26.79% CSS 31.15% HTML 42.05%

dot-box's Introduction

Dots and Boxes Game - Join our Community on Discord

Community


Stars Forks Issues Open PRs Closed PRs
Stars Forks Issues Open Pull Requests Closed Pull Requests

Tech Stack

  • HTML
  • CSS
  • Javascript

Description ๐Ÿ“ƒ

  • It is a multiplayer game.
  • Based on the lines connected, the boxes would be coloured.
  • The one with maximum number of boxes would be the winner.

Functionalities ๐ŸŽฎ

  • It is a multiplayer game.
  • The player has to select the lines. The one with the line at the last would fill the connecting boxes.
  • The player with the maximum boxes covered would be the winner.
  • The size of the board can be adjustable by user.
  • Players will switch after every turn. But the player who has filled the last box, will get one extra chance consecutively.

How to play? ๐Ÿ•น๏ธ

  • User has to click on edge in such a way that it will maximise the number of boxes based on the lines connected and the number of adjacent boxes.

Setup and Installation

To contribute to the Dot-Box repository, follow these steps:

  1. Fork the Repository: Click on the "Fork" button on the repository's GitHub page to create a copy of the repository in your GitHub account.

  2. Clone the repository: Clone the forked repository to your local machine using the following command in your terminal.

    git clone https://github.com/<your-github-username>/Dot-Box
  3. Add a remote upstream:

    git remote add upstream https://github.com/ChromeGaming/Dot-Box
  4. Create a new branch: Create a new branch for your changes. Run the following command in your terminal.

    git checkout -b <your-branch-name>
  5. Make the desired changes: Make the desired changes to the source code. 6. Add your changes: Add your changes to the staging area. Run the following command in your terminal.

    git add <File1 changed> <File2 changed> ...
  6. Commit your changes: Commit your changes with a meaningful commit message. Run the following command in your terminal.

    git commit -m "<your-commit-message>"
  7. Push your changes: Push your changes to your forked repository. Run the following command in your terminal

    git push origin <your-branch-name>
  8. Create a Pull Request: Go to the GitHub page of your forked repository. You should see a prompt to create a pull request (PR). Click on it, compare the changes, and create the PR.


Screenshots ๐Ÿ“ธ

Screenshot


Working video ๐Ÿ“น

Dots_and_Boxes_Game.mp4

Our Contributors

dot-box's People

Contributors

ayush-t02 avatar durgesh4993 avatar aditya-bhaumik avatar partha120804 avatar saipradyumnagoud avatar srinidhifd avatar deekshit7483 avatar karthik174 avatar aslams2020 avatar anandpanda avatar mondalsurojit avatar thevijayshankersharma avatar harshitgupta1511 avatar hars-21 avatar vimall03 avatar taniya542 avatar shuhaki avatar dishathakurata avatar drishyashah avatar ankitsinghbisht8 avatar shraddhha avatar pankajr007 avatar pallavigudupallavi avatar meetjain1 avatar harman8815 avatar abhayvershwal avatar ramakrushnabiswal avatar siddharthaarepalli avatar solanki505 avatar suhainafathimam 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.