Add game intro

This commit is contained in:
Andrew Cooper
2022-08-12 17:49:05 +10:00
parent 7ab0e91c1f
commit 35f8248b1f
4 changed files with 52 additions and 8 deletions

View File

@@ -0,0 +1,20 @@
namespace OneCheck;
internal class Game
{
private readonly IReadWrite _io;
private readonly Board _board;
public Game(IReadWrite io)
{
_io = io;
_board = new Board();
}
public void Play()
{
_io.Write(Streams.Introduction);
_io.WriteLine(_board);
}
}