Git Product home page Git Product logo

clueless's People

Contributors

benferro avatar jsquires0 avatar melissaappel avatar r2dliu avatar rachelnewkirk avatar

Watchers

 avatar  avatar

clueless's Issues

Add Character icons

Have icons for characters to display on the game board. The icons should show up during character selection

Frontend controls for suggestion

  • open a dialog when a suggestion starts
  • prompt users to wait for their turn or disprove a suggestion
  • allow players to select a card to disprove the suggestion or pass

Display a game board

Display a game board that tracks players' locations. The locations should update when a player moves.

Initiate a suggestion

  • backend message for when a suggestion is initiated, all players should get a message (maybe a game state 4)
  • send all players the current values for the suggestion and who made the suggestion

Suggestion Turn Sequence

  • After a suggestion has been initiated notify all other players
  • Allow players to select one of their cards to disprove the suggestion
  • If a player cannot disprove a suggestion, prompt them to pass
  • Move the appropriate player to the suggestion room

End Turn Button

Unless its turn 1, a users turn should not automatically end after movement. Suggestions and accusations can occur after movement

Validate turn order

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

Validate Accusation/Suggestions

Currently incomplete accusations (some/all options not selected from dropdowns) can be submitted.

Ideally we would:

  • check a user made selections for room, weapon, suspect
  • error pop up if incomplete, prevent user from submitting until completed

Assuming same issue exists for suggestions.

Disprove a suggestion

  • a backend endpoint to pass a "card" that disproves the current suggestion
  • should validate the player actually has the card

Display multiple players in a room

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.

Better looking GUI

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.

Ending Game

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

Fix accusation card selection

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.

Make player action options disappear when clicked or cancelled

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.

Suggestion Turn order

  • Backend endpoint for getting the next player to disprove a suggestion
  • should catch when we have made a full circle
  • should include players who have made an incorrect guess

Notify Suggestor the outcome of the suggestion

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

Default Character Assignment

Players that do not select a character before another player starts the game should be assigned a random available character token

Distribute Player Cards

  • Distribute cards to players and notify the player what cards they have
  • Keep a record of which players have which cards for the suggestion logic

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.