#! /usr/bin/env python3 import random as r import threading as th import tkinter as tk # Gampelay constants ROCK = 0 SCISSORS = 1 PAPER = 2 # Score variables PLAYER_SCORE = 0 EYEGUY_SCORE = 0 # Threading timer object TIMER = None def main(): """ Main method of the game. """ def reset(): """ Restarts the game. """ global PLAYER_SCORE, EYEGUY_SCORE PLAYER_SCORE = 0 EYEGUY_SCORE = 0 player_label["text"] = "Humanoid> " + str(PLAYER_SCORE) eyeguy_label["text"] = str(EYEGUY_SCORE) + "