checking if game is full before allowing someone to join

no idea what i'm doing.