Skip to content

Instantly share code, notes, and snippets.

View git2samus's full-sized avatar

Michael Cetrulo git2samus

View GitHub Profile
@git2samus
git2samus / bot.py
Last active November 13, 2015 20:31 — forked from anonymous/bot.py
from gamebot import GameBot
class Bot(GameBot):
# Possible directions where a unit can move to
# self.NW, self.N, self.NE, self.E, self.SE, self.S, self.SW, self.W
# game_map : Is a python dictionary:
# - key = (x, y) that indicates a coordinate. x and y are integers.
# - value = a Tile object.
#!/bin/sh
USAGE="list | <types> ..."
LONG_USAGE="Generate/Append the repo's .gitignore file using the gitignore.io api
`curl -s http://gitignore.io/api/`"
SUBDIRECTORY_OK=
OPTIONS_SPEC=
. "$(git --exec-path)/git-sh-setup"