Maestro: a chess gui (wip)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Maestro: a chess gui (wip)

Post by netmaestro »

For now just testing graphics and simple animation. But this will form the basis for a long-term project that will provide a full range of chess functions:

- Play against GM-rated computer opponent (open-source "Crafty" by Dr. Bob Hyatt)
- Load positions and have Crafty analyze them
- Play against a human opponent over network or internet
- Participate in training modules covering the key aspects of the game e.g. openings, middlegame, endgame, pawn structure, tactics, etc.

But for now you can just move the pieces around and take anything you want. The main reason I posted this demo is that I was torn between technologies for the graphics and play and I wanted to see my final choice tested by several people to see if it's viable. I really wanted to avoid using DirectX and sprites because that means using a windowed screen & gui gadgets together and that, while certainly doable, is a pain in the ass.

Thanks for testing it!
BERESHEIT
fizban
User
User
Posts: 31
Joined: Thu Sep 20, 2007 7:36 am
Location: Spain

Re: Maestro: a chess gui (wip)

Post by fizban »

Although the thread is a little bit old now, I just downloaded the demo an I have a couple of comments:
- I do not see the nice textured background posted in one of the first posts. I see the board with solid colors.
- I am not able to resize the board

I am on Windows XP SP3.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Maestro: a chess gui (wip)

Post by netmaestro »

The textured board is going to be an option.

I didn't really make clear how to resize the board. If you move the mouse over the bottom-right corner of the board (only this corner, nowhere else) you should get a nw-se sizing cursor which allows you to resize the board larger or smaller within boundaries. Let me know if this doesn't work, thanks for testing it!
BERESHEIT
fizban
User
User
Posts: 31
Joined: Thu Sep 20, 2007 7:36 am
Location: Spain

Re: Maestro: a chess gui (wip)

Post by fizban »

The resizing works perfectly, now that I know where to click :wink:
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Maestro: a chess gui (wip)

Post by netmaestro »

Thx, good to know. The real trick was getting the collision testing to remain accurate over a wide variation of sizes, I'm mainly concerned about that working right.
BERESHEIT
infratec
Always Here
Always Here
Posts: 7618
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Maestro: a chess gui (wip)

Post by infratec »

Hi,

I just played again with your board.
Sometimes it happens to me that I don't hit the piece.
So I have to click a second time.

Wouldn't it be better if a click on the area of the field is enough to drag the piece?
This would save me a lot of 'double' clicks.
And I can be more inaccurate :mrgreen:

Bernd
Post Reply