topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 4:21 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Entering SMIRF 8x8 + 10x8 Chess Program  (Read 85409 times)

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Entering SMIRF 8x8 + 10x8 Chess Program
« on: April 10, 2006, 11:48 AM »
SMIRF

SmirfThink10x8.png

I just have changed my SMIRF program to become a pure donationware program. So some pieces of text might still mention 'shareware,' where now 'donationware' is meant. Also some parts of its documentation still have to be translated into English. Nevertheless the program is beta yet, it should work.

Regards, Reinhard.

P.S.: Beta tester feed backs are welcomed !

P³.S.: Now an always actual download (~1.7 MB) could be found at my page:

http://www.chessbox.de/Compu/schachsmirf_e.html

At problems with SMIRF first try to delete the local SmirfGUI.ini file once.

SmirfEdit8x8.png

SmirfEdit10x8.png
« Last Edit: April 12, 2006, 05:46 AM by Smirf »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #1 on: April 10, 2006, 11:52 AM »
ive changed the attachment size to 8mb so you should be ok to upload it as one file which will make it easier for people.
« Last Edit: April 10, 2006, 11:55 AM by mouser »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #2 on: April 10, 2006, 11:52 AM »
looks beautiful by the way!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #3 on: April 10, 2006, 12:03 PM »
can you tell us a little bit about the program smirf?

as i understand it, it is a program that does a coupld of things - it can play a game of chess human vs computer but not just standard chess boards - but a whole bunch of test problems that involve different sized boards and starting positions.

it can also playback games and stuff.

can you give us some more background and other information that might be useful to know?

i know some chess experts, i'll ask them to come by and check it out.

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #4 on: April 10, 2006, 12:43 PM »
SMIRF tries to make a minimal approach to program chess and some variants like Chess960 (FRC) or 10x8 CRC (Capablanca Random Chess), which as supersets somehow compatibly contain traditional chess (that is what I name the FullChess approach). Its engine is small and currently sized 60 KB only, despite this one engine covers all those variants. SMIRF actually attempts to cover the opening stage without using huge looking up knowledge like opening books or endgame table bases. Thus it actually is recommended to play Chess960 or CRC to get different games.

SMIRF's strength currently seems to be about the Crafty level. Being my first approach to write a playing chess program, there will be of course some weaknesses and details to be improved. It uses an own public communication protocol between engine and GUI called TMCI (Third Millenium Chess Interface), which is subject to be modified if other programmers would be interested to also use it.

SMIRF is able to store and load games as PGN, cut and paste it and also positions as X-FEN. It enables PGN games to be commented, but does not (yet) support variant game lines. It has several playing timing levels. If the automatic answering is switched off, you could enter move series without having the engine answer. The gaits of the special 8x10 pieces Archbishop and Chancellor will be shown by marked squares. It is recommended to have the online hints be activated during first time. You could choose one of four languages: Eng, Ger, Fra, Swe. GothicChess actually is not supported directly, because I still have not received Ed Trice's license he promised me. Nevertheless in edit mode you could set up any starting array and switch castling rights by simply clicking at the rooks' file letters.

This here is my attempt to test, whether the distribution form as a donationware would give me sufficient support or not. If not, the project will be continued as shareware.

Regards, Reinhard.

P.S.: There also are a lot of interesting things at my homesite.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #5 on: April 10, 2006, 12:53 PM »
Reinhard (smirf) - i *love* the look of your website. love it.

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #6 on: April 10, 2006, 01:19 PM »
mouser, happy to hear that. My opinion is, it would need a redesign. But - time ...

You would have noticed, that not all content is bilingual - merely chess related parts.

Reinhard.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #7 on: April 10, 2006, 02:30 PM »
Nice to see your entry, Reinhard  :Thmbsup:

- carpe noctem

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #8 on: April 10, 2006, 02:47 PM »
Nice to see your entry, Reinhard  :Thmbsup:
I hope not to be the last one, entering a piece of software at this contest.

A new question is, how to find the correct category for SMIRF Chess: 'Large Program' or 'Game or Diversion' ?

Reinhard.

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #9 on: April 11, 2006, 06:21 AM »
Now an always actual SMIRF download (1.7 MB) could be found at my page: http://www.chessbox.de/Compu/schachsmirf_e.html

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #10 on: April 11, 2006, 06:46 AM »
Now an always actual SMIRF download (1.7 MB) could be found at my page: http://www.chessbox.de/Compu/schachsmirf_e.html
Nice, Smirf. But please edit your post on the beggining of the tread, to include that link instead of the attachments (only to avoid you having people reporting solved bugs ;) )
Good to see entries in the contest! thanks  :Thmbsup:

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #11 on: April 11, 2006, 06:50 AM »
... But please edit your post on the beggining of the tread ...
-jgpaiva
I did this already, but I have not been able to delete attachments.

Reinhard.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #12 on: April 11, 2006, 06:52 AM »
i removed the download links (you can just uncheck them).

with regards to this:
A new question is, how to find the correct category for SMIRF Chess: 'Large Program' or 'Game or Diversion' ?

no need to worry about this question, programs can be elligible for multiple categories - judges will consider them in all appropriate categories.

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #13 on: April 12, 2006, 07:16 AM »
Some more details on SMIRF:

variabel cache size, optimal move-pair iterative deepening, diff. time settings, analyse mode, PGN and X-FEN interface using clipboard; graphic export possibilities (also at 72% size), customizable colors, comfortable position editor, drawn or willful input of CRC and Chess960 starting arrays, automatic saving of last enviroment state, TMCI protocol engine as separated DLL; multilanguage GUI in German, Englisch, French and Swedish.

Regards, Reinhard.
« Last Edit: April 12, 2006, 07:18 AM by Smirf »

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #14 on: April 25, 2006, 02:28 AM »
Hi, there is a new SMIRF version setup now also including the file "borlndmm.dll".

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #15 on: May 05, 2006, 12:22 AM »
Hi, are there already any SMIRF test users? Have there been any installation problems? If or if not: at which MS Windows OS?

Regards, Reinhard.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #16 on: May 05, 2006, 12:42 AM »
works well here - very cool app.  it does a little blinking when the computer moves.. maybe that could be improved?

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #17 on: May 05, 2006, 01:26 AM »
it does a little blinking when the computer moves..
Well, mouser, I noticed that too, but I have no idea how to synchronize paint with a vblanc phase or to avoid that flickering anyway else. Actually the picture is drawn buffered and then copied at any paint event.

Reinhard.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #18 on: May 05, 2006, 05:24 AM »
it does a little blinking when the computer moves..
Well, mouser, I noticed that too, but I have no idea how to synchronize paint with a vblanc phase or to avoid that flickering anyway else. Actually the picture is drawn buffered and then copied at any paint event.

Reinhard.

Do you trap the WM_ERASEBKGND message? If you do a full blit at WM_PAINT covering the entire client area, you shoudl make WM_ERASEBKGND do nothing, to avoid flickering.
- carpe noctem

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #19 on: May 05, 2006, 06:29 AM »
Do you trap the WM_ERASEBKGND message?
-f0dder
This sounds interesting. I never had trapped a Win message in Borland C++. Could you assist me with a link to an example for this?

Since the graphic is a TPaintBox only and not the whole client, it might be an idea to delay the real picture transfer to that erase event.

Reinhard.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #20 on: May 05, 2006, 06:34 AM »
Hm, I guess there's some Borland C++ "OnEraseBackground" or similar message, but I haven't used VCL-based languages (or even straight Borland C++, for that matter) since... the delphi2 days, iirc.

Anyway, you don't really need to sync with vblanc/vret - as long as you double-buffer and do a single blit to the "primary surface". I'm sorry I don't know how TPaintBox etc. works :(
- carpe noctem

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #21 on: May 05, 2006, 07:05 AM »
... as long as you double-buffer and do a single blit to the "primary surface".
That is (so I hope) what I do. But it obviously sometimes is not sychronized with vblank.

May be, someone knows a trick to solve that problem ...

Reinhard.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #22 on: May 05, 2006, 09:01 AM »
After having looked at Smirf myself, I don't think it's a vblank sync thing - <brainstorm>it looks a lot like the PaintBox(?) background is being erased before you copy your data to it. Do you use any calls to "erase", "clear" or a similar method? Does the PaintBox have a background color property?</brainstorm>
- carpe noctem

Smirf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 59
    • View Profile
    • SMIRF -> OCTOPUS Chess Project
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #23 on: May 05, 2006, 10:17 AM »
All I do at paint is:   PbxBrett->Canvas->Draw(0, 0, BmpBrett);

martyjn

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 34
    • View Profile
    • Internet Games
    • Donate to Member
Re: Entering SMIRF 8x8 + 10x8 Chess Program
« Reply #24 on: May 07, 2006, 08:37 PM »
Hi smurf love the look of the program and website I am thinking of entering a Tcp/IP winsock chess program that i have written It doesnt do any computer play but i use it to let me play across the net against my parents and family I am having a little trouple getting winsock to work reliebly on xp machines ( i wrote it in 98) and i want to bring them all together into the one(i also have checkers,reversi and norts and crosses using the same interface.
for anyone that is interested i have betas of my programs at http://www.members.optusnet.com.au/~martyjn/download the graphics are still in the beta stage as well and the interface could use some work you have to click on the piece that you want to move and then on the square to move it to.Istead of relaying threw a server one side acts as a server but has to send the IP adress to the client for the socket to connect.
Anyway i am rambling i just wanted to see what you thought abou my work.