Index: client/Client/main.cpp
===================================================================
--- client/Client/main.cpp	(revision bbebe9cf2664fd1a1a6484f687fc45240a87fb50)
+++ client/Client/main.cpp	(revision 50e6c7a7b224d1c762672c6a78a73532e2fdc054)
@@ -118,4 +118,5 @@
 chat chatConsole, debugConsole;
 bool debugging;
+vector<string> games;
 
 MessageProcessor msgProcessor;
@@ -421,5 +422,6 @@
                      // right now, this code will target all players other than the current one
                      target = &it->second;
-                     if (target->id != curPlayerId && target->team != curPlayer->team) {
+                     if (target->id != curPlayerId && target->team != curPlayer->team)
+                     {
                         msgTo.type = MSG_TYPE_START_ATTACK;
                         memcpy(msgTo.buffer, &curPlayerId, 4);
@@ -448,5 +450,11 @@
             wndCurrent->draw(display);
 
-         if(wndCurrent == wndGame) {
+         if (wndCurrent == wndLobby) {
+            for (int i=0; i<games.size(); i++) {
+               al_draw_text(font, al_map_rgb(0, 255, 0), SCREEN_W*1/4-100, 120+i*15, ALLEGRO_ALIGN_LEFT, games[i].c_str());
+            }
+         }
+         else if (wndCurrent == wndGame)
+         {
             if (!debugging)
                chatConsole.draw(font, al_map_rgb(255,255,255));
@@ -779,5 +787,5 @@
                cout << "Received a PROJECTILE message" << endl;
 
-               int id, x, y, targetId;
+               unsigned int id, x, y, targetId;
 
                memcpy(&id, msg.buffer, 4);
@@ -803,5 +811,4 @@
 
                int id;
-
                memcpy(&id, msg.buffer, 4);
                
@@ -810,7 +817,22 @@
                break;
             }
+            case MSG_TYPE_GAME_INFO:
+            {
+                cout << "Received a GAME_INFO message" << endl;
+
+               string name(msg.buffer+4);
+               int numPlayers;
+
+               memcpy(&numPlayers, msg.buffer, 4);
+               
+               cout << "Received game info for " << name << " (num players: " << numPlayers << ")" << endl;
+               games.push_back(name);
+
+               break;
+            }
             default:
             {
                cout << "(STATE_LOBBY) Received invlaid message of type " << msg.type << endl;
+
                break;
             }
