+
+ {/* Teams Section */} +
+ {/* Counter-Terrorists */} +
+
+

+ + Counter-Terrorists +

+ + {ctPlayers.length} players + +
+ +
+ {ctPlayers.map((player, index) => ( +
+
+ +
+
+ {player.name} + {player.isBot && ( + + {player.botDifficulty?.toUpperCase()} + + )} +
+
+ + K/D: {player.kills}/{player.deaths} + + + Ping: {player.ping}ms + +
+
+
+ +
+ {player.ready ? ( + + ✅ Ready + + ) : ( + + ⏸️ Not Ready + + )} + {isHost && player.id !== '1' && ( + + )} +
+
+ ))} + + {/* Empty slots */} + {Array.from({ length: Math.max(0, 8 - ctPlayers.length) }).map((_, i) => ( +
+
Empty Slot
+
+ ))} +
+
+ + {/* Terrorists */} +
+
+

+ + Terrorists +

+ + {tPlayers.length} players + +
+ +
+ {tPlayers.map((player, index) => ( +
+
+ +
+
+ {player.name} + {player.isBot && ( + + {player.botDifficulty?.toUpperCase()} + + )} +
+
+ + K/D: {player.kills}/{player.deaths} + + + Ping: {player.ping}ms + +
+
+
+ +
+ {player.ready ? ( + + ✅ Ready + + ) : ( + + ⏸️ Not Ready + + )} + {isHost && player.id !== '1' && ( + + )} +
+
+ ))} + + {/* Empty slots */} + {Array.from({ length: Math.max(0, 8 - tPlayers.length) }).map((_, i) => ( +
+
Empty Slot
+
+ ))} +
+
+
+ + {/* Right Sidebar */} + +
+