diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-12-21 19:02:26 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-12-21 19:02:26 +0100 |
commit | 83384066690ddd70acc7b33574579a5a7bf83ec2 (patch) | |
tree | f833b9d94730c37749c15ed17a87618a9babc785 |
Initial commit
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rw-r--r-- | cameltris.py | 13 |
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() |