Skip to content

Reach up to 130k in the famous mobile game 2048 with a depth-search based AI, the board and the new pieces are inserted by the user

Notifications You must be signed in to change notification settings

LucaTedeschini/2048_Game_AI_CPP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048_Game_AI_CPP

Functional AI for solving the old mobile game 2048.

Run the script

On linux, and after installing the g++ cpp compiler run the two following commands in the terminal

  1. g++ -o main main.cpp
  2. ./main

When requested, input the number of pieces to add and their position (expressed in coords X and Y, with (0,0) being on top left and (4,4) on bottom right)

Credits

All credits goes to AnasImloul, I have just added user inputs in the program routine

About

Reach up to 130k in the famous mobile game 2048 with a depth-search based AI, the board and the new pieces are inserted by the user

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.8%
  • Shell 0.2%