Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
de6e643
Update Greetings.cs
TaxesAreNice Sep 10, 2025
3e3c76b
popis
TaxesAreNice Sep 10, 2025
775cdc4
i did a calculator :>
TaxesAreNice Oct 1, 2025
69d0099
more chungeee, ypeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
TaxesAreNice Oct 1, 2025
2bf9a17
some stuff
TaxesAreNice Oct 1, 2025
1eb83fb
all, ig?
TaxesAreNice Oct 1, 2025
5a8328f
Calculator..YAY!
TaxesAreNice Oct 1, 2025
7a9e053
Pridal som % funkciu
TaxesAreNice Oct 7, 2025
e290fcb
menšia zmena keby bol error
TaxesAreNice Oct 7, 2025
33014ef
updated calculator ig? idk.. finaly used switch
TaxesAreNice Oct 8, 2025
214f846
moreee
TaxesAreNice Oct 8, 2025
d4d95a2
loop! >;)
TaxesAreNice Oct 8, 2025
082b985
uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
TaxesAreNice Oct 8, 2025
76cfaa4
alles für 15.10.2025
TaxesAreNice Oct 15, 2025
9e1971c
example for funcions
TaxesAreNice Oct 15, 2025
624de3e
Wizzard game i guess?
TaxesAreNice Oct 21, 2025
51f9363
goime
TaxesAreNice Oct 21, 2025
0345378
A text ti font text... it was hell
TaxesAreNice Oct 22, 2025
e38d699
idk mannnn
TaxesAreNice Oct 29, 2025
dc65793
the password generator
TaxesAreNice Nov 5, 2025
c4b9237
woooo, das ist sehr cool!
TaxesAreNice Nov 5, 2025
bd95bed
aaaaaaaaaaaaahhhhhhhhhhhh
TaxesAreNice Nov 12, 2025
c652ecb
im done...
TaxesAreNice Nov 12, 2025
508f897
Quiz OOP
TaxesAreNice Nov 18, 2025
169685a
It's finally done!!!!!!!!!
TaxesAreNice Nov 18, 2025
c7761a8
sssss
TaxesAreNice Nov 19, 2025
f6e69e3
fungujetooooooooooo
TaxesAreNice Nov 19, 2025
4a82f2e
catch funcion too, ig?
TaxesAreNice Nov 19, 2025
0f40034
vbvvv
TaxesAreNice Nov 26, 2025
7287a60
fafafela
TaxesAreNice Dec 3, 2025
682dc83
Two flyes with one stone
TaxesAreNice Dec 6, 2025
be48631
pushhhh
TaxesAreNice Dec 10, 2025
41fcbed
heck YEAAAAH
TaxesAreNice Dec 10, 2025
f40d8a5
uplpding this at the 14.... yes, im late
TaxesAreNice Dec 14, 2025
f3126c3
done for now
TaxesAreNice Dec 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
547 changes: 487 additions & 60 deletions AppsLab.CSharp.Exercises.sln

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions ConsolGame/ConsolGame.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
77 changes: 77 additions & 0 deletions ConsolGame/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
using System.ComponentModel.Design;

Console.WriteLine("Type a number (6-1)");
string? numberReader = Console.ReadLine();
int number = int.Parse(numberReader);

if (number >= 1 && number <= 5)
{
Console.WriteLine("You've won!");
}
else if (number == 6)
{
Console.WriteLine("You're going again");
}
else
{
Console.WriteLine("Give me that cube! YAY");
}


//int number = int.Parse(numberReader); is the convertor from a string to a number.



//bool P1dead = false;

////Player 2 picks
//Console.WriteLine("Do you wanna hit, player 1?");
//string? ReadOpsionP1 = Console.ReadLine();
//if (ReadOpsionP1 == "yes")
//{
// Console.WriteLine("Player 1's dead");
// P1dead = true;
//}
//else if (ReadOpsionP1 == "no")
//{
// Console.WriteLine("Okay, i guess?");
//}
//else
//{
// Console.WriteLine("I guess not");
//}


////Player 2 picks
//if (P1dead == false)
//{
// Console.WriteLine("Do you wanna hit, player 2?");
// string? ReadOpsionP2 = Console.ReadLine();
// if (ReadOpsionP2 == "yes")
// {
// Console.WriteLine("Player 2's dead");

// }
// else if (ReadOpsionP2 == "no")

// {
// Console.WriteLine("Okay, i guess?");
// }
// else
// {
// Console.WriteLine("I guess not");
// }

//}












10 changes: 10 additions & 0 deletions Dedičnosť/Dedičnosť.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
2 changes: 2 additions & 0 deletions Dedičnosť/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
11 changes: 11 additions & 0 deletions DoingShetAt-1.12.25/DoingShetAt-1.12.25.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>DoingShetAt_1._12._25</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
6 changes: 6 additions & 0 deletions DoingShetAt-1.12.25/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
string ff = "===\n===\n===";

Console.SetCursorPosition(1, 1);
{
Console.WriteLine(ff);
}
10 changes: 10 additions & 0 deletions DrawingShet/DrawingShet.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
93 changes: 93 additions & 0 deletions DrawingShet/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@

//Console.SetCursorPosition(10, 4);
//{
// Console.WriteLine("╔");
//}
bool Highty = false;

Console.WriteLine("Lenght? Careful with the window size, tho");
int lenght = int.Parse(Console.ReadLine());

Console.WriteLine("Hight? Careful with the window size, tho");
int hight = int.Parse(Console.ReadLine());
if (hight <= 1)
{
Highty = true;
}
int x = 0;
int y = 0;
if (Highty)
{
Console.WriteLine("That can't work, bro");
}
else
{
Console.WriteLine("x?");
x = int.Parse(Console.ReadLine());

Console.WriteLine("y?");
y = int.Parse(Console.ReadLine());
up();
middle();
end();
}

void up()
{
Console.SetCursorPosition(x, y);
{
Console.WriteLine("╔");
}
int i = 1;
while (i < lenght - 1)
{
Console.SetCursorPosition(x + i, y);
{
Console.WriteLine("═");
}
i++;
}

Console.SetCursorPosition(x + i, y);
{
Console.WriteLine("╗");
}
}

void middle()
{
for (int i = 1; i <= hight - 2; i++)
{
Console.SetCursorPosition(x, y + i);
{
Console.WriteLine("║");
}
Console.SetCursorPosition(x + lenght - 1, y + i);
{
Console.WriteLine("║");
}
}
}

void end()
{
int weirdY = y + hight - 1;
Console.SetCursorPosition(x, weirdY);
{
Console.WriteLine("╚");
}
int i = 1;
while (i < lenght - 1)
{
Console.SetCursorPosition(x + i, weirdY);
{
Console.WriteLine("═");
}
i++;
}

Console.SetCursorPosition(x + i, weirdY);
{
Console.WriteLine("╝");
}
}
29 changes: 29 additions & 0 deletions Fafafela/Animal.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@


namespace Fafafela
{
internal class Animal
{
public bool bylinozravec = false;

public void setFood(bool SiBylinozravec)
{
bylinozravec |= SiBylinozravec;
}



public bool CanEatOtherAnimal()
{
if (bylinozravec == true)
{
return false;
}
else
{
return true;
}

}
}
}
10 changes: 10 additions & 0 deletions Fafafela/Fafafela.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
24 changes: 24 additions & 0 deletions Fafafela/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// trieda Animal
// 2 zvierata
// 1th zviera will be mesozravec
//2th bilinovraver
//bylono, ziest ine zviera
//mesokrava zie ine zviera



using Fafafela;

//the sistering thing in the Fafafela, but not really, idk
Animal bylinozravec = new Animal();

//metoda
bylinozravec.setFood(true);

Animal mesozravec = new Animal();
mesozravec.setFood(false);

bool mozeBylinozravecJest = bylinozravec.CanEatOtherAnimal();
bool mozeMesozravecJest = mesozravec.CanEatOtherAnimal();

Console.WriteLine($"byli:{mozeBylinozravecJest}, Meso:{mozeMesozravecJest}");
11 changes: 11 additions & 0 deletions Fanfanfela Helper/Fanfanfela Helper.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>Fanfanfela_Helper</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
Loading