eImports SysteeImports System
Dim start_game as integer
Dim player_position as integer
Dim enemy_position as integer
Dim player_health as integer
Dim enemy_health as integer
Dim previous_player_position as integer
Dim previous_enemy_position as integer
console.WriteLine("Welcome to Blind Fighters")
console.WriteLine("Hello there gamer welcome to Blind Fighters")
console.WriteLine("For the safety of our customers ")
console.WriteLine("Plese enter your full name and age below")
console.WriteLine("Enter first name")
first_name = console.ReadLine()
console.WriteLine("Enter your surname")
surname = console.ReadLine()
console.WriteLine("Enter your age")
console.writeline("Hello there " & first_name & " " & surname & " you are " & age & " years old")
console.WriteLine("Your to young to play this game you must be 13 or over to play!")
Console.WriteLine("What would you like your display name to be?")
username = console.ReadLine()
console.WriteLine(""& username & " To start the game type 1 for yes and 2 for no")
start_game = console.ReadLine()
loop until start_game = 1
console.WriteLine("You have " & player_health & " hearts")
console.WriteLine("The enemy have " & enemy_health & " hearts")
console.WriteLine("You are the x and the enemy is the o")
console.WriteLine("[x] [ ] [ ]")
console.WriteLine("[ ] [ ] [ ]")
console.WriteLine("[ ] [ ] [o]")
console.WriteLine("Where would you like to move")
console.writeline("Type 1 to move left")
console.WriteLine("Type 2 to move right")
console.WriteLine("Type 3 to move up")
console.WriteLine("Type 4 to move down")
move = console.ReadLine()
previous_player_position = player_position
previous_enemy_position = enemy_position
player_position = player_position - 1
if player_position < 1 or player_position > 9 then
player_position = previous_player_position
player_position = player_position + 1
if player_position < 1 or player_position > 9 then
player_position = previous_player_position
player_position = player_position - 3
if player_position < 1 or player_position > 9 then
player_position = previous_player_position
player_position = player_position + 3
if player_position < 1 or player_position > 9 then
player_position = previous_player_position