Mercurial > mamba
view mamba/__main__.py @ 160:225214e2b1b4 scratch
Cleanup commit
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Tue, 13 Sep 2011 23:01:58 +0200 |
parents | db8f116c1c36 |
children | ba7a2c18a4f1 |
line wrap: on
line source
"""Main module for the game""" import os import pygame from pygame.locals import SWSURFACE from .constants import SCREEN # For future use DEBUG = False if os.environ.get('DEBUG'): DEBUG = True def main(): """Launch the currently unnamed mamab game""" pygame.display.init() pygame.font.init() # TODO: Sound initialisation pygame.display.set_mode(SCREEN, SWSURFACE) pygame.display.set_caption('Mamba') # Placeholder to do something for some time import time time.sleep(2)