/backslash/ Posted October 4, 2014 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.
Sensei Posted October 4, 2014 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.
Sato Posted October 5, 2014 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
/backslash/ Posted October 5, 2014 Author Posted October 5, 2014 Ok... If such an algorithm is possible, then what does it consist of? How do we make it work?
Sensei Posted October 9, 2014 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
fiveworlds Posted October 9, 2014 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
Phi for All Posted November 5, 2014 Posted November 5, 2014 ! Moderator Note Posts about an algorithm for job hunting have been split off into their own thread. No hijacking, please!
jadine Posted July 27, 2015 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.
Thorham Posted August 1, 2015 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
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