Refacto / Tests
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
using MiniJeuxFinal.GameFactory;
|
||||
using MiniJeuxFinal.Ui;
|
||||
using MiniJeuxFinal.Wrappers;
|
||||
|
||||
class Program()
|
||||
{
|
||||
public static void Main()
|
||||
{
|
||||
var runner = new GameRunnerConsole(PierrePapierCiseauxGameFactory.CreateGame());
|
||||
var consoleService = new ConsoleService();
|
||||
var game = PierrePapierCiseauxGameFactory.CreateGame(consoleService);
|
||||
var runner = new GameRunnerConsole(consoleService, game);
|
||||
runner.Run();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user