pubnub/genetic-car-2 — pull request #5 by danlangford (2014-09-03 22:37:48+00:00)
Title: fix initial seed & add user names to UI

these commits address a couple of things that will really add a lot to the interestingness of this website.

1. when the site loaded everybody got into the same gene pool but got a different track. so the leaderboards were worthless. my cars were learning attributes of cars that have evolved over other terrain. And this fact was not apparent to users due to the fact that the world name was the same. NOW no matter when the page was loaded or reloaded if the World Name is the same you are running along the same track. This helps with the concern in #4 with a simpler approach.

2. in regards to number 1 above wont that be boring? the track will always be the same. these commits also give a new default room every day. so there are 31 unique tracks. this gives variety to the initial loads but also guarantees that users will be placed on the same track as each other.

3. also it adds the World Name that a user is in when they chat. this allows other users to track that room down and join. if somebody says "my car is the best. its kicking your butt" you can go join their room and teach them a genetics lesson. :-P

4. show user names on the current race results as well as the running leader board. what good is a leader board if there are no bragging rights. the user name adds some characteristics to the chat. allows the smack talking to be backed up by evidence of superiority :-P