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.

click to see the source code

Deck.java: click to see the source code
GameActivity.java: click to see the source code
PopupFragment.java: click to the source code

screenshots: