Merge branch 'master' of git+ssh://ctpug.org.za/koperkapel
authoradrianna <adrianna.pinska@gmail.com>
Sun, 28 Feb 2016 15:23:11 +0000 (17:23 +0200)
committeradrianna <adrianna.pinska@gmail.com>
Sun, 28 Feb 2016 15:23:11 +0000 (17:23 +0200)
README
app.py [new file with mode: 0644]
koperkapel/__init__.py [new file with mode: 0644]
koperkapel/pgzapp.py [new file with mode: 0644]

diff --git a/README b/README
index a276e70856676f996570055638713ef3df4f4669..538904020b05a0cfed8be95610c266d07786c9bb 100644 (file)
--- a/README
+++ b/README
@@ -1,4 +1,8 @@
 This is the repo for the koperkapel team entry for pyweek 21.
 
-Created a few hours before the competition start to sort out irker config and
-such.
+Quickstart
+==========
+
+The koperkapel entry uses pygame-zero. Pygame-zero requires Python 3.
+Instructions for installing pygame-zero on various operating systems
+can be found at https://pygame-zero.readthedocs.org/en/latest/installation.html.
diff --git a/app.py b/app.py
new file mode 100644 (file)
index 0000000..cfe3902
--- /dev/null
+++ b/app.py
@@ -0,0 +1,8 @@
+#!/usr/bin/env pgzrun
+
+import os
+import sys
+
+sys.path.append(os.path.curdir)
+
+from koperkapel.pgzapp import *
diff --git a/koperkapel/__init__.py b/koperkapel/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/koperkapel/pgzapp.py b/koperkapel/pgzapp.py
new file mode 100644 (file)
index 0000000..225dde9
--- /dev/null
@@ -0,0 +1,5 @@
+""" Pygame-zero application module. """
+
+TITLE = "Koperkapel"
+WIDTH = 1024
+HEIGHT = 768