Skip to content

A simple Minesweeper with only Java Swing native element. For Mac OSX. (Java)

Notifications You must be signed in to change notification settings

farquet/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Minesweeper

Minesweeper game screenshot

This is a simple minesweeper game. It is developped for the Mac OSX JVM. This illustrates how nice look native elements on this JVM compared to the Windows JVM. Indeed, in this project no image were used. Each cell is represented by a JButton. We use the disabled state of a button if the cell and its neighbours contain no bomb.

On the left side of the "Start again" button there is the counter of bombs that still need to be discovered. On the other side it is just a timer to increase the pressure.

You can flag a cell if you think there is a bomb on it. You can do it with alt+click, cmd+click, maj+click, ... (everything that is not a regular click).

There are a few options from the menu bar such as difficulty or size.

The folder contains :

  • The runnable application as a JAR
  • The runnaple OSX app in a zip file
  • All source code in Minesweeper folder

Project done by François Farquet in April 2011. © All rights reserved.

About

A simple Minesweeper with only Java Swing native element. For Mac OSX. (Java)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages