mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:37:35 +00:00
2048: East const all the things
This commit is contained in:
parent
b47d117bd2
commit
ec8fe6952f
4 changed files with 17 additions and 17 deletions
|
@ -11,8 +11,8 @@
|
|||
class Game final {
|
||||
public:
|
||||
Game(size_t grid_size, size_t target_tile, bool evil_ai);
|
||||
Game(const Game&) = default;
|
||||
Game& operator=(const Game&) = default;
|
||||
Game(Game const&) = default;
|
||||
Game& operator=(Game const&) = default;
|
||||
|
||||
enum class MoveOutcome {
|
||||
OK,
|
||||
|
@ -37,7 +37,7 @@ public:
|
|||
|
||||
using Board = Vector<Vector<u32>>;
|
||||
|
||||
const Board& board() const { return m_board; }
|
||||
Board const& board() const { return m_board; }
|
||||
|
||||
static size_t max_power_for_board(size_t size)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue