game_board class might need more function but this is for now

Dependents:   Final_Project

game_board.h

Committer:
AndyTran
Date:
2015-12-03
Revision:
0:06bd2763aa53
Child:
2:1a54e4ed2669

File content as of revision 0:06bd2763aa53:

#include <iostream>
using namespace std;

class game_board
{
    private:
        unsigned char _gameboard [6][27];
        string A_row,B_row,C_row,D_row,E_row,F_row,N_row, label;
        int _my_ship [5][5];
    public:
        void new_game_board (); // done
        bool place_hit_miss_friendly (int row, int colum); //check
        void place_ship(int row, int colum); //done
        string get1row (int row); //done
        bool looser(); //done
        void place_hit_miss_enemy (int row, int colum, bool hit_miss);//done
};