jimmychan999 / gobanggame Goto Github PK
View Code? Open in Web Editor NEWA board game called GoBang (also known as Wuziqi or Gomoku) where two players alternatingly place stones. The first player who gets a five in a row wins the game.
A board game called GoBang (also known as Wuziqi or Gomoku) where two players alternatingly place stones. The first player who gets a five in a row wins the game.
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.
Should have two timers, one for each player.
This is because the page will use the style of light theme by default when page loads, and then the js updates the theme to dark theme. But I don't know how to set the theme before the page loads.
Sound effect on game start, game end (victory), and whenever a stone is placed.
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:
Need to add a backend, and matchmaking system.
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.
Update existing sound effects to better ones, and add sound effects on game start, game over, etc.
Support for viewing a replay of a game session
Replication: load page, then place a stone on the topmost or bottommost row, then the color won't change until you put a stone elsewhere.
Only the owner of the repo can do this.
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.