Skip to content

Instantly share code, notes, and snippets.

@asecondwill
Created November 29, 2013 21:46
Show Gist options
  • Save asecondwill/7712471 to your computer and use it in GitHub Desktop.
Save asecondwill/7712471 to your computer and use it in GitHub Desktop.
Warrior level 2
class Player
def play_turn(warrior)
if warrior.feel.empty?
warrior.walk!
else
warrior.attack!
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment