Cleaned up duplicate data being passed to game page. Wrote necessary templatetags to calculate data