A script that automates some actions for the game 'Godville' (check it out here). For the moment what it does is auto-punish and auto-encourge, auto god-voice when there is no possibility to either punish or encourage.
You need to have casperjs, nodejs and npm installed globally on your machine (using the -g option).
After that you can simply run casperjs server.js on the command line and the script will start.
The script will ask you for your God's name and password but you also specify them as arguments when running the script:
casperjs server.js --god=god_name --pass=password
You can specify a number of options:
--god=god_name
--pass=password
--action=action # This can be Encourge or Punish
If you wish to stop the script you can do so at any time with Ctrl+c
Be sure you have a working internet connection.
There is a lot to do, for the moment the only thing that it does is 'Encourage' your hero. Some needed features would be:
- Let the user know if the credentials are incorrect.
- Make it so that the user's password is not displayed when it's being typed
- Make a menu that displays all the different options.
- Give user ability to specify which voice command he wants to send.
- Show Date and Time for each event that's communicated to the user.