Skip to content

Instantly share code, notes, and snippets.

@nicusg
nicusg / warrior.rb
Last active December 21, 2015 10:18
Rewritten some methods
class Player
@stairs = false
@wall = false
@warrior
def play_turn(warrior)
@warrior = warrior
if damaged_from_behind
warrior.shoot!(:backward)
else

Keybase proof

I hereby claim:

  • I am nicusg on github.
  • I am nicu_g (https://keybase.io/nicu_g) on keybase.
  • I have a public key whose fingerprint is 10CE C645 FD09 511E A7CC BD9F DE94 AB87 17DD F891

To claim this, I am signing this object: