From bd6b5006f814daca16afd3a15eebd02ef696624b Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 9 Nov 2019 14:48:33 +0100 Subject: Basic Game Bird falls, game over if he touches the floor or a pipe. Pipes are randomly generated. --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index d1d3949..e6262dc 100644 --- a/main.cpp +++ b/main.cpp @@ -1,8 +1,11 @@ #include +#include +#include #include "graphics.hpp" int main() { + srand(time(NULL)); Graphics g; g.run(); } -- cgit