An open API service indexing awesome lists of open source software.

https://github.com/asyncjake/minesweeper-java

Memento repo of the first game I wrote, a minesweeper clone in 2014 using java swing. My, how times have changes.
https://github.com/asyncjake/minesweeper-java

games java-swing minesweeper

Last synced: about 1 year ago
JSON representation

Memento repo of the first game I wrote, a minesweeper clone in 2014 using java swing. My, how times have changes.

Awesome Lists containing this project

README

          

## Minesweeper clone in Java

This project is just an archive to mark off the first
game I ever finished in the state it was in when
completed. The code is a mess, and I'd clean it up if
I didn't have other priorities - code was complete at
the end of 2014, and so it shall stay, a monument to
games and constant improvement

Simply a minesweeper clone, nothing more. The game is
feature complete, and operates just like the classic
Minesweeper, but in Java form with pure Java swing
UI components. Ew, I know, but it was fun, plays well,
and looks decent if you didn't hate the 90's

The only really interesting code here is the reveal
algorithm in MinesweeperPanel. If I had the luxury of
some time to burn, I'd clean it up and refactor it
to have a separation of concerns. There is no reason
for all the logic to be in a panel class other than
the 'I have a few hours to kill, lets write a game'
mentality that I had at the time.

I believe the bomb graphics are fan-made graphics in
the likeness of Nintendo's bob-omb character.

### MIT License

Copyright 2014-2018 jakethedev

Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.