1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

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
parent 811d9722f9
commit 444fcfd0d2
2 changed files with 2 additions and 1 deletions

View file

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