Skip to content

Instantly share code, notes, and snippets.

@toolmantim
Created October 21, 2008 06:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toolmantim/18258 to your computer and use it in GitHub Desktop.
Save toolmantim/18258 to your computer and use it in GitHub Desktop.
class WarOccupationTypeGame
include TwitterIntegration
include GamingEngine
include HTMLisedMap
include Europe
include CollectiveConciousness
attr_accessor :player, :scoreboard, :europe, :map
def receive(tweet)
raise StupidUserError if europe.not.include?(tweet.map_location)
player.make_move(tweet.map_location)
map.draw(europe.occupations)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment