Fun scrips that "play" games autonomously. Meant for humor.
Pillow library Installation: $ pip install Pillow
Holding the "Esc" key will always exit code execution.
This script is meant to run the dungeon crawler game Nethack.
This scripts has managed to die over 10 times on the first level and once on the second level.
Chaos incarnate and a lot of unknown commands.
This script may cause the game to close (if the character dies for example), so to be safe, having a text editing software open behind the game will prevent it typing cryptic messages to your loved ones.
This script runs on a pokemon emulator, the keys that are used are seen in the script and can be changed easily. Now can detect if in a battle and if health is green or not. Behaves based on this.
This script has managed to catch a shiny pidgey and after 9 hours, defeat the first gym leader, and run in circles for another 2 hours.
This script enjoys opening and closing the bag, and previously running away from nearly fainted opponents. Now only runs away 1/10 the time, and 9/10 the time does a sloppy job switching pokemon.
Script to play Spelunky.
This scripts has managed to beat the first level multiple times and get to the door of the second.
This script enjoys throwing bombs and ropes, wiggling, and making actually impressive moves.