Giter Site home page Giter Site logo

hotdeath's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hotdeath's Issues

Dialog Disappears on Device Rotation

When I perform this sequence of events, right after installing the app:

  1.    Click on New Game
    
  2.    Click on an item on the list
    
  3.    Press on MENU Button of the device
    
  4.    Click on Card Info
    
  5.    Orientation Change
    

The dialog on screen disappears.

Anmitaions for the card

Having no animations and watching the actions unfold can sometimes be quite overwhelming.
It would be cool to have a some animations for cards being played so we cun understand better actions being played out!

Dialog Disappears on Device Rotation 3

When I perform this sequence of events, right after installing the app:

  1.    Click on New Game
    
  2.    Long Click on a CardinHand Item
    
  3.    Orientation Change
    

The dialog on screen disappears.

Rare case: Infinite Game Play Loop

I think I came across a rare case of where the round would never end.

The scenario:

  • All AIs' skill level is at its lowest
  • Three out of four players have 30+ cards on hand (North, West, and South)
  • There are no cards available from the draw pile; and only a few cards in the discard pile
  • West and South (the player) have been ejected in the following way: South playes Quitter, West plays Retaliation, South plays Virus
  • East has the Hot Death Wild Card

Some how, this sets the stage for a round that will never end. Would it be possible to track when the AI plays the same series of cards and just end the round?

Again, this is a rare case and there is no rush to have this resolved any time soon. :)

If there is a way for me to provide the game state JSON string, please let me know. I'll be glad to share it. Not sure where it's stored.

Random crash

I sometime have a crash that bring me back to the main screer.
I have no idea about how to reproduce it, but here is the logcat :
FATAL EXCEPTION: main Process: com.smorgasbork.hotdeath, PID: 30125 java.lang.IllegalStateException: View android.widget.LinearLayout{78ab32f V.E...... ......ID 0,0-366,103} has already been added to the window manager. at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:359) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:95) at android.widget.Toast$TN.handleShow(Toast.java:514) at android.widget.Toast$TN$1.handleMessage(Toast.java:417) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7356) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)

Dialog Disappears on Device Rotation 2

When I perform this sequence of events, right after installing the app:

  1.    Click on New Game
    
  2.    Click on an item on the list
    
  3.    Press on MENU Button of the device
    
  4.    Click on Card Info
    
  5.    Click on Card Item
    
  6.    Orientation Change
    

The dialog on screen disappears.

Crash when trying to draw a card from empty draw pile

The game will crash when you try to draw a card from an empty draw pile while there is only one card on the discard pile. This is the error log from android studio:

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.smorgasbork.hotdeath.Card.toString(android.content.Context, boolean)' on a null object reference
at com.smorgasbork.hotdeath.Game.cardToString(Game.java:2229)
at com.smorgasbork.hotdeath.Game.advanceRound(Game.java:1015)
at com.smorgasbork.hotdeath.Game.runRound(Game.java:798)
at com.smorgasbork.hotdeath.Game.run(Game.java:823)

Another error is, that two AI players will continue playing forever if all cards are on their hands. Both errors happen because of the combination of "Mystery Wild" and "69" card (when a player has to draw 69 cards).

Draw a card when you can stack

When you can stack a card (when a toast pops up that tells you how many defensive cards you have), you are able to draw a card. I think this is not allowed in the real game.

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.