From 2bcf699b9e11ccf848393882257fc3986bd28e45 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 27 Feb 2022 15:24:07 +0100 Subject: add game & vector2 --- src/game_of_life.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/game_of_life.cpp') diff --git a/src/game_of_life.cpp b/src/game_of_life.cpp index 9f7b019..4d7ec52 100644 --- a/src/game_of_life.cpp +++ b/src/game_of_life.cpp @@ -1,5 +1,6 @@ #include "bootstrap.hpp" #include "interfaces/argument_parser.hpp" +#include "interfaces/game.hpp" #include "interfaces/randomization.hpp" #include @@ -20,10 +21,15 @@ int main(int argc, char *argv[]) if (parsed_arguments.random_gen == nullptr) { auto seed_generator_factory = container.get(); + auto random_number_generator_factory = container.get(); parsed_arguments.random_gen = random_number_generator_factory(seed_generator_factory()->random_seed()); } + + auto game = container.get(); + + game->run(); } -- cgit v1.2.3-18-g5258