At work they challenged me at Ruzzle ( http://www.ruzzle-game.com/ ), a wordgame on mobile. I tried playing it, but I find wordgames not that interesting, and they are way to good to beat. It would at least take weeks to beat them...
So I took another approach, let's hack that game!
Watch it running here: http://www.youtube.com/watch?v=atuG0AvA9tg
(It's hacky, I'm not responsible for anything!)
you might need to change the sendevents according to your phone's specs. (run "adb shell getevents" to see what's going on.)
- This is for android
- I'm using adb to send the sendevent commands (adb shell actually)
- You need to give in all letters on one line
- You'll need a dictionary (call it dic.txt and put it in the same directory)
This is so simple it doesn't need a make file, just do:
g++ ruzzle_cheater.cpp -o ruzzle_cheater
- Connect your Android phone to your PC. (Enable development mode on your phone)
- Startup the program
- Start a ruzzle game
- Give in all characters at the console
- hit enter
- watch the magic
This madness has been fun, back you work! I'm a freelance programmer, check this out: http://antobase.com/</shameless plug>
The MIT License (MIT)
Copyright (c) 2013 Batistleman
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.