programmed first part of game