view gamelib/constants.py @ 267:a534629f490f default tip

Fix urls
author Neil Muller <drnlmuller@gmail.com>
date Tue, 17 Mar 2020 22:39:54 +0200
parents 75033f790e7d
children
line wrap: on
line source

# The usual game constants

WIDTH = 800
HEIGHT = 600
SCREEN = (WIDTH, HEIGHT)
FPS = 30

WINDOW_ICON = "icons/icon_24.png"

# Result codes for UI hints
(MAJOR_SETBACK, FAILURE, SUCCESS, MAJOR_SUCCESS, GAME_WIN, INFO) = range(6)

# Planning to take over the:
MILESTONES = ("basement", "neighbourhood", "city", "world")
M_VALS = dict((name, i) for i, name in enumerate(MILESTONES))