Rock Paper Scissors | Source Code | Mr. UnRivaled |
Rock Paper Scissors | Source Code | Creators_world | Hello Friends ! Welcome to my blog ! Here is the source code for the program . . . Thankyou for visiting my blog ! import androidhelper import random from os import * import time android = androidhelper.Android() def main(): title = 'Rock, Paper, Scissors' message = ('Choose anyone from the following...') android.dialogCreateAlert(title, message) android.dialogSetPositiveButtonText('Rock') android.dialogSetNegativeButtonText('Paper') android.dialogSetNeutralButtonText('Scissors') android.dialogShow() global response response = android.dialogGetResponse().result return response['which'] in ('positive', 'negative', 'neutral') def main2(): global a a = response['which'] in ('positive') global b b = response['which'] in ('negative') ...