Game finish functionality added