Code and Play: Your Java Game Adventure Begins

  • Home
  • Code and Play: Your Java Game Adventure Begins
Shape Image One

Code and Play: Your Java Game Adventure Begins

About Course

In this course we will create the legendary Minesweeper game in the Java programming language. While creating this game we will work with JFrame, with a mouse adapter, with pictures, and also write interesting algorithms using matrices, recursion, OOP. The process of creating a program is divided into 50 short slides, on each of which we embody one completed thought. The course is easy and fun to complete; at the end you will have a working toy, written according to all the rules of OOP.

What Will You Learn?

  • You will write a Minesweeper game in Java.
  • You will work with lists, matrices, enumerations.
  • You will practice OOP and code refactoring.
  • You will create an executable JAR file with pictures.

Course Content

Creating a window for Minesweeper

  • The legendary game Minesweeper
  • Simple window
  • Closing on exit
  • Flying over the classroom
  • Empty panel
  • Separate initialization

Running a JAR file with images

UML diagram of the project matrix

Mouse on Flags and Bombs

Basic game algorithm

Victorious ending of the game

Student Ratings & Reviews

No Review Yet
No Review Yet