CSC112 Spring 2016 Examples
#include "GameGrid.h"12345void GameGrid::generate()6// don't delete the following line as it's needed to preserve source code of this autogenerated element7// section -84-17-4--36--3c0caeef:15333d15c90:-8000:000000000000087D begin8{9}10// section -84-17-4--36--3c0caeef:15333d15c90:-8000:000000000000087D end11// don't delete the previous line as it's needed to preserve source code of this autogenerated element1213void GameGrid::display()14// don't delete the following line as it's needed to preserve source code of this autogenerated element15// section -84-17-4--36--3c0caeef:15333d15c90:-8000:000000000000087F begin16{17}18// section -84-17-4--36--3c0caeef:15333d15c90:-8000:000000000000087F end19// don't delete the previous line as it's needed to preserve source code of this autogenerated element2021void GameGrid::restart()22// don't delete the following line as it's needed to preserve source code of this autogenerated element23// section -84-17-4--36--3c0caeef:15333d15c90:-8000:0000000000000881 begin24{25}26// section -84-17-4--36--3c0caeef:15333d15c90:-8000:0000000000000881 end27// don't delete the previous line as it's needed to preserve source code of this autogenerated element2829void GameGrid::click(int x, int y)30// don't delete the following line as it's needed to preserve source code of this autogenerated element31// section -84-17-4--36--3c0caeef:15333d15c90:-8000:0000000000000883 begin32{33}34// section -84-17-4--36--3c0caeef:15333d15c90:-8000:0000000000000883 end35// don't delete the previous line as it's needed to preserve source code of this autogenerated element3637void GameGrid::flag(int x, int y)38// don't delete the following line as it's needed to preserve source code of this autogenerated element39// section -84-17-4--36--3c0caeef:15333d15c90:-8000:0000000000000888 begin40{41}42// section -84-17-4--36--3c0caeef:15333d15c90:-8000:0000000000000888 end43// don't delete the previous line as it's needed to preserve source code of this autogenerated element444546