Lingo, first commit
This commit is contained in:
commit
e5297b3b86
6 changed files with 5817 additions and 0 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
bin/
|
||||||
|
obj/
|
||||||
|
/packages/
|
||||||
|
riderModule.iml
|
||||||
|
/_ReSharper.Caches/
|
||||||
16
Lingo.sln
Normal file
16
Lingo.sln
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lingo", "Lingo\Lingo.csproj", "{1780AE81-D6BA-4FE5-AE48-15237357FEC2}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{1780AE81-D6BA-4FE5-AE48-15237357FEC2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{1780AE81-D6BA-4FE5-AE48-15237357FEC2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{1780AE81-D6BA-4FE5-AE48-15237357FEC2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{1780AE81-D6BA-4FE5-AE48-15237357FEC2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
10
Lingo/Lingo.csproj
Normal file
10
Lingo/Lingo.csproj
Normal 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
9
Lingo/Program.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
namespace Lingo;
|
||||||
|
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
static void Main(string[] args)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
20
Lingo/Setup.cs
Normal file
20
Lingo/Setup.cs
Normal 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
5757
Lingo/words.txt
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue