macroxue / 2048-ai

A strong AI for the popular 2048 game. It reaches the 65536 tile 3% of the time, without undos.
GNU General Public License v3.0
41 stars 11 forks source link

Input a specific state to find the best move? #6

Open alpha-106 opened 1 year ago

alpha-106 commented 1 year ago

I'm trying to win the game on a device other than my PC. Is there a way to input a specific state of the game into the solver and get a move suggestion?

WDIlsb commented 1 year ago

https://github.com/macroxue/2048-ai#server-mode

https://github.com/macroxue/2048-ai/issues/5#issuecomment-1637209647

alpha-106 commented 1 year ago

Thanks. But, how do I run on windows?

WDIlsb commented 1 year ago

As it mentioned in System requirements "A Linux environment with G++ compiler supporting c++0x or above is required."

The model itself can only run on Linux, but queries with results can be received on any device with internet access. But this requires programming skills

natureofcode commented 5 months ago

You can compile and run it in Windows Subsystem for Linux. I tested it in WSL2 and it works!