Git Product home page Git Product logo

offline-chess-puzzles's Introduction

Hello ๐Ÿ‘‹

For the last few years I've been specially interested in Rust, and before that my favorite language was Pascal, I've worked in a couple open source Lazarus/FreePascal projects, and it still interests me.

My professional programming experience was with Java, but after so many years I don't recall much about that language (it changed a lot anyway), in that job I also did a bit of frontend work and I try to keep myself at least a bit up to date in this area.

In 2023 I graduated in Visual Arts, and you can see a few of my works in that area in Pixelfed.

I'm a big FOSS enthusiast, so I've been a GNU/Linux user for years and both in programming and in arts I use only Free and Open Source softwares.

offline-chess-puzzles's People

Contributors

brianch avatar yuval59 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

offline-chess-puzzles's Issues

vcruntime140.dll needed in win7 and on win10 the labels sometimes are not shown correctly

Congratulations Brianch has released the new version!

Since the last version was released, I have checked it out almost every day. Whenever I see the "code" page, it shows modified "a few hours, or days", I am very excited. Thank you very much for your hard work, Brianch.

After version of 2.0, I've been a little busy at work this month, so I didn't play it very often.

I tried it on the win7, and it noticed me that a 'VCRUNTIME140.dll' file is missing. I guess its my computer's problem.

But when I tried it on win10 system, sometimes there are strange "patterns" on the screen. I don't know if this is my computer's problem. Anyway it's not a big problem, you don't need to fix it in hurry.
strange

Stats for Puzzle solved

Would be nice to have statistics for puzzles attempted/solved across various categories
calculated rating based on solved/attempts for such categories.
Ability to reset statistics and start all over again

Can't compile under linux

After running "build cargo" I get a lot of errors. Just a sample:

22  | use crate::Device;
    |
22  | use crate::gles::Device;
    |
      and 1 other candidate
help: if you import `Device`, refer to it directly
    |
106 -         let devices = mtl::Device::all();
106 +         let devices = Device::all();
    |

error[E0283]: type annotations needed
   --> /home/emilio/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-hal-0.12.5/src/metal/mod.rs:590:5
    |
586 | #[derive(Debug, Default)]
    |                 ------- in this derive macro expansion
...
590 |     samplers: Vec<SamplerPtr>,
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
    |
    = note: cannot satisfy `_: std::default::Default`
    = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0283, E0425, E0432, E0433.
For more information about an error, try `rustc --explain E0283`.

The rust version I'm using is "cargo 1.64.0-nightly (a5e08c470 2022-06-23)"

I'm using an Ubuntu 20.04.4 LTS.

Congratulations! New release published. And some suggestions.

After waiting for a long time, the new version updated. Hurrah!
Thank you very much for your hard work, Brianch!

The new version:
It runs perfectly under win7/10 system.
Display the movement of each step, including the last step of the computer which is very useful.
When you accidentally clicked the opponent's piece on the board, or when there is no piece, it won't show 'wrong move'.

As a loyal fan of you, I expect that could you please add some more functions?
Such as:
1.Is it possible to add a 'sound/xx.mp3 or xx.wav' folder that can allow users to put in their favorite moves/catch sounds.

2.Add parameters that can change the color of the board in the 'settings.json' file.
For example, I like to use
Black: R 134 G 166 B 102
White: R 255 G 255 B 221
image

3.Is it possible to design the program layout from vertical to horizontal
because if the board is set too large, the buttons or labels below cannot be seen.
image

4. Is it possible to add a text box to display the question number?
So if a user make a mistake that he may go to the database to see the correct step.
image

5.Please put your paypal or any donation link, that we can cheer you up!

Make Board Flippable

I love this software!
And I like to do sets of puzzles with a flipped board from time to time. So as to maybe better learn what the opponent is threatening me.
I would therefore like to have a little checkbox which makes the board flip around. This should be on the main page.
And maybe it should be remembered for the next time I open the program. Just for consistency, when all the other stuff is remembered.

crash under windows10

warning: field is never read: puzzle_db_location
--> src\settings.rs:34:5
|
34 | puzzle_db_location: text_input::State,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(dead_code)] on by default

warning: offline-chess-puzzles (bin "offline-chess-puzzles") generated 1 warning
Finished dev [unoptimized + debuginfo] target(s) in 3m 42s
Running target\debug\offline-chess-puzzles.exe
error: process didn't exit successfully: target\debug\offline-chess-puzzles.exe (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)

Remember Min, Max, Tactics Theme, Opening

I love this software!
And I like to do the same set of puzzles again and again. For that, it would be very helpful, if on the main page the min and max-rating, the tactics theme and the opening would be remebered after pressing Search.
And when I open the program next time, these values should be preset alredy.

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.