Skip to content

Instantly share code, notes, and snippets.

View ajespiv's full-sized avatar

Alexander Espinoza ajespiv

  • Wyncode
  • Brooklyn, NY
View GitHub Profile

Alexis Espinoza

Full Stack Developer email phone number
Alexis Espinoza ajespiv@gmail.com (786) 296-1354

Experience

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"