Giter VIP home page Giter VIP logo

minefield-game's Introduction

readme-image


๐Ÿ“ Minefield game flowchart

readme-flowchart


๐Ÿ“– Information

Players try to find mines in a specific playing area. As players click on cells, the number of mines around that cell is displayed and players must guess the location of the mines. The game ends when all mines are checked or the player clicks on a mine.The purpose of the game, The aim is to win the game by opening all cells except all mines.


๐Ÿ”— Features

  • Customizable Playground Dimensions: Players can customize the number of rows and columns of the playfield. This allows them to adjust the difficulty and complexity of the game.

  • Random Mine Placement: Mines are placed randomly on the playing field. This ensures that each game is different and requires players to adapt their strategies for each game.

  • Cell Opening: As players click on cells on the game board, the number of mines around that cell is displayed. They can expand the playing field by opening empty cells.

  • Game Status Check: The game ends when all mines are checked or the player clicks on a mine. It indicates whether the game was won or lost.

  • Replay Option: After the game ends, players are given the option to replay the game. This allows players to start a new game.


๐Ÿงฉ Row and Column Indexes

In this Minesweeper game, row and column indexes start from 0. That is, the first line on the game board is marked "0", the second line is marked "1", and so on. Likewise, the first column is marked "0", the second column is marked "1", and so on.

readme-info


๐Ÿ”จ Installation

Steps to run this project on your local machine:

  1. Clone this project:

    git clone https://github.com/erencansev/minefield-game.git
  2. Go to the project directory:

    cd minefield-game
  3. Run the code:

    java Main.java

Contact information

If you have questions, feedback or contributions regarding my project, you can reach me by email:

minefield-game's People

Contributors

erencansev 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.