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:
parent
811d9722f9
commit
444fcfd0d2
2 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
#include "Game.h"
|
||||
#include <AK/Random.h>
|
||||
|
||||
namespace FlappyBug {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue