Added and optimized joingame function in game file.

Also started on gamemode FFA (Free For All)