Coder Social home page Coder Social logo

minesweeper's Introduction

๐Ÿšฉ๐Ÿ’ฃ Minesweeper ๐Ÿ’ฃ ๐Ÿšฉ

A simple Minesweeper written in Java, using an SQLite database to keep track of your high scores.

Table of Contents

Description

The game features 3 different built-in board sizes and the option to create your very own board! Once you set up your perfect board parameters, the game will remember your last choice, and you can play again and again by clicking New Game!

Creation of a custom board

You may also save your name in the Scores menu:

Changing name

When a game is won, your score is calculated and saved to the database. The top 10 achievers can be checked at any time:

Top 10 High Scores

You will also receive a unique message whenever you win a game by a score which is your new personal best, or if you beat the previous high score!

Technologies

  • The application features a simplistic graphical user interface (GUI) written in Java using the evergreen Swing framework.
  • Game score related information is stored in an SQLite database.
  • Tests are conducted in JUnit 4 and Mockito.

Installation

To compile and run the project you need Java 17 (or newer) installed on your computer.

  1. Clone or download the project.
  2. Navigate to the project's directory.
  3. You can compile the project using Maven:
    • If you have Maven installed, you can execute mvn clean install.
    • Alternatively, you can use the provided Maven wrapper and execute ./mvnw clean install instead.
  4. After successful compilation, navigate to the target subdirectory, where you can find the executable JAR file.
  5. While in the JAR's directory, launch the application by executing java -jar Minesweeper.jar!
  6. Enjoy!

minesweeper's People

Contributors

aestallon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.