summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2020-12-21 19:02:26 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2020-12-21 19:02:26 +0100
commit83384066690ddd70acc7b33574579a5a7bf83ec2 (patch)
treef833b9d94730c37749c15ed17a87618a9babc785
Initial commit
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rw-r--r--cameltris.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/cameltris.py b/cameltris.py
new file mode 100644
index 0000000..4fd144a
--- /dev/null
+++ b/cameltris.py
@@ -0,0 +1,13 @@
+import pygame
+
+
+pygame.init()
+
+screen = pygame.display.set_mode((500, 1000))
+
+while True:
+ for event in pygame.event.get():
+ if event.type == pygame.QUIT:
+ break
+
+ pygame.display.flip()