Implemented joining and leaving games