All Questions
2 questions
8
votes
3
answers
2k
views
2048 game: logic implementation
The following code implements the logic for moving tiles in the game 2048. The "move"(GameBoard::moveRight(), GameBoard::moveUp(), etc.) methods appear to be duplicating implementation. Any ideas for ...
6
votes
1
answer
4k
views
2048 console game implementation
So I was asked to do a quick 2048 game with C++ but using only stuff like arrays, structures, functions, pointers without using vectors, lambda and so on. The restrictions are here because it's just a ...