The game 2048 developed in c
Before starting, you will need to have the following tools installed on your machine: Git, Docker. I recommend using the VSCode
-
Clone the project
- HTTPS
git clone https://github.com/geovannicorsino/2048.git
- SSH
git clone git@github.com:geovannicorsino/2048.git
-
Docker steps
- Build
docker build -t game2048:latest .
- Run
docker run --name game -v ${PWD}/:/app game2048
-
Run code
- Create the compiled file
gcc src/main.c -o main.o -lncurses -ltinfo
- Run the compiled file
./main.o