Bepool 🍟
Bepool 🍟
CC#
Created by Bepool 🍟 on 7/3/2023 in #help
❔ Why is there no color
thanks
31 replies
CC#
Created by Bepool 🍟 on 7/3/2023 in #help
❔ Why is there no color
it works now
31 replies
CC#
Created by Bepool 🍟 on 7/3/2023 in #help
❔ Why is there no color
oh there we go
31 replies
CC#
Created by Bepool 🍟 on 7/3/2023 in #help
❔ Why is there no color
sorry i just got mixed up
31 replies
CC#
Created by Bepool 🍟 on 7/3/2023 in #help
❔ Why is there no color
oh
31 replies
CC#
Created by Bepool 🍟 on 7/3/2023 in #help
❔ Why is there no color
but why doesn't void Start have no color?
31 replies
CC#
Created by Bepool 🍟 on 7/3/2023 in #help
❔ Why is there no color
oh mb i forgot that
31 replies
CC#
Created by Bepool 🍟 on 7/3/2023 in #help
❔ Why is there no color
vs code
31 replies
CC#
Created by Bepool 🍟 on 6/28/2023 in #help
❔ Is there a way to not let there be user inputs in the terminal?
ok!! ty
15 replies
CC#
Created by Bepool 🍟 on 6/28/2023 in #help
❔ Is there a way to not let there be user inputs in the terminal?
so ReadKey(True) wont display it
15 replies
CC#
Created by Bepool 🍟 on 6/28/2023 in #help
❔ Is there a way to not let there be user inputs in the terminal?
ohh
15 replies
CC#
Created by Bepool 🍟 on 6/28/2023 in #help
❔ Is there a way to not let there be user inputs in the terminal?
ok
15 replies
CC#
Created by Bepool 🍟 on 6/28/2023 in #help
❔ Is there a way to not let there be user inputs in the terminal?
using System;
class Program
{
static void Main(string[] args)
{
//Adds visual settings
Console.Title = ("Pokemon Battle Arena");
Console.ForegroundColor = ConsoleColor.Yellow;

Pokemon pikachu = new Pokemon("Pikachu", "Thundershock"); //Setting for Pikachu
Pokemon squirtle = new Pokemon("Squirtle", "Aqua Jet"); //Setting for Squirtle

//Pikachu's moveset
while (true)
{
//Makes a variable to check when a key is pressed
ConsoleKeyInfo keyInfo = Console.ReadKey();

// Check if the pressed key is 'Enter'
if (keyInfo.Key == ConsoleKey.Enter)
{
pikachu.CastAbility();
}

// Check if the pressed key is 'R'
if (keyInfo.Key == ConsoleKey.R)
{
pikachu.Rest();
}

//Stops the program after pressing 'Esc'
if (keyInfo.Key == ConsoleKey.Escape)
{
break;
}
}

}
}
using System;
class Program
{
static void Main(string[] args)
{
//Adds visual settings
Console.Title = ("Pokemon Battle Arena");
Console.ForegroundColor = ConsoleColor.Yellow;

Pokemon pikachu = new Pokemon("Pikachu", "Thundershock"); //Setting for Pikachu
Pokemon squirtle = new Pokemon("Squirtle", "Aqua Jet"); //Setting for Squirtle

//Pikachu's moveset
while (true)
{
//Makes a variable to check when a key is pressed
ConsoleKeyInfo keyInfo = Console.ReadKey();

// Check if the pressed key is 'Enter'
if (keyInfo.Key == ConsoleKey.Enter)
{
pikachu.CastAbility();
}

// Check if the pressed key is 'R'
if (keyInfo.Key == ConsoleKey.R)
{
pikachu.Rest();
}

//Stops the program after pressing 'Esc'
if (keyInfo.Key == ConsoleKey.Escape)
{
break;
}
}

}
}
15 replies
CC#
Created by Bepool 🍟 on 6/28/2023 in #help
❔ Is there a way to not let there be user inputs in the terminal?
how do i not get the r inside the terminal
15 replies
CC#
Created by Bepool 🍟 on 6/28/2023 in #help
❔ Is there a way to not let there be user inputs in the terminal?
to be honest i dont know what i'm saying, im not very good at english
15 replies
CC#
Created by Bepool 🍟 on 6/28/2023 in #help
❔ Is there a way to not let there be user inputs in the terminal?
This is the code in Main
15 replies
CC#
Created by Bepool 🍟 on 6/28/2023 in #help
❔ Is there a way to not let there be user inputs in the terminal?
15 replies