Update headless_client.coffee

This commit is contained in:
Popey Gilbert 2015-03-11 17:23:02 +00:00
parent a114112964
commit 8389a64644

View file

@ -5,6 +5,7 @@ In order to use, followed these steps:
2. Create a `login.coffee` file in coco which contains:
module.exports = username: 'email', password: 'password'
3. Run `coffee ./headless_client.coffee`
Alternatively, if you wish only to simulate a single game run `coffee ./headless_client.coffee one-game`
###
simulateOneGame = false
if process.argv[2] is 'one-game'