changed network code to generate random game name and join by code