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:
parent
8dd5b0af4e
commit
7861ebaad7
2 changed files with 8 additions and 8 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue