Coder Social home page Coder Social logo

eschecs's People

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

Watchers

 avatar  avatar  avatar  avatar

eschecs's Issues

About ENGINES.md

Hello.

Congratulation for that nice grid!

Could it be possible to have some more info, your feelings, the level, etc..., of each engine?

Or maybe only a column "Rating" (Class F-J, Class A-E, Expert, Master).

Thanks.

Fre;D

Infos before next pull-request.

Hello Roland.

Before to propose a pull-request, here the modifs done.

There was still problems with the Pascal mode.
Is it a reason why you need Delphi mode as default?

Because using other code, like BgrabBitmap or fpGui that use {$mode objfpc}, may create conflicts.

{$mode delphi} is more tolerant about assignation of pointer of pointer ( ^^ ) for example.

If you agree, in next pull-request I will use {$mode objfpc} in all your code.

Other thing, with BGRAfpGUIBitmap.pas, I get a error message compiling on Linux:

bgrafpguibitmap.pas(51,14) Error: (3058) There is no method in an ancestor class to be overridden: "LoadFromDevice(LongInt;TRect);"
bgrafpguibitmap.pas(57,1) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted

So I disabled those 2 methods in BGRAfpGUIBitmap.pas for Linux (maybe a bug report would be welcome).

In image.pas was changed all "" with "directoryseparator" to be Unix compatible.

Last thing, Linux is case-sensitive so, I did change {$R eschecs.res}.

Now all compile ok.

[EDIT] and runs OK.
https://sites.google.com/site/fredvsbinaries/eschecs_linux.png

Fre;D

Menu bar not visible at application start

Since I use the develop branch of fpGUI, there is a problem with the menu bar. When the application starts, the menu bar is not visible, until I click on it.
The test was made under Windows.

Question regarding opening book and hash size

Hi, thank you for this awesome chess GUI!

  1. Is it possible to use a different opening book with the engines?

  2. What is the default hash size the engines use? Is there a way to set a different hash size?

Your work on this project is much appreciated, this is one of my favorite GUI to play chess, I love the simplicity.

About uos sound libraries.

Hello Roland.

Happy new year!

Wow, I am very impressed by all the engines you added, Eschecs is a must have now.

About sound libraries needed by Eschecs.

Only libraries libPortAudio and libMpg123 are needed in Eschecs project.
All others will never be used and should not be added in
+---audio
| +---lib

Fre;D

Error while compiling

Hello Roland.

What version of BGRABitmap are you using?
Here, with last BGRABitmap I get this error:

/home/fred/Downloads/eschecs-master/source/board.pas(214,33) Error: (4025) Incompatible type for arg no. 3: Got "LongInt", expected "Boolean"
/home/fred/bgrabitmap-dev-bgrabitmap/bgrabitmap/bgranoguibitmap.pas(119,28) Hint: (5039) Found declaration: Draw(TCanvas;TRect;Boolean=TRUE);
/home/fred/bgrabitmap-dev-bgrabitmap/bgrabitmap/bgranoguibitmap.pas(114,28) Hint: (5039) Found declaration: Draw(TCanvas;LongInt;LongInt;Boolean=TRUE);
board.pas(549) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted

Pieces sizes

Hello Roland.

I have seen that you added 2 new pieces (magnetic and lucena) and 2 new sizes (30, 90 and 100).

Nice!

But for piece-Wood the new sizes (30, 90 and 100) are missing, is it wanted?

Fre;D

News about Eschecs and MSEgui

Hello Roland.

Here on the video, demo of moving pieces from the simulated engine.
Also at end of video, demo using the keyboard.
It is random result, without any check, only to show it in action.

The log memo uses the "notation algébrique figurine (NAF)" but of course you know better what is the best.

I have to do a break with computer but all is ready to welcome your engines code.
Of course all can be changed, but now I feel more comfortable with Eschecs + mse.

Video:

eschecs_mse_movingpieces.mp4.zip

Source:

[Edit: updated in last post]

A bientôt.

Fre;D

Memory leak under Linux

Hello Roland.

The memory leak comes from CommandLine

Without using CommandLine, no memory leak.
Very strange because all is freed in finalization LExpr.Free;

For testing I replaced code with followed and no more memory leak.

//  if CommandLine.HasOption('coloring', LBool) then
   FColoring := LBool;
// if CommandLine.HasOption('font', LStr) then
  LFont := LStr;
//  if CommandLine.HasOption('language', LInt) then
  LLang := TLanguage(LInt);
//  if CommandLine.HasOption('movetime', LInt) then
  FMoveTime := LInt;
//  if CommandLine.HasOption('scale', LInt) then
 LScale := LInt;
//  if CommandLine.HasOption('style', LInt) then
 FStyle := TBoardStyle(LInt);
// if CommandLine.HasOption('chess960', LBool) then
 FChess960 := LBool;

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.