You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to call warrior.bind! from a method of a class that I defined, but it only worked once. When it got to turn two, I got an error stating that I can only perform one action per turn.
(eval):2:in 'bind!': Only one action can be performed per turn. (RuntimeError)
I was playing level 3 in the intermediate tower.
When I changed it so that it was calling warrior.bind! directly from play_turn it worked.
I tried to call
warrior.bind!
from a method of a class that I defined, but it only worked once. When it got to turn two, I got an error stating that I can only perform one action per turn.(eval):2:in 'bind!': Only one action can be performed per turn. (RuntimeError)
I was playing level 3 in the intermediate tower.
When I changed it so that it was calling
warrior.bind!
directly fromplay_turn
it worked.The code is attached.
player.rb.txt
The text was updated successfully, but these errors were encountered: