added game template
main logic for calculating each game wins. done!!