r2dliu / clueless Goto Github PK
View Code? Open in Web Editor NEWlol
lol
Have icons for characters to display on the game board. The icons should show up during character selection
Display a game board that tracks players' locations. The locations should update when a player moves.
Move the player controls to the sidebar and clean up the sizing/spacing of the buttons
Unless its turn 1, a users turn should not automatically end after movement. Suggestions and accusations can occur after movement
Backend, when receiving a message that contains an action such as "move", "suggestion", "accusation", etc, should check the current turn and if it doesn't match the client, send back an error that can be displayed on the front end.
Back end: do validation
front end: display banner / popup for "not your turn" or "invalid move" or similar
Front end change: make buttons send message via websocket with type "suggestion" along with weapon, room, and suspect, similar to what currently exists for accusation
Currently incomplete accusations (some/all options not selected from dropdowns) can be submitted.
Ideally we would:
Assuming same issue exists for suggestions.
Lock characters that have been already selected during the character selection
Apparently multiple player tokens in a room will stack, obscuring some of them. Since suggestions move a player to the same room as the suggester, this may be a problem in the demo.
While you're at it, maybe make the player tokens glow white? So they're easier to see against the busy backgrounds of the rooms.
GUI should have at least simple graphics, display cards and show player locations on the board.
If there's time, try to implement the player notepad.
If all players make incorrect accusations the game should end with no winner.
Current behavior: errors out because no players remain in the turn order
Right now you can make an accusation with any card, but the game rules say you can't use the visible cards that no player is holding. Should be a very quick fix, just remove the visible cards from the drop down menus.
The same rule applies to suggestions, but that was fixed in Suggestion Turn Order #42.
Add a modal that explains the game rules to players after Start Game has been select
Right now, the actual-move options stay visible after being clicked, allowing a player to submit multiple moves on their turn.
Also, the "cancel suggestion" and "cancel accusation" buttons should make the dialogs disappear, but that's less important.
As of now, terminate_suggestion does not clear the card that disproved the suggestion and who started the suggestion. There are two dialogs written in suggestions to display the results of the suggestion. However, there is a bug with actually displaying them. This task is to display those two new states
Players that do not select a character before another player starts the game should be assigned a random available character token
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.