added winning conditions and a way to end a game

Start not implemented
Merge branch 'master' of https://github.com/substancelab/cybertruslen

Conflicts:
	index.html