Display an infinite number of sub-windowsDisplay an infinite number of sub-windows
Developer User3104|Date and time 23/6/17 14:25:54 Build time 25.148 sec|Game capacity 2.233KB|Script
The sample code shown here is、A simple card game is implemented for operation on a smartphone.
card game
In this game.、Prepare all the playing cards in the initial state.、Each time a button is clicked, a card is drawn at random and、The cards drawn are displayed. Each time a card is drawn, the corresponding card is removed from the deck of playing cards, so、You can continue until you run out of cards.
Since the design only has cards and buttons、Its simple.、Easy to view on a mobile phone、We make it easy to operate.