Programmers don’t need to get good at a game to achieve a high score, they code a bot for that instead. Take [hypnotizd] for instance. He was learning to write in the C# language and decided to make a bot that plays Bejeweled Blitz on Facebook. He figures he took between 48 and 72 hours of coding over a couple of weeks, but remember, he was learning the language at the same time. We think you’d be hard pressed to achieve a 1.5 million range score by yourself, even with that amount of practice time.
We spoke with [hypnotizd] yesterday afternoon to get a bit of background on how he made this happen. His code (he’s not releasing it so you’ll have to write your own) scrapes the screen image as input. You can see at the beginning of the video after the break that he sizes his app to properly align each jewel in its grid. The program then identifies each game piece by finding the center of the cell and taking a 25 square-pixel average color. Many of the jewels are easily recognized in this first pass, but some are harder and require several different tests to identify. That’s the difficult part, choosing the best move is just a matter of coming up with your own rules on how the bot should play the game.
Continue reading “Bejeweled Blitz Bot Makes Your High Score Look Just Sad”
CubeStormer solves Rubik’s cubes and it does it quickly! Made entirely out of LEGO, a Mindstorm web camera is used to scan in the cube with four mechanical hands for manipulation. The device is capable of solving a random cube in less than 11 seconds. That’s quite a bit faster than the last Minstorm solver we saw, and the CuBear solver we are so fond of.
[John Sarik] asked himself why a project should only have a handful of Nixie tubes? Without a good answer to his query he went ahead and built this Sudoku game using 81 Nixie tubes. There’s not much of a description for his work but here’s how we think things go: The two knobs manipulate a cursor, one for rows and the other for columns, while the keypad is used to input your chosen number. The system is Arduino based and [John’s] linked to his code, schematic, and board layout files on Dropbox. He’s even written a recursive solver which can be seen in the video after the break. Would it be inappropriate to bring this to work and whip it out during some down time?
Continue reading “Nixie Sudoku”
It has been quite a while since we looked in on the world of automated Rubik’s cube solving. [David Gilday] built this one using LEGO Mindstorm parts. It uses a computer to calculate the solutions but unlike the standalone Tilted Twister, this creation can solve more than one type of cube. As long as the physical dimensions are between 5 and 6 centimeters on a side, the machine can solve 2, 3, 4, and 5 piece cubes. [David] wasn’t quite satisfied with that though. He built a separate machine to take care of the 6x6x6 cubes too. See both in action after the break.
Want to see more? Don’t miss the CuBear solver developed at Berkeley or the AVR based solver.
Continue reading “Mindstorm Rubik’s Solver”
[Andrius] just sent in his robot Rubik’s cube solver. It isn’t as fast as the solver we saw last year but it also doesn’t require as many parts either. This project utilizes two claws, each actuated by just two servo motors. The thinking is done by a PC which calculates the necessary moves to solve the cube. Each instruction is then passed via USB to the AVR ATmega16 microcontroller that is responsible for the servo operation.
Right now it looks like the colors for each starting face have to be entered manually before a solution is calculated. We think [Andrius] is probably planning to upgrade this with the next generation of his software as he already has a webcam setup for this type of analysis.
A team of five UC Berkeley engineering built this impressive Rubik’s Cube solver. The CuBear is a giant transparent cube with a servo attached to each face to rotate the cube’s six faces. The user can either scramble the cube using computer controls or show the faces of a scrambled cube to the onboard webcam, and the machine will replicate it. While scrambling the cube may take many moves, the computer calculates the shortest number of moves to solve the cube before proceeding. Team member [Dan Dzoan] is quite a fast solver himself, as you can see at the end of BotJunkie’s video embedded below. Continue reading “CuBear, Berkeley’s Rubik’s Cube Solver”