There are a lot of stupid games on FaceBook and gamers who wile away a considerable amount of time on those no-skill-required and mindless games. I came across one such game yesterday too. Its pretty basic. You just have to click. Thats all! Just be a dumb-ass and click on a blue facebook-styled ‘Start’ button as many times as you can in 10 seconds. It can’t get any lame than this. I gave it a shot and joined the legacy of those addicted gamers on FaceBook for a while. I scored 46 clicks in 10s. The score was so shy of the 64 one of my friend had and obviously it made me jealous. So I poked my mind and found in my repos a nice app, xdotool. This marked turning point in my FB life (Ok fine! 🙂 I’m just being dramatic) I wrote a script using my new love, Py :
#!/usr/bin/env python import os n=0 while n<200: os.system('xdotool click 1') n=n+1 Thats it! I cheated elegantly :)