Skip to content

Commit

Permalink
v3 updaTE
Browse files Browse the repository at this point in the history
  • Loading branch information
SlothPerson1234 committed Feb 27, 2019
1 parent 35ed8f0 commit a1a29a5
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion game1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,35 @@ def tower
end
end

class Volume3
def initialize
puts "You wake up, in a small room, with a halway stretching out from it. 3 goblins attack. Do you attempt to run past them, or do you attack them?"
gets
battle1




end

def battle1
hud
puts "################################
___________ ####### ___________
| |_______| ______ |
| Arival _______ ( ) |
|___________|#######| |
_________________###| |
<----- Exit |##| [] [] |
|_____________ |##| |
##############| |__| [] [] /
##############|________________/#"
end



end

#stats
$ac = 0
$atcsppeed = 0
Expand Down Expand Up @@ -713,6 +742,11 @@ def dungeonhealer2(healername)
dungeonhealer1(healername)
end
end

def battlehud(enemiename)
puts $player_name + " HP: " + currenthp + '/' + hp + "-----VS.-----" + enemiename
end

clear
timer(3)
puts "
Expand Down Expand Up @@ -1187,4 +1221,4 @@ def segment2
puts "Difficulty: Absulute Beginner"
puts "Warning: this level is a dungeon, that means it is the final level before a boss"
hint1 = rand(10)
puts "You wake up, in a small room"
v3 = Volume3.new

0 comments on commit a1a29a5

Please sign in to comment.