Function to check if a user has joined the room
bool joined(String uid) { return players.contains(uid); }