Skip to content

Instantly share code, notes, and snippets.

View dxdydz's full-sized avatar

Spencer Cappallo dxdydz

View GitHub Profile
@dxdydz
dxdydz / liarsdice.py
Created April 18, 2012 04:45
Python Liar's Dice
import random
import time
NUMBERWORDS = 'zero one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen twenty twenty-one twenty-two twenty-three twenty-four twenty-five'.split()
NUMBERPLURALS = 'q ones twos threes fours fives sixes'.split()
names = 'Josie Henry Catherine Alice Henrietta Joseph Alistair Conrad Gary Bethany Susan Kirstie Maverick Mason Sophie Claire'.split()
def pause():
time.sleep(1)