Is anyone able to run Minesweeper game in IntelliJ Idea? If yes, please help with the debug configurations.
I am looking for Main class to define in configuration.
Thanks
Can I run Minesweeper game in Intellij Idea?
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
DarthGizka
29 May 2021, 20:11
@AP: If you look at the source files in the project tree then you'll notice a small green triangle overlaying the icon for MinesweeperGame.java. IntelliJ knows that this class can be executed because it derives from Game and that class has a suitable main() method. You can run your game by right-clicking MinesweeperGame.java in the project tree and picking Run or Debug. I guess this means that you can specify MinesweeperGame as the main class in the debug configuration.
0