Architect
Professional INTP
- Local time
- Yesterday 5:07 PM
- Joined
- Dec 25, 2010
- Messages
- 6,687
Not the year, the game!
Try this interesting little game 2048.
And here's a web page by a 17 year old HS school student in Taiwan who came up with an AI for it.
Neat little problem worth looking into from the links I gave above. Good example also of how to get into programming, just take interesting toy problems and figure out how to solve them. You can be using AI techniques too.
Try this interesting little game 2048.
Join the numbers and get to the 2048 tile
HOW TO PLAY: Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one!
1. Take it Slow
2048 is so easy to play, you might get into the habit of tearing through games without even really paying attention to what you're doing. That's not a good idea. Take your time - there's no penalty for thinking your moves through after all. Also, try to predict where new blocks might come in and how you could deploy them. Something like playing chess.
2. Work The Corners
In order to win the game you should have a specific strategy. If you do not have one, you will most probaly not reach furthr than 512. So, a good strategy is to always keep your hiest value tile at one of the corners. Just chooose one corner and direct all your tiles there. It is not as easy as it sounds, but you can master it quickly. In order to stop the highest value tile to leave "the king's place", try to pack tiles around it. Preferably, they should be the other biggest tiles. Master this simple strategy and you will soon reach 1024 and even win the 2048 Game!
3. How to make the highest valued tile in the right bottom corner and not to move it?
Once you have placed your highest tile value is in the right bottom corner, do not move it. To make sure it is not moved, you have to make the last row always filled by pushing the down arrow so that the use of LEFT and Right Arrow would not move the highest valued tile. Basically, this is the most important cheat for 2048 Game - keep the highest tile in the corner and do not move it.
2048 is so easy to play, you might get into the habit of tearing through games without even really paying attention to what you're doing. That's not a good idea. Take your time - there's no penalty for thinking your moves through after all. Also, try to predict where new blocks might come in and how you could deploy them. Something like playing chess.
2. Work The Corners
In order to win the game you should have a specific strategy. If you do not have one, you will most probaly not reach furthr than 512. So, a good strategy is to always keep your hiest value tile at one of the corners. Just chooose one corner and direct all your tiles there. It is not as easy as it sounds, but you can master it quickly. In order to stop the highest value tile to leave "the king's place", try to pack tiles around it. Preferably, they should be the other biggest tiles. Master this simple strategy and you will soon reach 1024 and even win the 2048 Game!
3. How to make the highest valued tile in the right bottom corner and not to move it?
Once you have placed your highest tile value is in the right bottom corner, do not move it. To make sure it is not moved, you have to make the last row always filled by pushing the down arrow so that the use of LEFT and Right Arrow would not move the highest valued tile. Basically, this is the most important cheat for 2048 Game - keep the highest tile in the corner and do not move it.
And here's a web page by a 17 year old HS school student in Taiwan who came up with an AI for it.
This article looks at how to develop an AI for the game 2048. The AI discussed in this article searches using the Expectimax algorithm, together with the gradient heuristic, to a depth of 8 to compute the next best possible move (this is very deep for a 2048 expectimax AI).
Neat little problem worth looking into from the links I gave above. Good example also of how to get into programming, just take interesting toy problems and figure out how to solve them. You can be using AI techniques too.