1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:47:44 +00:00

2048: Generate more "2" tiles

This is how the original game does it.
This commit is contained in:
Sergey Bugaev 2020-08-18 16:30:25 +03:00 committed by Andreas Kling
parent 8dd5b0af4e
commit 7861ebaad7
2 changed files with 8 additions and 8 deletions

View file

@ -57,7 +57,7 @@ public:
const Board& board() const { return m_board; }
private:
void add_tile(u32 max_tile_value);
void add_random_tile();
size_t m_rows { 0 };
size_t m_columns { 0 };