FlappyBug: Make the obstacle gap position random

The position of the gap in the obstacle is now randomly generated each
time it spawns. The game is more fun to play now :)
This commit is contained in:
Mim Hufford 2021-06-01 17:31:54 +01:00 committed by Linus Groh
commit 444fcfd0d2
Notes: sideshowbarker 2024-07-18 12:00:13 +09:00
2 changed files with 2 additions and 1 deletions

View file

@ -5,7 +5,6 @@
*/
#include "Game.h"
#include <AK/Random.h>
namespace FlappyBug {