Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
pls's user avatar
  • 136
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 ...
Glitch's user avatar
  • 217