FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
-python/data/main.py at master · TobyfoxpurePython/-python · GitHub
TobyfoxpurePython
-python
Repository navigation
Code
Issues
1
(1)
Pull requests
2
(2)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
-python
/
data
/
main.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (14 loc) · 571 Bytes
Breadcrumbs
-python
/
data
/
main.py
Copy path
File metadata and controls
21 lines (14 loc) · 571 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
__author__
=
'justinarmstrong'
from
.
import
setup
,
tools
from
.
states
import
main_menu
,
load_screen
,
level1
from
.
import
constants
as
c
def
main
():
"""Add states to control here."""
run_it
=
tools
.
Control
(
setup
.
ORIGINAL_CAPTION
)
state_dict
=
{
c
.
MAIN_MENU
:
main_menu
.
Menu
(),
c
.
LOAD_SCREEN
:
load_screen
.
LoadScreen
(),
c
.
TIME_OUT
:
load_screen
.
TimeOut
(),
c
.
GAME_OVER
:
load_screen
.
GameOver
(),
c
.
LEVEL1
:
level1
.
Level1
()}
run_it
.
setup_states
(
state_dict
,
c
.
MAIN_MENU
)
run_it
.
main
()
Back
|
FazBrowse Home
|
New Git URL