mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-29 06:05:36 -08:00
21 lines
326 B
C#
21 lines
326 B
C#
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);
|
|
}
|
|
}
|