Giter Site home page Giter Site logo

kdsli / red_shisen_sho Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 2.0 7.29 MB

kdsli's version for shishen_sho

License: GNU General Public License v3.0

CMake 3.70% C++ 96.22% C 0.08%
qt5 c-plus-plus shisen-sho game qgraphicsview qgraphicsscene qstatemachine

red_shisen_sho's Introduction

kdsli version for shishen_sho

This project was created to teach my son how to program and maintain my professional skills, and also because of the small amount of free time.

It is written without viewing the source code of the KShisen program from KDE and uses only pure QT and graphic images of this project, including tiles and background image. The current version uses Ben Gillbanks designer icons (https://iconbird.com/designer/BenGillbanks)

The goal of the project was to find the optimal tiles removal algorithms.

In version 0.3, the program is rewritten using QGraphicsView and QGraphicsScene.

In version 0.4, the game control logic is transferred to the QStateMachine state machine.

In addition, the program has additional features in relation to the original game:

  • when a program reaches a deadlock, it demonstrates that the correct way to remove the tiles is possible.
  • you can set your own background images by placing them in the UserBackhround directory.
  • the program has a training mode, in which the hint, undo and redo functions are available, but the results do not fit into the high score table. When the training mode is off, these functions are not available, but the results are recorded in the table of records.

The source code of the program is successfully tested:

cppcheck -q --enable=all --inconclusive --std=c++14

The main language of the program and comments is Russian, but there is an interface translation file into English.

Build under Windows posted here. But no work was done on installing the program on Linux, since the program was not planned as public. Nevertheless, it is quite workable.

The program can be assembled according to the following algorithm:

The copy obtained in the output_Release directory is fully functional.

From the unfinished I can specify:

  • no sounds are output

In the near future I plan to fix it.

Respectfully, Dmitry [email protected]

screenshot1 screenshot2 screenshot3 screenshot4 screenshot5 screenshot6 screenshot7

red_shisen_sho's People

Contributors

kdsli avatar

Stargazers

 avatar

Forkers

xingkong1989 mazj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.