Create flip a coin game

i wanna show you how to create "flip a coin" game in app inventor.
first, create a new project in app inventor.
then, go to design section
add 2 labels,1 button and tiny db.
label 1 for flip a coin result and label 2 for Previous game result
button 1 for flip a coin
tiny db for store result


go to block section

use this blocks :point_up_2:
and results :point_down:
image
image
image
AIA File for test :point_down:
flip_a_coin.aia (2.4 KB)
and Video tutorial :point_down:


have a question? write down below :slightly_smiling_face:

1 Like

I would highly recommend using this code instead as it is simpler and easier to understand:


I personally don't think the last result is needed so I just did the flip coin part of the code!
Hope this helps,
Brady

4 Likes

Thank you so much, cool :slightly_smiling_face: :ok_hand: