Skip to content

Commit

Permalink
- Added initial template for a more coherent game design
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveClement committed Dec 12, 2016
1 parent 53a33cd commit 14016a0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions 021_gameDevPrimer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# import pgzero wrapper workaround to easily call it from the CLI
from runpgzero import *

# Expose colors to our namespace
from colors import *

''' Declarations '''

''' Game Loop '''
# Event Handling
def on_mouse_down(pos, button):
pass

# Run Logic
def update():
pass

# Update the display
def draw():
pass

# Run the above code
run_pgzero()

0 comments on commit 14016a0

Please sign in to comment.