GithubHelp home page GithubHelp logo

townsquare-client's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

townsquare-client's Issues

Opponent GR buttons clickable causing disappearing of the game

Describe the bug
The + and - buttons are visible and clickable for the opposing player. Clicking on them and moving the cursor to the play area can cause the game to disappear.

To Reproduce
Steps to reproduce the behavior:

  1. Start the game, there should be + and - GR buttons visible in the opponents stat area (top)
  2. Click on one of the buttons and move mouse to the play area (town)
  3. The game should disappear with only the main menu visible, and text "Waiting for server..."
  4. In the console (dev tools), you should see Uncaught TypeError: this.props.sendGameMessage is not a function

Additional context
raven.js:381 Uncaught TypeError: this.props.sendGameMessage is not a function
at PlayerStats.value (PlayerStats.jsx:14)
at Object.p (react-dom.production.min.js:15)
at Object.invokeGuardedCallback (react-dom.production.min.js:16)
at Object.invokeGuardedCallbackAndCatchFirstError (react-dom.production.min.js:16)
at C (react-dom.production.min.js:20)
at P (react-dom.production.min.js:22)
at R (react-dom.production.min.js:22)
at Y (react-dom.production.min.js:21)
at H (react-dom.production.min.js:24)
at F (react-dom.production.min.js:24)
at gn (react-dom.production.min.js:83)
at batchedUpdates (react-dom.production.min.js:187)
at Be (react-dom.production.min.js:42)
at Ln (react-dom.production.min.js:85)
at interactiveUpdates (react-dom.production.min.js:188)
at xn (react-dom.production.min.js:84)
at HTMLDocument.o (raven.js:377)

Implement Shootout panel

Should use information provided by sever (needs to be implemented on backend) and display it in the status area.
General info:

  • shootout round
  • shootout effects

Player info:

  • shooter
  • stud/draw bonus
  • hand rank
  • casualties

Update deck building rules

  • core deeds do not count towards starting posse limit in new rules
  • jokers should not be restricted in new restricted list
  • rename restricted lists (Old Timer, Weird West)
  • only in-faction dudes can be in starting posse

Small UI improvements

Will be probably transferred to townsquare-client

  • Draw Hand modal has sizing/positioning issues

Legal text in About page

Add legal text to the About page:

Deadlands: The Weird West, and Doomtown Artwork,, logos, and the Pinnacle Logo are all (C) Great White Games, LLC; DBA Pinnacle Entertainment Group and used with permission. Pine Box Entertaiment and the Pinebox are (C) Pine Box Entertainment, LLC {Year}.

New tokens for cards

  • value
  • suit
  • bullet
  • influence
  • control
  • wanted
  • unscripted
  • upkeep/production

Check only if the token was also implemented.

Improve draw hand UI

  • Order draw hand based on value and suit
    To make it easier to orient in the draw hand, and because you cannot reorganize, it would be better to order first based on value, and then based on suit. That way it will be clear you have cheating hand.
  • Create pop up window also for draw hand
  • #85
  • Create option in settings for automatic draw hand ordering
    User should be able to set if he want the hand to be ordered manually or automatically
    ** Not needed **
  • Draw Hand modal has sizing/positioning issues

Draw Hand Popup Closes after using Draw bonus

Describe the bug
When discarding and redrawing cards for your shootout round's draw bonus, the Draw Hand popup closes instead of staying open.

To Reproduce
Steps to reproduce the behavior:

  1. Start a game, get into a shootout where you have at least 1 Draw bonus.
  2. Select at least one card to discard and redraw.

Observed Results: The Draw Hand window closes unexpectedly.

Additional context
You can reopen the window after.

Error on goods card menu

Card
Any goods or spell card attached to a card in play.

Describe the bug
If you have a card attached to another one in play, and you click on it to open a menu, the menu does not close when you click on a different card. Also, there is a Uncaught TypeError in the console.

To Reproduce
Steps to reproduce the behavior:

  1. Attach any card (goods, spell) on a different card in play
  2. Click on the attached card, card menu opens
  3. Click on a different card, card menu opens
  4. Error is that the previous menu on an attached card does not close, and in case you open a console (Dev tools in Chrome), you will see Uncaught TypeError: this.props.handleMenuChange is not a function

Additional context
Full stack:

Uncaught TypeError: this.props.handleMenuChange is not a function
    at ProxyComponent.onClick (Card.jsx:92)
    at ProxyComponent.onClick (react-hot-loader.development.js:541)
    at onClick (Card.jsx:284)
    at HTMLUnknownElement.callCallback (react-dom.development.js:100)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:138)
    at Object.invokeGuardedCallback (react-dom.development.js:187)
    at Object.invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:201)
    at executeDispatch (react-dom.development.js:466)
    at executeDispatchesInOrder (react-dom.development.js:488)
    at executeDispatchesAndRelease (react-dom.development.js:586)

Card menu should be visible

Enhancement to update the card menu do it will be aligned based on the board position.
For example if I will click on the card in the bottom part (my street), menu should be aligned with the bottom rim of the card so it will not go down below the player home row.
If the card is on top of the board (opponent street), the menu stays aligned as it is now, with the top rim of the card.

Second or or more attachments are hidden under opposing dudes in Town Square

Card
Any dude card with more than one attachment

Describe the bug
If you have a dude with 2 or more attachments, and they are in Town Square and there is also an opposing dude in Town Square, you will only be able to see the title of the first attachment. The rest are hidden underneath the opposing dude's card.

To Reproduce
Steps to reproduce the behavior:

  1. Put a second attachment on a dude
  2. Move them to town square
  3. If there is an opponent in town square, make sure they are lined up across from each other
  4. You can only see the first attachment, and thus can only use one of your attachments.

Screenshots
If applicable, add screenshots to help explain your problem.
tommy two attachment
Tommy two attachment town square

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.