package com.codegym.games.minesweeper;
import com.codegym.engine.cell.*;
// using the CodeGym game engine (above); create a
// new Class that inherits the Game Class engine (com.codegym.engine.cell.Game)
public class MineSweeperGame extends Game {
// declare a method - a function - in Class to initialze the game framework
@Override
public void initialize() {
// Set the field size to 7 cells x 9 cells
// setScreenSize(7, 9);
}
}
// the initialize() method is analogous to the main() method: the
// starting point for all the code written for the game
// call the setCellSize with some arguments inside it
Why is Mine Sweeper Game Still Failing > Ideas ? See attached -- run in both IntelliJ and the basic codegym IDE
Under discussion
Comments (4)
- Popular
- New
- Old
You must be signed in to leave a comment
Thomas
19 February 2023, 18:14
CG asks for a MinesweeperGame class
0
Hoist
20 February 2023, 20:06
I don't get it ?
MinesweeperGame class must inherit the Game class, " which is part of CodeGym's cool "game engine". "
This and other engine classes are located in the com.codegym.engine.cell package.
0
Guadalupe Gagnon
20 February 2023, 20:20
MinesweeperGame does not equal MineSweeperGame
I recommend that everyone get used to copy and pasting text directly from the conditions when the text contains bits of code (e.g. class names, method names) or verbatim Strings. You can spend hours trying to figure out why the validation is not passing your code when the only problem is a tiny typo.
+1
Hoist
5 March 2023, 04:51
THX
0