summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordawidg81 <dawidgorski.m@gmail.com>2026-01-29 14:41:37 +0100
committerdawidg81 <dawidgorski.m@gmail.com>2026-01-29 14:41:37 +0100
commita910dd5c864bc97346b36a025bb50091d7fbdf0c (patch)
treef3993b61212c08abd2d42438a115bbb8bbe2edff
parent64aa263b2473ffe6ba9ea3f4931a84cffbff6771 (diff)
Updated documentation
-rw-r--r--README27
-rw-r--r--README.md5
-rw-r--r--docs/docs/index.md19
-rw-r--r--docs/mkdocs.yml3
4 files changed, 27 insertions, 27 deletions
diff --git a/README b/README
deleted file mode 100644
index b615c41..0000000
--- a/README
+++ /dev/null
@@ -1,27 +0,0 @@
- # minesweeper #
-
-A reimplementation of minesweeper game in C++ in terminal.
-
- ## Concept ##
-
-There are going to be 3 difficulties and one additional
-option where user can determine plot size and amount of mines
-by himself.
-
-Game commands are going to be read from normal std::cin input
-method. The project is not going to use curses, ncurses or
-lncurses libraries for now.
-
-Plot is going to be displayed (printed) on the upper left
-side of the screen, eventually with colors. Here are planned
-symbols of in-game elements:
-
- # - unrevealed tile.
-
- . - revealed tile (no mines around).
-
- X - (red color) bomb.
-
-Colorful numbers from `1` (1 mine around the revealed tile) to
-(maximum) `8` (8 mines around the revealed tile) - numbers
-saying how much mines are around it.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..b196c3d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,5 @@
+# minesweeper
+
+A reimplementation of minesweeper game in C++ in terminal.
+
+Full documentation can be found in `docs` directory. \ No newline at end of file
diff --git a/docs/docs/index.md b/docs/docs/index.md
new file mode 100644
index 0000000..862dd7e
--- /dev/null
+++ b/docs/docs/index.md
@@ -0,0 +1,19 @@
+# minesweeper
+
+A reimplementation of minesweeper game in C++ in terminal.
+
+## Concept
+
+There are going to be 3 difficulties and one additional option where user can determine plot size and amount of mines by himself.
+
+Game commands are going to be read from normal std::cin input method. The project is not going to use curses, ncurses or lncurses libraries for now.
+
+Plot is going to be displayed (printed) on the upper left side of the screen, eventually with colors. Here are planned symbols of in-game elements:
+
+`#` - unrevealed tile.
+
+`.` - revealed tile (no mines around).
+
+`X` - (red color) bomb.
+
+Colorful numbers from `1` (1 mine around the revealed tile) to (maximum) `8` (8 mines around the revealed tile) - numbers saying how much mines are around it.
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
new file mode 100644
index 0000000..95e27b0
--- /dev/null
+++ b/docs/mkdocs.yml
@@ -0,0 +1,3 @@
+site_name: minesweeper
+theme:
+ name: material \ No newline at end of file