Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / HasChess

Author
Message
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 31st Dec 2009 15:39 Edited at: 5th Feb 2010 21:16
Hello guys!

I've been working recently on a chess game, and here's my WIP thread:



It is a chess game, made by DarkGDK which will include single player ( Hard - Normal - Easy ) and Multiplayer ( LAN - Online ).

the game will include:

* Single player and multiplayer modes
* 3d ofc.
* high-detailed chess pieces, and low-detailed ones ( 3 levels of detail )
* super chess and classic chess ( super chess adds addition fun factors to the game )
* chat in multiplayer mode
* online gaming which will have scoring system and ranking system
* the might be billiard and/or bowling games too, 3 in one eh?
* freely movable camera

Any suggestions are welcome!

Here's the progress till now: done, not done, not fully done

Single player mode
effects
enemy AI
castling
en-passent
promotion
check and checkmate ( not noticeable, no enemy AI )

Lan mode
effects
chat
castling
en-passent
promotion
check and checkmate

Online mode


Overall
free movable camera
options menu
saving and loading games
3 detail levels
reflective shader for the board [not familiar with shaders, sadly.]

i will not work on the single player mode until i finish all other parts, since making the computer intelligence algorithm is pretty hard.
hope i can finish this project anytime soon =D

and now the best part, SCREENIES!






DEMO 5/2/2010
http://filebeam.com/7b4f50fa60bb927930e5facfbc655955

first off, the program by default is full screen, you can rename ForceResolution_.txt and ForceMovement_.txt to the same name without the underscore ( _ ), you can leave forcemovement blank while will make the window have borders, but in forceresolution write the desired resolution to run the game ( no spaces, eg: 1024,768 ).
once you start, choose single player or multiplayer, hard-normal-easy, all are the same, it's always your turn, just mess with pieces, in multiplayer->lan, in order to play it you should change IP.txt information, write connection IP and host IP ( in case you want to play lan with yourself to test it, pass your local IP in both host and connect IP's in the written format ).
controls
A D : move camera
return ( enter ) : toggle chat
escape : display main menu
rest is explained while playing.
-note: you start with white pieces, in lan mode, the one who hosts the game is the white team-

IF YOU WANT TO PLAY AGAINST ANOTHER MACHINE ANYWHERE IN THE WORLD:
first, download & install "log me in hamachi 2". ( free non-commerical version is good )
second, one of the two users should make a new network, call it whatever you want and give it a password if you want, the other should join the network, using the data used to make the network.

third, open IP.txt file in the game directory and change connection IP to your mate's hamachi ip and host IP to your hamachi IP, your mate should do the same.

note that your mate's IP.txt file should oppose yours.
fourth, enter the game, choose multiplayer->lan.
have fun!


RESOLUTION PROBLEM:
if you, anyhow have a problem in the resolutiom, you can try the following:
go to data -> statics -> forceresolution.HAS -> set it to : <screenwidth>x<screenheight>x<depth(32 probably)>
e.g. : 1024x768x32
note : use any text editor to open it

if that doesn't fix it, please let me know.

NeX the Fairly Fast Ferret
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 31st Dec 2009 16:09
The models look really nice. You might want to rethink your lighting, though. It's quite uneven, and whatever you've done to darken the black side has completely washed out all contrast.

Athlon64 2.7gHz->OC 3.9gHz, 31C, MSi 9500GT->OC 1gHz core/2gHz memory, 48C, 4Gb DDR2 667, 500Gb Seagate + 80Gb Maxtor + 40Gb Maxtor = 620Gb, XP Home
Air cooled, total cost £160
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 31st Dec 2009 16:26 Edited at: 1st Jan 2010 12:54
oh well, never done good lighting to any of my scenes, whether in-game or in a modeling program )=
where should i place lights? ( atm i have 4, one at each corner of the table ( little higher than it ) )

Zeus
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 31st Dec 2009 20:13
The lighting does need some work. Great job though Hassan! Reminds me of chess on FunOrb.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 31st Dec 2009 20:19 Edited at: 1st Jan 2010 12:54
heh, thanks =)

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 31st Dec 2009 21:05 Edited at: 1st Jan 2010 12:55
new screenshot:



Satchmo
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 31st Dec 2009 21:07
I can HasChess? Looks really cool, the chess models are top notch, but I agree that the lighting needs some work, and maybe some specularity on the pieces wouldn't hurt?

Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 1st Jan 2010 00:35
Um, the pieces are set up in the wrong place. The bishops always go next to royalty, with the knights outside the bishops and inside the rooks. Unless I learnt a different version...?

[center]Literally nobody who isn't a retard is talking about 2012. -Drew Cameron
Zeus
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 1st Jan 2010 00:47
Different version INH.

Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 1st Jan 2010 01:00
Hmmm... well that puts a good load of standard chess openers I know (eg scholar's mate) into jeopardy... curses of living in Britain I suppose.

[center]Literally nobody who isn't a retard is talking about 2012. -Drew Cameron
Blobby 101
18
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 1st Jan 2010 02:17
no, you've got the knights and the bishops the wrong way round mate, Look at this: http://en.wikipedia.org/wiki/Chess#Initial_setup

prasoc
16
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 1st Jan 2010 02:20
For the lighting, use a shader. Also for the board, use a reflective shader. It does look good so far (all it needs is a good polish!)

tiresius
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 1st Jan 2010 04:01
Besides the bishop/knight being switched, The squares are also reversed. White on Right. This is putting your queen off her color. :/

I'm not a real programmer but I play one with DBPro!
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 1st Jan 2010 06:43
Thanks for the feedback guys, i fixed all the issues above, but im pretty sure i saw the knight and bishop in the way i made them somewhere, but anyway, ill update the screenshots and demo.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 1st Jan 2010 07:39
ok updated screenshots & demo, make sure you get the latest exe.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 1st Jan 2010 12:53 Edited at: 1st Jan 2010 13:04
sorry for the triple post:

updated the demo

1- fixed some check/checkmate issues.
2- now pieces moves together on the client and server, not one after another.
3- now you can win / lose ( lan )
4- fixed some en passent issues

now i'll start working on castling, hope i get it working soon

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 2nd Jan 2010 14:15
new version's out, you can access resolution/window/pieces detail from the options menu in-game.

Satchmo
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 3rd Jan 2010 01:06
Also, there is a dbp command which lets you disable texture blurring, I assume it would be useful for the checkerboard, so the white and black squares don't run into each other.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 3rd Jan 2010 12:52
well im using DarkGDK

hookkshot
17
Years of Service
User Offline
Joined: 12th Apr 2007
Location: Adelaide, Aus
Posted: 3rd Jan 2010 13:28
I like the look of it so far keep up the good work.

Maybe ill be as solid at programming one day

2.0Gh AM2 Processor, 9800GT, 2Gb Ram
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 3rd Jan 2010 18:39
thanks

i finished castling! now i will make a save game option so you can view it after match, and then ill upload a new version.

tiresius
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 4th Jan 2010 04:43
I looked at it and just a few suggestions.

1) Get the desktop resolution width/height/depth and just set the game to that as a default. You have some widescreen format as the default and I could barely use the menu at 1024x768.

2) Game hangs when I try to exit.

3) Fix the square colors they should be reversed. Remember: White on Right !


A 3D marble platformer using Newton physics.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 4th Jan 2010 13:18 Edited at: 4th Jan 2010 14:42
i reversed them >_>..well that's confusing, ill look into it

oh by the way guys, did i upload one with widescreen as default? im really sorry if i did, you can open Data\statics\forceresolution.HAS in a notepad and change your resolution, should have uploaded a 640x480x32 res as default >_<

EDIT: @ 1024x768 users, can anyone give me a screenshot for the game with that resolution? as i dont have a machine with such resolution in my house, and when i tested it at school i got some problems with the UI alpha map, would be really cool if someone can post screenshot while playing

EDIT: what do you mean by game hangs? and what way did you use to exit? i can exit very fine using all methods except pressing the X button from the window since i dont use LoopGDK() function

tiresius
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 4th Jan 2010 20:20
I exited via the "X" in the window and the program just started spinning its wheels and hung. I don't think the Quit button worked for me at all.


A 3D marble platformer using Newton physics.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 4th Jan 2010 20:26
the X is broken yes, but the exit button works just fine

Kryogenik
15
Years of Service
User Offline
Joined: 22nd Sep 2009
Location: Heidelberg, Germany
Posted: 4th Jan 2010 21:08
Looks nice, good work. Just curious, what modeller do you use? Those are some good chess pieces.

Codesurge is so awsome, thanks Hyrichter.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 5th Jan 2010 13:52
i use max

demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 6th Jan 2010 00:09
Some of them pieces look gorgeous mate. From screenies in first post (which I think have been updated) the queen is still in the wrong place - she has to start on her colour - and the knights look somewhat like dragons.

It looks great though mate - going to download that demo and have a little play about... I suck at chess though...

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 6th Jan 2010 13:35
thanks!

yea i didnt update it, its in the right place now

Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 6th Jan 2010 14:41
The current download still has the board the wrong way around. The near right corner for each player should be white.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 6th Jan 2010 15:33
i know, i will update it once i finish saving/loading games, i finished saving and too lazy to start on loading.. xD

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 9th Jan 2010 18:47
Almost finished the loading, sorry for being too late, i was very ill that i couldnt continue.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 14th Jan 2010 20:39
At last! loading and saving are done! except that i wanted to make my own image format, but failed because dbPoint() was returning 0 always.

ill clean up the code ( which will boost the FPS, i hope. ) then upload a new demo, then ill be planning for the super chess mode.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 22nd Jan 2010 13:59
ok, i decided to work a bit on the enemy AI and maybe online mode before super chess mode, because, i dont think someone managed to get the game working on lan, even tho i think i explained it well in the first post

Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 22nd Jan 2010 23:01 Edited at: 22nd Jan 2010 23:14
Have you thought about adding physics:

Fulcrum Physics

You may not need it but if you do bowling etc you might.

I would just like to see all your chess pieces falling onto the board from a great height using my physics plug-in he he.
Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 22nd Jan 2010 23:17
I have to say Hassan this looking exceptional, one of the best 3D chess games I've seen.

And I agree with matty, it looks serious but it would probably do well with a bit of added comedy

[center]Literally nobody who isn't a retard is talking about 2012. -Drew Cameron
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 23rd Jan 2010 07:01
thanks guys

and for the falling pieces, i would really want to add that, would look neat =D

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 5th Feb 2010 09:58
ok, slow progress so far, i have exams.

well working on the AI, might finish the easy mode in a week or so, after exams.

The Slayer
Forum Vice President
15
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 5th Feb 2010 13:27
Hi, Hassan, first of all I would like to say that your screenies look very good, and that I love to play chess. The only problem is that I've downloaded your game, and when I run it, I only get this (see screenie) on startup. I have Vista (service pack 2), an ATI Radeon HD 3870 graphics card, AMD 64 X2 DUAL Core 4400+ 2.30 Ghz, 4 Gb Memory, and my desktop resolution is set at 1024, 768, 32. What could cause the problem? Any ideas?



Btw, keep up the good work!

Cheers

Slayer rules!!! Yeaaah, man!
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 5th Feb 2010 20:26 Edited at: 5th Feb 2010 21:11
ooooo im pretty sorry guys... the uploaded version's default resolution is set to 1366 x 768 x 32 ( my resolution )

try this:

open file directory, go to data > statics > ForceResolution.HAS
write 1024x768x32
then open data > statics > info.HAS and write replace <windowed "#"> with <windowed "0"> if it's not 0 already

NOTE: open in any text editor

that's just at the start, if you want to change it once again, you can check options meny in-game

sorry again for that mistake, ill fix the default resolution on next demo, and i'll add anti-aliasing option, and maybe shadows ( still trying to get it to work.. )

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 5th Feb 2010 21:16 Edited at: 5th Feb 2010 21:17
ok never mind about that problem, i uploaded a new demo with anti-aliasing working and fixed the resolution problem.
-in the first post-

Kira Vakaan
15
Years of Service
User Offline
Joined: 1st Dec 2008
Location: MI, United States
Posted: 5th Feb 2010 23:14
Looking good
I don't know if the screenies of the chessboard are updated, but as someone mentioned before, the squares kind of run into each other. What you should look for is a way to disable mipmapping on the texture. In DBPro, there's a flag on the command load image that handles mipmapping, so I'm sure there's something similar in DGDK.

Keep up the good work
The Slayer
Forum Vice President
15
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 6th Feb 2010 15:46
Hi, Hassan, I've downloaded your new demo, and the resolution problem is fixed.

The overall look of your game is very good. It could have some improvements, like a backdrop (audience, room, outdoors), a chess-set with animated pieces, the opportunity to play some (calm) music, a timer or clock, etc...
I've tried the single player mode, and there the pieces behaved in a very strage way (see screenie). Btw, I started with white.
In your first post, you mentioned that the single player AI was'nt completely done, so I understand.

Anyways, it's a good start, and with a better AI and some improvements, you're on the right track, so keep it up!

Cheers

Slayer rules!!! Yeaaah, man!
Zeus
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 6th Feb 2010 15:51
You should have an options menu to change the resolution.

Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: &lt;script&gt; alert(1); &lt;/script&gt;
Posted: 6th Feb 2010 19:01
@ the slayer: i didnt not finish the AI, still at the start, getting some vector problems, all members are the same somehow, so all pieces moves to a place where another piece should move to, as i said, AI is not ready yet

@zeus: there is one already..

so yeah, music and timer is comming soon, but not before the simple AI.

darkvee
19
Years of Service
User Offline
Joined: 18th Nov 2005
Location:
Posted: 6th Feb 2010 19:40 Edited at: 6th Feb 2010 19:43
Hi Hassan it looks really good man. Keep it up you will have this done in no time!
Just focus on gameplay, and the controls. Don't worry about shaders , and crap thats for when the game is done.

darkvee

Login to post a reply

Server time is: 2024-11-24 12:57:37
Your offset time is: 2024-11-24 12:57:37