Display done.
This commit is contained in:
parent
e5297b3b86
commit
cd122fd8ff
2 changed files with 23 additions and 0 deletions
19
Lingo/Display.cs
Normal file
19
Lingo/Display.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using Spectre.Console;
|
||||
namespace Lingo;
|
||||
|
||||
public class Display
|
||||
{
|
||||
public string Board = "";
|
||||
|
||||
public Display()
|
||||
{
|
||||
Board = "";
|
||||
}
|
||||
|
||||
public void ShowDisplay()
|
||||
{
|
||||
Console.Clear();
|
||||
AnsiConsole.MarkupLine(Board);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -7,4 +7,8 @@
|
|||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Spectre.Console" Version="0.57.3-alpha.0.7" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
Loading…
Reference in a new issue