Alexis Espinoza
Full Stack Developer | phone number | |
---|---|---|
Alexis Espinoza | ajespiv@gmail.com | (786) 296-1354 |
Wyncode Academy — Miami, Fl
Alexis Espinoza
Full Stack Developer | phone number | |
---|---|---|
Alexis Espinoza | ajespiv@gmail.com | (786) 296-1354 |
Wyncode Academy — Miami, Fl
game_over = false | |
def dragon_method | |
puts " Danaerys took off with the dragons you want a direct attack or surprise attack?" | |
puts " 1: Surprise Attack" | |
puts " Any key: Direct Attack" | |
attack_choice = gets.chomp.to_i | |
if attack_choice == 1 | |
puts "No coward can rule the Iron Throne" |
class UsersController < ApplicationController | |
before_action :set_user, :only [:show, :edit, :update, :destroy] | |
after_action :notify_channel | |
def index | |
@users = User.all | |
end | |
def show |
game_over = false | |
def dragon_method | |
puts " Danaerys took off with the dragons you want a direct attack or surprise attack?" | |
puts " 1: Surprise Attack" | |
puts " Any key: Direct Attack" | |
attack_choice = gets.chomp.to_i | |
if attack_choice == 1 | |
puts "No coward can rule the Iron Throne" |