https://github.com/nanda-gopal-sb/2048-cpp
Implementation of the 2048 game in C++
https://github.com/nanda-gopal-sb/2048-cpp
2048 clang cli cpp game terminal
Last synced: about 2 months ago
JSON representation
Implementation of the 2048 game in C++
- Host: GitHub
- URL: https://github.com/nanda-gopal-sb/2048-cpp
- Owner: nanda-gopal-sb
- License: mit
- Created: 2024-10-29T19:38:40.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-10T17:37:01.000Z (over 1 year ago)
- Last Synced: 2025-02-08T22:24:27.947Z (over 1 year ago)
- Topics: 2048, clang, cli, cpp, game, terminal
- Language: C++
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
# 2048 Game in C++
## Installation
To compile and run the game, follow these steps:
1. Clone the repository:
```sh
git clone https://github.com/yourusername/2048.git
```
2. Navigate to the project directory:
```sh
cd 2048
```
3. Compile the code:
```sh
g++ -o 2048 main.cpp
```
4. Run the game:
```sh
./2048
```