-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathcodeform.py
More file actions
46 lines (34 loc) · 793 Bytes
/
codeform.py
File metadata and controls
46 lines (34 loc) · 793 Bytes
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import pgzrun
import random
FONT_COLOR = (255, 255, 255) #màu RGB
WIDTH = 1300
HEIGHT = 700
CENTER_X = WIDTH / 2
CENTER_Y = HEIGHT / 2
CENTER = (CENTER_X, CENTER_Y)
def draw():
screen.clear()
screen.blit("dark",(0,0))
def update():
pass
def make_impostors(number_of_impostors):
pass
def get_colors_to_create(number_of_impostors):
pass
def create_impostors(colors_to_create):
pass
def layout_impostors(impostors_to_layout):
pass
def animate_impostors(impostors_to_animate):
pass
def handle_game_over():
pass
def on_mouse_down(pos):
pass
def red_impostor_click():
pass
def stop_animations(animations_to_stop):
pass
def display_message(heading_text, sub_heading_text):
pass
pgzrun.go()