This one shows that we can link in from python.
node index.js

http://localhost:8888/start?q=offensiveplay1_defensiveplay1

url.parse(string).pathname will give 'start'
and url.parse(string).query will give offensiveplay1_defensiveplay1

Look at p. 17 of nodebeginner book.


index.js -- is what you call and it ties up everything
server.js -- does basic parsing of the request and calls the router 
router.js -- depending on the call, routes to correct handler
requestHandlers.js -- does the actual work; the only thing you will change
for the most part.



---

Make sure you have python 2.7.

Organization of the information:

play offensiveplay_defensiveplay, yardgainmean, yardgain_std

relate stats of defensive team play and their performance on
certain offensiveplay_defensiveplay combinations.

Depending on offensive and defensive calls, composition of team,
yards to first, yards to touchdown, get a statistical chance of up
or down.

Write this down in a big spreadsheet: offensive play, defensive play.
Each offensive play is either ground or air.
Composition of team determines effectiveness of ground or air game.

Each person has a team that he can adjust over the course of a game.

Record overall score, budget etc.

Assignments: 

1. Include a sample of different tables having the above configurations.
Store them within tmp.py and execute.

2. Read from files into python associative arrays/dictionaries.

3. Read and set up the example in node craftsman that is application 2.

4. Transfer what you have from 2 into that format.
