Description: The game uses ordinary deck of playing cards, the aces are taken to have value of 1. The basic game proceeds by having 4 cards dealt and the first player that can achieve the number 24 exactly using only allowed operations (addition, subtraction, multiplication, division and parentheses) wins the hand.
Support Language: Chinese, English, French
Source code:
Card.java: I created Class Card to implement Parcelable because i need it to pass the Card instant ArrayList to onSaveInstanceState Event in GameActivity(MainActivity). So that when user change layout, the App will remember how many cards left in the ArrayList.
Deck.java: click to see the source code
GameActivity.java: click to see the source code
PopupFragment.java: click to the source code
screenshots:
⚠提示 ━━ 您已经获得了被李云龙的你他娘的意大利炮炮轰体验权,是否领取? ————————————————————— 确认 │ 领取