update 'leaves' res msg
use _puts to display res messages
update client messages
add element name to struct game
add functions add_game, list_games