/backslash/ Posted October 4, 2014 Share Posted October 4, 2014 This seems like a genuinely stupid idea to me, but I can't help but pose the question: could an algorithm be written to beat the game 2048? Remember, computer science is definitely not my area of expertise, so try not to be too hard on the n00b. Link to comment Share on other sites More sharing options...
Sensei Posted October 4, 2014 Share Posted October 4, 2014 Never heard about such game. But after playing on-line it appears it's randomizing column,row where new 2 is appearing. Algorithm can't predict where will appear new number. Link to comment Share on other sites More sharing options...
Sato Posted October 5, 2014 Share Posted October 5, 2014 (edited) Yes, it can, it would find the most 'optimal' direction to move in. See: http://ov3y.github.io/2048-AI/. Edit: To clarify, the game and all in the page linked is written entirely in Javascript/HTML, and so you can view the source / inspect element to find any included source files. I've taken out the one that contains the AI code for convenience: http://ov3y.github.io/2048-AI/js/ai.js Never heard about such game. But after playing on-line it appears it's randomizing column,row where new 2 is appearing. Algorithm can't predict where will appear new number. An algorithm can't predict anymore accurately where a player will move his chess piece, but chess-playing (and winning) algorithms exist. Edited October 5, 2014 by Sato 3 Link to comment Share on other sites More sharing options...
/backslash/ Posted October 5, 2014 Author Share Posted October 5, 2014 Ok... If such an algorithm is possible, then what does it consist of? How do we make it work? Link to comment Share on other sites More sharing options...
Sensei Posted October 9, 2014 Share Posted October 9, 2014 (edited) I win without computer algorithm.. Oh, no... you can continue playing.. Now I will be playing forever... Edited October 9, 2014 by Sensei 1 Link to comment Share on other sites More sharing options...
fiveworlds Posted October 9, 2014 Share Posted October 9, 2014 (edited) Oh, no... you can continue playing.. Now I will be playing forever... No you won't. It is upper limited at less than 2^16. Edited October 9, 2014 by fiveworlds Link to comment Share on other sites More sharing options...
Phi for All Posted November 5, 2014 Share Posted November 5, 2014 ! Moderator Note Posts about an algorithm for job hunting have been split off into their own thread. No hijacking, please! Link to comment Share on other sites More sharing options...
Waleed Posted June 16, 2015 Share Posted June 16, 2015 Yes, it can, and all pics talked it Link to comment Share on other sites More sharing options...
jadine Posted July 27, 2015 Share Posted July 27, 2015 yeah it should be possible. I've found keeping the larger numbers at the bottom, with the largest in a corner makes it a lot easier. Link to comment Share on other sites More sharing options...
Thorham Posted August 1, 2015 Share Posted August 1, 2015 (edited) Try Threes instead of the stupid rip-off 2048. Here's a free one: http://threesjs.com/ Edited August 1, 2015 by Thorham Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now