Giter Club home page Giter Club logo

gobanggame's People

Contributors

chen-yingfa avatar jimmychan999 avatar timmychan97 avatar tommychan6 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gobanggame's Issues

Take "overlines" into account

Overlines are when more than 5 stones of same color are in a line, this do not result in victory according to current official rules.

Add timer

Should have two timers, one for each player.

Support for extra rules such as "overlines", "three and three" etc.

Specifically, should allow user to turn on extra rules that influence the determination of victory. I think we should at least support the following rules:

  • Ban overlines: User can't win by creating line with more than 5 stones of the same color.
  • Ban three and three: User can place a stone that create two unblocked three in a rows at the same time.
  • Ban four and four: Similar to above, but no double unblocked four in a rows.

Remove unplacable gaps on the board

Currently, the user can only place stones when the mouse is inside the circular div that represent the stone, but this causes there to be a certain amount of gap between stones that are not interactable.

Request:
Make the gap disappear. Instead of only allowing the user to place stone when the mouse is inside the div, assume that the player's mouse is on the nearest div instead.

UI update

  • Remove useless links to pages
  • Add link to GitHub repo at the bottom of the page
  • Add logo/title of website on the top left corner
  • Better popup message on victory
  • Tooltip for showing whose's turn it is
  • Highlight the winning row
  • Add content to the "help" page

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.