changes css and adds end game cases