Black Knight - a BlitzMax game

Community Forums/Showcase/Black Knight - a BlitzMax game

Steve Elliott(Posted 2005) [#1]
Black Knight (early version) is available for download from here:

http://www.elliottproductions.co.uk/temp/BlackKnight.zip

Could you give me your FPS scores for the 4 graphics modes available? Just press enter to clear the dialogue box first - here are my test results:

1024 X 768 16 bit colour = 703 FPS
1024 X 768 32 bit colour = 588 FPS
1280 X 1024 16 bit colour = 588 FPS
1280 X 1024 32 bit colour = 474 FPS

Pentium 4 - 3.2Ghz, 1024Mb RAM, ATI Radeon 9800 Pro.

Some results with the background off would also be helpful - please add your specs when posting.

Thanks.


Perturbatio(Posted 2005) [#2]
1024 X 768 16 bit colour = 545 FPS
1024 X 768 32 bit colour = 548 FPS
1280 X 1024 16 bit colour = 445 FPS
1280 X 1024 32 bit colour = 448 FPS


Steve Elliott(Posted 2005) [#3]
Thanks Perturbatio. Some good FPS there.


Dragon57(Posted 2005) [#4]
1024 X 768 16 bit colour = 1185 FPS
1024 X 768 32 bit colour = 1000 FPS
1280 X 1024 16 bit colour = 925 FPS
1280 X 1024 32 bit colour = 750 FPS

Ran on the AMD machine in my sig below.


Steve Elliott(Posted 2005) [#5]
Whoah! Amazing speed there Dragon57! That is encouraging.


Perturbatio(Posted 2005) [#6]
actually, I think there must've been something running in the background before I get about 100fps higher now.


xlsior(Posted 2005) [#7]
1024 x 768 16 bit = 515
1024 x 768 32 bit = 359
1280 x 1024 16 bit = 419
1280 x 1024 32 bit = 298

See .sig for specs


Steve Elliott(Posted 2005) [#8]
Good scores. Keep the FPS feedback coming.

Thanks.


Yan(Posted 2005) [#9]
1024 X 768 16 bit colour = 827 FPS
1024 X 768 32 bit colour = 827 FPS
1280 X 1024 16 bit colour = 676 FPS
1280 X 1024 32 bit colour = 666 FPS...8oO

A64 3500+ / 1GB / GF6600GT (71.89) / Flakey XP Pro SP2


Gabriel(Posted 2005) [#10]
1024 X 768 16 bit colour = 575 FPS
1024 X 768 32 bit colour = 505 FPS


AMD XP2700 / 1GB / Radeon 9700 Pro


Monitor can't do 1280x1024, so that's all I can give ya.


Steve Elliott(Posted 2005) [#11]
Is everybody getting high scores?

Time for a new monitor Sybixsus - it looks much better in 1280 X 1024. ;-)


EOF(Posted 2005) [#12]
Stayed at maximum 71FPS in all modes on my laptop:
Sony Viao ATI Mobility 9200 64MB Graphics, Dx9c

Toggling background on/off has no effect.

Probably a known issue but if I toggle the shadows OFF the screen drawing goes haywire.
That is, the hand pointer leaves trails although the chess pieces and info box are drawn ok.


Steve Elliott(Posted 2005) [#13]
Oops! Thanks for pointing out the shadows bug jb - fixed now.

What do you mean toggling background on/off has no effect? To the FPS value you mean? That is strange because no background = CLS only - ie no background drawing at all. But if you don't get any variation across the modes then your OpenGL drivers must be locking to the refresh rate and not allowing the 'flip false' action.


EOF(Posted 2005) [#14]
What do you mean toggling background on/off has no effect? To the FPS value you mean?
Yes. FPS stays consistent.
I have my 'wait for vertical sync' as [default on] so that explains the fps limit.


Najdorf(Posted 2005) [#15]
I would have waited to get a decent AI before doing the interface... I did a recursive chess AI once, with a brute force algorithm: to see 3 moves ahead and then evaluate the position by counting left pieces it took about 1 minute...

Are you going to put AI? It will be a very tough project


Steve Elliott(Posted 2005) [#16]

I would have waited to get a decent AI before doing the interface...

Are you going to put AI? It will be a very tough project



Well firstly it's not just an interface, all the internal data structures are in-place and the legal move generator is nearly done.

And yes I am going to add AI and yes it's a tough project. But I've written chess programs before and have many chess books and idea's for the AI - it'll take a while to produce something competitive though.


Najdorf(Posted 2005) [#17]
good luck then. A chess program is a formidable task, make one and you will know for sure you are a good programmer.

The one I did some time ago computed all possible moves chessboard positions N moves ahead, remembering from which sequence they came from, then used a kind of recursive minimax scoring approach to solve the game backwards, terribly inefficient, but in theory it could calculate to any depth.

Crazy thing is I wrote it in matlab as an exercise to learn it: it had many cool features that made the programming simpler, but was pretty slow

here is the code, if you ever happen to get on matlab (though it doesn't have an interface, it just generates a random position, shows it as a 8x8 matrix, and then tells you which move he would do)




btw, are you a good chess player? I have around 1600 elo on yahoo


Genexi2(Posted 2005) [#18]
Too lazy to post the other FPS :

1280x1024 32bit : 1060-1160FPS

AMD64 3200+
1gb DDR RAM
256mb MSI GF6800 GT

BTW, I must say those are some very nice graphics, love the way the playing pieces get "skew" in the towards the opposite side of the board (left/right-wise) they're on.


Steve Elliott(Posted 2005) [#19]
Najdorf, thanks for the encouragement and code. btw is that why your sig is Najdorf - because you like the Sicilian Defense? Or just your name? :-D

Am I good chess player? Not really, I tend to have good strategy but poor tactics so lose because of it. Although one of my goals is to improve my chess through reading the chess books, playing lots against my program and to introduce some sort of coaching facility into Black Knight.

Thanks for the FPS feedback Genexi2 - speed looks good on Black Knight it seems.

I'm glad you noticed the varying angle of the pieces - my attention to detail hasn't been wasted (it does look odd if they're all at the same angle). I'm quite happy with the realtime scaling of the selected piece and the accurate placement on the 3d board also - quite a few headaches there initially.


Najdorf(Posted 2005) [#20]
lol, yeah, Najdorf because of Miguel Najdorf, the argentinian chess player, that popularized one of the most famous defenses :P

Congrats you're the first that got it!

I have also an entire book on the najdorf defense, though I never really studied it (just randomly browsed) and never really played it in serious games.

I like the sound of it (spell "naydorf"), so I took it as a nickname ;-)

I used to play tournaments when I was 18-19, never was too good though


Steve Elliott(Posted 2005) [#21]
LOL - do I win a prize?

Yeah I've got to read those books of mine properly now as well.


eBusiness(Posted 2005) [#22]
42 fps at max settings on Celeron 2,53 GHz, Intel Extreme Graphics 2. Seems like the rendering problem is a no problem problem, now, bring in some AI.


Steve Elliott(Posted 2005) [#23]
Heh heh - and there's me hopeing to tweak the graphics some more before AI. Point taken.