Once you download an iMessage game, you will see it in the bar above the keyboard in the Messages app. Tap on the game you wish to play with a friend and start the game. This will notify your friend and, if they don't have the game downloaded, they will be able to choose whether they want to download it.