repl.it
@me002/

Tourists and spies

Pygame

No description

fork
loading
Files
  • main.py
  • originalFile.py
  • tourtistMod.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Modules #

import touristMod
import pygame
import math
import time
import random
import termcolor
import os
import system

# Functions #
def clear(wait = 1.5):
    time.sleep(wait)
    os.system("clear")

def ans(x = ">>| ", color = "cyan", clearBool = True,  wait = 1):
    x = input(colored(x, "color"))
    if clearBool: clear(wait)
    return x

def playerCountCheck():
    global pCount
    cprint("How many players are there? (2-6)")
    try: pCount = int(ans())
    except: playerCountCheck
# Deck Object #

class deck:
    def __init__(self):
        global playerCount
Fetching token
?