game_board class might need more function but this is for now
Diff: game_board.h
- Revision:
- 3:e21ecfae42e4
- Parent:
- 2:1a54e4ed2669
--- a/game_board.h Sat Dec 05 10:23:50 2015 +0000 +++ b/game_board.h Mon Dec 07 22:10:04 2015 +0000 @@ -7,9 +7,11 @@ //unsigned char _gameboard [6][27]; string A_row,B_row,C_row,D_row,E_row,F_row,N_row, label; int _my_ship [6][6]; + int ship_lose; public: game_board(){ int i; + ship_lose = 0; for (i = 0; i < 6; i++); { _my_ship[i][0] = 0;