mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 15:48:11 -05:00
Update headless_client.coffee
This commit is contained in:
parent
4fd5f4fac1
commit
a6adaacdf3
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
###
|
||||
This file will simulate games on node.js by emulating the browser environment.
|
||||
This file will simulate games on node.js by emulating the browser environment. In order to use, followed these steps:
|
||||
1. Setup dev environment as usual
|
||||
2. Create a `login.coffee` file in coco which contains:
|
||||
module.exports = username: 'email', password: 'password'
|
||||
3. Run `coffee ./headless_client.coffee`
|
||||
###
|
||||
simulateOneGame = false
|
||||
if process.argv[2] is 'one-game'
|
||||
|
|
Loading…
Reference in a new issue