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
39 stars 10 forks source link

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

Open alpha-106 opened 12 months ago

alpha-106 commented 12 months 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 12 months ago

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

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

alpha-106 commented 12 months ago

Thanks. But, how do I run on windows?

WDIlsb commented 12 months 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 3 months ago

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