back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-11-26 15:15:52 +0300
committerscratko <m@scratko.xyz>2024-11-26 20:18:15 +0300
commit4f64ac2f9265fe216e8d62f0d73a6f3b3389fbb1 (patch)
tree254d6ebaa0f7411033f8cbaf050e4ae1704d1a1f /README.md
parente93ba1ef36e5aa8e13a0d448fc465ac9b517e4d3 (diff)
downloadpicture-puzzle-4f64ac2f9265fe216e8d62f0d73a6f3b3389fbb1.tar.gz
picture-puzzle-4f64ac2f9265fe216e8d62f0d73a6f3b3389fbb1.tar.bz2
picture-puzzle-4f64ac2f9265fe216e8d62f0d73a6f3b3389fbb1.zip
Renaming and changed README fileHEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md43
1 files changed, 42 insertions, 1 deletions
diff --git a/README.md b/README.md
index 76bbeb7..1e87112 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,43 @@
-<a href="https://scratko.xyz/games/puzzle.exe" target="_blank">Download Windows
+# Picture puzzle
+
+<img src="puzzle.png" />
+
+A desktop game similar to the standard widget in windows 7. The game is written
+in C++ (including C++17 standard). FLTK was used as a graphics library. This
+library is not as heavy as Qt, and allows to quickly create an application with
+graphical widgets.
+
+The essence of the game should be clear: to collect the image in its original
+form, moving one puzzle per move.
+
+The application has the following features:
+
+- *upload your image in any format and resolution. The program itself will
+ resize, cut into puzzles, create the appropriate directory and save them in
+ it.*
+
+- *showing the complete solution of the puzzle using the optimization algorithm
+ A\*.*
+
+- *the game is distributed in a single executable file by embedding the original
+ standard image (toucan image) in the executable file. The image data is stored
+ in an array in an object file (resources.o)*
+
+- *support for \*unix and Windows platforms*
+
+## Building
+
+For \*nix platform, you need to install FLTK library and then do the following:
+
+```
+git clone https://git.scratko.xyz/picture-puzzle
+cd picture-puzzle
+make
+./main
+```
+
+## For Windows platform
+
+The built executable file (under x86_64) is available at the link: <a
+href="https://scratko.xyz/games/puzzle.exe" target="_blank">Download Windows
version</a>