mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 07:29:02 -08:00
11 lines
272 B
C#
11 lines
272 B
C#
global using Games.Common.IO;
|
|
global using Games.Common.Randomness;
|
|
|
|
global using static Cube.Resources.Resource;
|
|
|
|
using Cube;
|
|
|
|
IRandom random = args.Contains("--non-random") ? new ZerosGenerator() : new RandomNumberGenerator();
|
|
|
|
new Game(new ConsoleIO(), random).Play();
|