private static Packet getGameCreatedPacket(String packet) {
        
        Scanner sc = new Scanner(packet);
        
        if(!sc.next().equals(Packet.PACKET_CODES.GAME_CREATED_CODE))    return null;
        Packet res = new Packet(Packet.PACKET_CODES.GAME_CREATED_CODE);
                
        Integer ID;
        
        if(!sc.next().equals(Packet.PACKET_CODES.GAME_ID))    return null;
        if(!sc.hasNextInt())    return null;
        ID = new Integer(sc.nextInt());
                
        res.setData(ID);
        
        return res;
    }