Skip to content

Instantly share code, notes, and snippets.

View act65's full-sized avatar

Alex act65

View GitHub Profile
@jweissbock
jweissbock / settlers.py
Created November 15, 2011 01:22
PyGame Settlers of Catan
import pygame, sys, random, math
from pygame.locals import *
# set up game
pygame.init()
mainClock = pygame.time.Clock()
# create window
WINDOWWIDTH = 600
WINDOWHEIGHT = 600
import pyeliza
class Eliza:
aliases = 'eliza'
description = 'Virtual therapist'
_therapist = pyeliza.eliza()
def execute(self, expression, context):
'''
>>> from mock import Mock