print("\033c") import time import os def psrpro(): CGREEN = '\33[32m' CYELLOW = '\33[93m' CORANGE = '\33[33m' CRED = '\033[91m' CPURPLE = '\33[95m' CBLUE = '\33[34m' CEND = '\033[0m' print(CGREEN + "▀███▀▀▀██▄ ▄█▀▀▀█▄████▀▀▀██▄ ▀███▀▀▀██▄▀███▀▀▀██▄ ▄▄█▀▀██▄ " + CEND) time.sleep(0.7) print(CYELLOW + " ██ ▀██▄██ ▀█ ██ ▀██▄ ██ ▀██▄ ██ ▀██ ██▀ ▀██▄" + CEND) time.sleep(0.7) print(CORANGE + " ██ ▄██▀███▄ ██ ▄██ ██ ▄██ ██ ▄██ ██▀ ▀██" + CEND) time.sleep(0.7) print(CRED + " ███████ ▀█████▄ ███████ ███████ ███████ ██ ██" + CEND) time.sleep(0.7) print(CPURPLE + " ██ ▄ ▀██ ██ ██▄ ██ ██ ██▄ ██▄ ▄██" + CEND) time.sleep(0.7) print(CBLUE + "▄████▄ █▀█████▀▄████▄ ▄███▄ ▄████▄ ▄████▄ ▄███▄ ▀▀████▀▀ " + CEND) time.sleep(0.7) print("Paper, Scissors, Rock! 1983 Pro Edition") print() def banner(): CGREEN = '\33[32m' CYELLOW = '\33[93m' CORANGE = '\33[33m' CRED = '\033[91m' CPURPLE = '\33[95m' CBLUE = '\33[34m' CEND = '\033[0m' print(CGREEN + "▀███▀▀▀██▄ ▄█▀▀▀█▄████▀▀▀██▄ ▀███▀▀▀██▄▀███▀▀▀██▄ ▄▄█▀▀██▄ " + CEND) print(CYELLOW + " ██ ▀██▄██ ▀█ ██ ▀██▄ ██ ▀██▄ ██ ▀██ ██▀ ▀██▄" + CEND) print(CORANGE + " ██ ▄██▀███▄ ██ ▄██ ██ ▄██ ██ ▄██ ██▀ ▀██" + CEND) print(CRED + " ███████ ▀█████▄ ███████ ███████ ███████ ██ ██" + CEND) print(CPURPLE + " ██ ▄ ▀██ ██ ██▄ ██ ██ ██▄ ██▄ ▄██" + CEND) print(CBLUE + "▄████▄ █▀█████▀▄████▄ ▄███▄ ▄████▄ ▄████▄ ▄███▄ ▀▀████▀▀ " + CEND) print("Paper, Scissors, Rock! 1983 Pro Edition") print() def menu(): os.system('cls||clear') psrpro() start = input("[s]tart, [r]ules or [c]redits: ").lower() if start == "s": start_game() elif start == "r": show_rules() print() restart = input("Type m to go back to menu: ") if restart == 'm': menu() elif start == "c": show_credits() print() restart = input("Type m to go back to menu: ") if restart == 'm': menu() else: menu() def start_game(): os.system('cls||clear') banner() playround() def show_rules(): print("If you don't know how to play Rock Paper Scissors, then maybe you should contemplate your own life") def show_credits(): print() print ("#--------------------------------------------------------------------------") print ("# Name : Paper, Scissors, Rock! Pro Edition") print ("# Version: v0.01") print ("# Author: Oscar Nicholas") print ("# Created : 2024") print ("# Copyright : © Oscar Nicholas 2024") print ("#--------------------------------------------------------------------------") def playround(): CGREEN = '\33[32m' CEND = '\033[0m' print ("Welcome to the " + CGREEN + "Duelerious " + CEND + "universe, the center of all duals and bets. ") print ("When you're ready, pick either [r]ock, [p]aper or [s]cissors: ") menu()