Skip to content

Instantly share code, notes, and snippets.

View ajduncan's full-sized avatar
🏠
Working from home

Andy Duncan ajduncan

🏠
Working from home
View GitHub Profile
@ajduncan
ajduncan / bard.py
Created August 30, 2015 02:19
an example start for a rogue game which uses curses in python
#!/usr/bin/env python
import curses
window = curses.initscr()
def render(stdscr, x, y, msg):
if (x < 0 or y < 0): return
if (x >= curses.LINES or y >= curses.COLS): return
stdscr.addstr(x, y, msg)
#!/usr/bin/env python
from __future__ import print_function
import datetime
import random
types = ['foo', 'bar', 'baz']
versions = [1, 2, 3, 4, 5, 6, 7, 8, 9]
@ajduncan
ajduncan / keybase.md
Created August 22, 2014 15:09
keybase.md

Keybase proof

I hereby claim:

  • I am ajduncan on github.
  • I am ajduncan (https://keybase.io/ajduncan) on keybase.
  • I have a public key whose fingerprint is 3606 6AD7 8610 C170 60D5 5785 C94A 2554 AB0D 6C6F

To claim this, I am signing this object: