12 lines
261 B
Python
12 lines
261 B
Python
import sys, random
|
|
|
|
CELL_SIZE = 64
|
|
FPS = 60
|
|
|
|
map = open( sys.argv[1], 'r' )
|
|
GRID_WIDTH, GRID_HEIGHT = [int(x) for x in map.readline().split()]
|
|
|
|
WINDOW_HEIGHT = GRID_HEIGHT * CELL_SIZE
|
|
WINDOW_WIDTH = GRID_WIDTH * CELL_SIZE
|
|
|
|
HOUSE_CAPACITY = random.randint(1, 11) |