adding all the plumbing for the game