Lingo, first commit

This commit is contained in:
Jocelyn 2026-08-01 17:21:07 -03:00
commit e5297b3b86
6 changed files with 5817 additions and 0 deletions

10
Lingo/Lingo.csproj Normal file
View file

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

9
Lingo/Program.cs Normal file
View file

@ -0,0 +1,9 @@
namespace Lingo;
class Program
{
static void Main(string[] args)
{
}
}

20
Lingo/Setup.cs Normal file
View file

@ -0,0 +1,20 @@
namespace Lingo;
public static class Setup
{
static Random rnd = new Random();
static string[] words = File.ReadAllLines("words.txt");
static string wordSelector()
{
int rand = rnd.Next(0, words.Length);
string selectedWord = words[rand];
return selectedWord;
}
static string inputWord()
{
string inputWord = Console.ReadLine();
return inputWord;
}
}

5757
Lingo/words.txt Normal file

File diff suppressed because it is too large Load diff