diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
| diff --git a/src/main.cpp b/src/main.cpp index ddbc15f..d59d0f9 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
| @@ -1,11 +1,15 @@ | |||
| 1 | #include <random> | ||
| 1 | #include "muxer.h" | 2 | #include "muxer.h" |
| 2 | #include "game.h" | 3 | #include "game.h" |
| 3 | 4 | ||
| 4 | int main() | 5 | int main() |
| 5 | { | 6 | { |
| 7 | std::random_device randomDevice; | ||
| 8 | std::mt19937 rng(randomDevice()); | ||
| 9 | |||
| 6 | initMuxer(); | 10 | initMuxer(); |
| 7 | 11 | ||
| 8 | Game game; | 12 | Game game(rng); |
| 9 | game.execute(); | 13 | game.execute(); |
| 10 | 14 | ||
| 11 | destroyMuxer(); | 15 | destroyMuxer(); |
