waitCode method
Implementation
Future<void> waitCode() async {
GameSocket s = GameSocket();
while (s.room == "-1") {
await Future.delayed(const Duration(milliseconds: 500));
}
}
Future<void> waitCode() async {
GameSocket s = GameSocket();
while (s.room == "-1") {
await Future.delayed(const Duration(milliseconds: 500));
}
}