Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazing! #4

Open
ppbnb1 opened this issue Jul 6, 2023 · 6 comments
Open

Amazing! #4

ppbnb1 opened this issue Jul 6, 2023 · 6 comments

Comments

@ppbnb1
Copy link

ppbnb1 commented Jul 6, 2023

Hi MacroXue, I am quite new to ubuntu and using github! I am just wondering if I can setp-up a pre-existing board, and ask the app what's the next best move? If yes which mode should I be using? Is that the AI mode? Thanks

@ppbnb1
Copy link
Author

ppbnb1 commented Jul 6, 2023

So I managed to start using the AI mode to suggest move. However every next move is random, do I have to reset the board with the new layouts and ask for advice again from the AI for every move? Thanks

@macroxue
Copy link
Owner

macroxue commented Jul 6, 2023

You can use Server mode and 2048 clone together. The clone is modified so it asks the server to suggest moves when you click "Auto Play" or "Step".

@ppbnb1
Copy link
Author

ppbnb1 commented Jul 30, 2023

You can use Server mode and 2048 clone together. The clone is modified so it asks the server to suggest moves when you click "Auto Play" or "Step".

Thanks. I got the suggestion by clicking step, but let say on my 2048 side the spawn is different from the random spawn from 2048clone, and I would need to update the board manually every time to get the next suggestion? Or is there an easier way of doing it? Thanks!

@macroxue
Copy link
Owner

You could write a program or add some code to an existing program to interact with the AI. Below is an example from the 2048 clone.

macroxue/2048-clone@0f1aa22

@ppbnb1
Copy link
Author

ppbnb1 commented Sep 25, 2023

Hi I was running fine until the last command ./2048b -d5 3016, it loads array from 10a fine but it says no such file for 11b. I am not sure which step I did wrong to cause this, but I did run all the steps before.. Thanks

@macroxue
Copy link
Owner

Normally the program creates the 11b file if it's missing. It may take 20 minutes to compute the data in the file and you have to wait. Can you post a screenshot showing files in the directory and the error output from the AI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants