npm install
npm run serve
npm run build
npm run lint
npm install
npm run serve
npm run build
npm run lint
If a player is disconnected and then reconnects when the game is on the "Game over" screen, showing all of the tiles flipped over, the reconnected player does not see the game over screen, but rather sees all of the cards as they would be otherwise.
I believe this is because the "game over" screen is triggered on the view layer by the "gameWon" event, but it not necessarily determined by the game state itself. So when the player reconnects it shows all the curreent game data but is not aware that the game has ended.
The most straightforward solution would be to make the view determine the Game Over screen compltely through the game state data. I propose to go further and solve this problem entirely to avoid future issues.
ALL view states should rely on the game data to know what to display, instead of certain events that may or may not have been caught.
When a codemaster voluntarily leaves the room they are not removed from the codemaster list.
Use various APIs and settings to allow a game to be played with a particular set of words.
This will let the game go beyond just "BOM", but also be customizeable
Make play instructions page/modal which is available from anywhere in app
When a user is playing as codemaster on a mobile phone and the phone goes to sleep, it is disconnected from the server. When the user turns their phone back on and reconnects to the room, they get the correct room data EXCEPT that they are no longer codemasters.
The game breaks because there is no way to change the codemaster and without the codemaster there is no way to flip cards.
Add more details and structure to home screen
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.