From 90bd5ca05bea4dbeaaeff5cbe13b5671da420c82 Mon Sep 17 00:00:00 2001 From: scratko Date: Fri, 25 Jul 2025 17:04:21 +0300 Subject: July update Added const qualifiers is_next_to_empty_box() became visible to other files(). The size of the main window has been changed. Checking whether the A* algorithm has been launched before starting a new game or the same A* algorithm. Fixed indentation in lambda expressions. The initial node is added to open_queue without additional creation of dynamic memory (the address of the object field is taken). Fixed PQ_cont.erase(). IsNearEmptyBox was removed(). EqualNode moved to the Node class. --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1e87112..84b2fd6 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ 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. +graphical widgets. The essence of the game should be clear: to collect the image in its original form, moving one puzzle per move. @@ -27,7 +27,16 @@ The application has the following features: ## Building -For \*nix platform, you need to install FLTK library and then do the following: +Unfortunately, for \*nix platforms, you need to install the FLTK library because +the executable file will require a dynamic library. For example, for +distribution Ubuntu, this can be done as follows: + +``` +$ sudo apt install fltk1.3-dev +``` + +Next, simply download the source files via git and compile the project using +utility Make: ``` git clone https://git.scratko.xyz/picture-puzzle -- cgit v1.2.3