Skip to content

Commit 4773e1a

Browse files
committed
here we are
1 parent 24f9565 commit 4773e1a

36 files changed

+7875
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Minesweeper
2+
3+
## Game Features
4+
5+
- **A grid-based game board**
6+
- Beginner (8x8, 15 mines)
7+
- Intermediate (16x16, 40 mines)
8+
- Expert (30x16, 99 mines)
9+
- Custom ([8..100]x[8..100], [1..9999] mines)
10+
- **Randomly placed mines** on the first move excluding the first selected tile (first save move)
11+
- **Number hints on tiles** indicating adjacent mines
12+
- **Left-click to reveal a tile**, right-click to flag/question/unmark a potential mine
13+
- Left click on a flagged tile will do nothing
14+
- Left click on a questioned tile will reveal it
15+
- Left click on an revealed tile will
16+
- reveal all adjacent tiles if the adjacent flags equals the adjacent mines
17+
- shows unrevealed adjacent tiles as revealed (without the adjacent mines information)
18+
- **Winning condition:** Reveal all non-mine tiles.
19+
- **Losing condition:** Reveal a mine ends the game
20+
- Tracks time
21+
22+
## Implementation details
23+
24+
- Separated game logic
25+
- UI with VCL
26+
27+
## Screenshots
28+
29+
![Beginner Start](assets/screenshots/beginner-start.png)
30+
![Intermediate Play](assets/screenshots/intermediate-play.png)
31+
![Intermediate Lost](assets/screenshots/intermediate-lost.png)
11.1 KB
Loading
36.4 KB
Loading
19.2 KB
Loading

src/.gitattributes

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text eol=crlf
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
7+
# Declare files that will always have CRLF line endings on checkout.
8+
9+
# Denote all files that are truly binary and should not be modified.
10+
*.exe binary
11+
*.res binary
12+
*.dres binary
13+
*.ico binary

src/.gitignore

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Uncomment these types if you want even more clean repository. But be careful.
2+
# It can make harm to an existing project source. Read explanations below.
3+
#
4+
# Resource files are binaries containing manifest, project icon and version info.
5+
# They can not be viewed as text or compared by diff-tools. Consider replacing them with .rc files.
6+
*.res
7+
#
8+
# Type library file (binary). In old Delphi versions it should be stored.
9+
# Since Delphi 2009 it is produced from .ridl file and can safely be ignored.
10+
*.tlb
11+
#
12+
# Diagram Portfolio file. Used by the diagram editor up to Delphi 7.
13+
# Uncomment this if you are not using diagrams or use newer Delphi version.
14+
#*.ddp
15+
#
16+
# Visual LiveBindings file. Added in Delphi XE2.
17+
# Uncomment this if you are not using LiveBindings Designer.
18+
#*.vlb
19+
#
20+
# Deployment Manager configuration file for your project. Added in Delphi XE2.
21+
# Uncomment this if it is not mobile development and you do not use remote debug feature.
22+
#*.deployproj
23+
#
24+
# C++ object files produced when C/C++ Output file generation is configured.
25+
# Uncomment this if you are not using external objects (zlib library for example).
26+
#*.obj
27+
#
28+
29+
# Build results
30+
[Dd]ebug/
31+
[Dd]ebugPublic/
32+
[Rr]elease/
33+
[Rr]eleases/
34+
[Bb]in/
35+
[Oo]bj/
36+
[Ll]og/
37+
38+
# Delphi autogenerated files (duplicated info)
39+
*.cfg
40+
*.hpp
41+
*Resource.rc
42+
43+
# Delphi local files (user-specific info)
44+
*.local
45+
*.identcache
46+
*.projdata
47+
*.tvsconfig
48+
*.dsk
49+
50+
# Delphi history and backups
51+
__history/
52+
__recovery/
53+
*.~*
54+
55+
# Castalia statistics file (since XE7 Castalia is distributed with Delphi)
56+
*.stat

src/Assets/1f603.png

4.46 KB
Loading

src/Assets/1f610.png

3.48 KB
Loading

src/Assets/1f614.png

3.94 KB
Loading

src/Assets/1f627.png

4.07 KB
Loading

0 commit comments

Comments
 (0)