2048.cpp icon indicating copy to clipboard operation
2048.cpp copied to clipboard

🎮 Fully featured terminal version of the game "2048" written in C++

Results 24 2048.cpp issues
Sort by recently updated
recently updated
newest added

CMake 3.7 didn't actually work with the project configuration. Put CMake 3.14 (and tested) as a reasonable minimum CMake. Corrected data install directory. Corrected compiler option selection.

It seems that gameboard.hpp should include point2d.hpp instead of redefining point2d_t as a struct instead of a class

Is this some sort of encoding issue? I'd appreciate any help. OS: Windows 11 Version 10.0.22593 Build 22593

when I wtite "ctest -S setup.cmake"in git bash, it shows " Each . represents 1024 bytes of output . Size of output: 0K Error(s) when configuring the project CMake Error...

- Always occur **segmentation fault** after I enter the gameboard size. - ![image](https://user-images.githubusercontent.com/73826377/131780958-e8966ef3-4e10-4461-81ed-917495aac222.png)

when game is over, get current game board from currentgamestatus

cd src & g++ *.cpp -o 2048 -I ./headers

┌───────────────────────────┐ │ SCORE: 192 │ │ MOVES: 31 │ └───────────────────────────┘ ┌──────┬──────┬──────┬──────┐ │ │ │ │ 2 │ ├──────┼──────┼──────┼──────┤ │ 2 │ │ │ 8 │ ├──────┼──────┼──────┼──────┤ │ │ 2 │...

Compiled from git master 81c0eeb ``` ┌───────────────────────────┐ │ SCORE: 1156 │ │ BEST SCORE: 1156 │ │ MOVES: 127 │ └───────────────────────────┘ ┌──────┬──────┬──────┬──────┐ │ 2 │ 4 │ 32 │ 4...

Hi, we have [2048.cpp in MacPorts](https://ports.macports.org/port/2048.cpp) and it builds fine on OS X 10.11 and later, but on [OS X 10.10 it fails to build](https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/116178/steps/install-port/logs/stdio). There are many errors in...