Visual C++ .NET - Juego

 
Vista:

Juego

Publicado por david (2 intervenciones) el 24/11/2010 04:05:53
Hola!! necesito si alguien me puede dar una mano con un juego que estoy armando, este juego es buscaminas en c++ y no lo puedo terminar para que me copile. Pido por favor algun comentario o solucion.
Aca les paso el codigo:
#include <iostream>
#include <math.h>
#include <time.h>
#include <string>
using namespace std;
const int MAX_HORIZONTAL = 20;
const int MAX_VERTICAL = 20;
const int MINA = -1;
const int NO_ASIGNADO = -2;
const int TAPADO = 1;
const int DESTAPADO = 2;
const int MARCADO_POSIBLE_MINA = 3;
const int PONER_BANDERA = 4;
const int JUEGO_FACIL = 1;
const int JUEGO_NORMAL = 2;
const int JUEGO_EXPERTO = 3;
class Juego{
private:
char nom[15];
int tamanoHorizontal;
int tamanoVertical;
int numeroMinas;
int minasMarcadas;
bool juegoIniciado;
bool juegoTerminado;
char separador ;
int tiempo;
clock_t inicioJuego;
int nivel;
int mejorTiempoFacil ;
string nombreMejorTiempoFacil;
int mejorTiempoNormal ;
string nombreMejorTiempoNormal;
int mejorTiempoExperto ;
string nombreMejorTiempoExperto;
int tableroJugador[MAX_HORIZONTAL][MAX_VERTICAL];
int tableroInterno[MAX_HORIZONTAL][MAX_VERTICAL];
int minasAdyacentes(int x, int y)
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder