Recent

Author Topic: Mazette (chess game)  (Read 9234 times)

eastorwest

  • New Member
  • *
  • Posts: 17
Mazette (chess game)
« on: December 30, 2017, 10:11:29 am »
Port of Mazette Delphi chess application to Lazarus IDE
https://github.com/eastorwest/Mazette-chess
It includes chess engine to play.
No need external components to build.
Tested building and playing on Win32 and Linux Gtk2 x86-64 with Lazarus 1.8.0

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: Mazette (chess game)
« Reply #1 on: December 30, 2017, 11:18:14 am »
plays very well middle game. it would be nice to have the option of saving the moves in a text file.
thank you!
« Last Edit: December 30, 2017, 12:38:23 pm by tudi_x »
Lazarus 2.0.2 64b on Debian LXDE 10

Thaddy

  • Hero Member
  • *****
  • Posts: 14197
  • Probably until I exterminate Putin.
Re: Mazette (chess game)
« Reply #2 on: December 30, 2017, 12:25:21 pm »
Tested building and playing on Win32 and Linux Gtk2 x86-64 with Lazarus 1.8.0
Tested on Raspberry Pi! Works great! Tnx!
Specialize a type, not a var.

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: Mazette (chess game)
« Reply #3 on: December 30, 2017, 01:23:56 pm »
there is a bug.
i pressed file while the computer was to move and one piece disappeared from the computer pieces.
Lazarus 2.0.2 64b on Debian LXDE 10

Thaddy

  • Hero Member
  • *****
  • Posts: 14197
  • Probably until I exterminate Putin.
Re: Mazette (chess game)
« Reply #4 on: December 30, 2017, 01:52:28 pm »
There are some more errors in the user interface, but the engine looks OK.
Specialize a type, not a var.

eastorwest

  • New Member
  • *
  • Posts: 17
Re: Mazette (chess game)
« Reply #5 on: January 01, 2018, 02:58:39 pm »
it would be nice to have the option of saving the moves in a text file.
I tested only binary format named "zet" by author (from main menu File - Save game and File - Open game). It looks like array records of moves.
Which format for text file do you mean?

Quote
There are some more errors in the user interface
I want to fix errors in UI. Could you write me about the most significant errors?

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: Mazette (chess game)
« Reply #6 on: January 01, 2018, 04:15:05 pm »
Quote
Which format for text file do you mean?

ASCII, ex.:
1. e2 - e4  c7 - c5
2. Ng1 - Nf3 ....

best would be PDF with Unicode symbols for pieces. (https://en.wikipedia.org/wiki/Chess_symbols_in_Unicode)

Quote
Could you write me about the most significant errors?

the fact that you can take a piece off the table should be first priority i think.
btw at 4.5 moves i could not beat the engine on a 6.5 W TDP CPU.
my ELO was 1910 at some point in time.
« Last Edit: January 01, 2018, 04:17:20 pm by tudi_x »
Lazarus 2.0.2 64b on Debian LXDE 10

eastorwest

  • New Member
  • *
  • Posts: 17
Re: Mazette (chess game)
« Reply #7 on: January 02, 2018, 05:05:34 am »
It was added export to ASCII file in last version of sources (File - Export game). Algebraic notation, not Unicode.

Quote
i pressed file while the computer was to move and one piece disappeared from the computer pieces.
I cant reproduce this. Could you give some more info about your software (OS, ui interface, ) and hardware (x86,x86-64 or arm may be)?

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: Mazette (chess game)
« Reply #8 on: January 02, 2018, 09:21:18 am »
thank you for adding the export to ascii feature.
i noted that if i am using it during the game, the game resets afterwards.
i think the feature should be made available also during the game as maybe i want to share the moves. please do not reset the game, just export the moves up to the point of export.

i will need to play a little bit more with it as i was not able to reproduce the disappear of piece. i think it happens when pressing while the engine painted the moves. it happened with a knight.
maybe for time being the export feature could track the number of pieces for each side for each move.
this way i could upload the moves together with screen capture.
OS: Win 7 64b, CPU:  J3710

« Last Edit: January 02, 2018, 09:52:04 am by tudi_x »
Lazarus 2.0.2 64b on Debian LXDE 10

eastorwest

  • New Member
  • *
  • Posts: 17
Re: Mazette (chess game)
« Reply #9 on: January 02, 2018, 12:27:42 pm »
Quote
do not reset the game, just export the moves
Fixed in last sources.

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: Mazette (chess game)
« Reply #10 on: January 02, 2018, 12:58:50 pm »
please find attached moves plus screen capture.
where is the rock in the screen?
Lazarus 2.0.2 64b on Debian LXDE 10

eastorwest

  • New Member
  • *
  • Posts: 17
Re: Mazette (chess game)
« Reply #11 on: January 03, 2018, 08:40:02 pm »
tudi_x
Did you play for black side? It looks like engine twice analyze position before 12th move and try to make 13th move in that position.
If mouse click can change position then may be it is reason of using old position.

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: Mazette (chess game)
« Reply #12 on: January 05, 2018, 09:00:32 am »
yes. i played black side.
when hitting File menu the rock disappeared.
Lazarus 2.0.2 64b on Debian LXDE 10

eastorwest

  • New Member
  • *
  • Posts: 17
Re: Mazette (chess game)
« Reply #13 on: January 14, 2018, 08:07:26 pm »
tudi_x
I made many changes in chess units and hope that bug was fixed. It need tests.

 

TinyPortal © 2005-2018