Advertisement

How to program a chess: a forum based tutorial

Started by December 23, 2004 11:09 PM
276 comments, last by da_grat1 19 years, 8 months ago
I first noticed this thread now, and coincidentally, I've been working on a chess game for the last couple of weeks. If only I could upload a picture somewhere...

I've got the pieces moving around the board and all. I'm just about to start designing the chess AI. I'll make sure to follow this thread, perhaps I can make a helpful contribution...

Keep up the good work!
Hey guys,

Tutorial is going to be a bit late this week...I've been kinda busy...Should have it done on monday and I'll try to finish off the entirety of the bottom layer so that we can get to work on the game asap. With any luck, we should be finished within the next week or two :)

Cheers,
- llvllatrix
Advertisement
Any reason for choosing OGL vs DX sdk? I have both softwares but have not decided which to start learning first. Just wondering because I have some books on OGL and DX 9 and not gotten to them yet but wondering is the entire graphics you are trying to do in OGL and the code for the actual game in c++? Sorry, a newbie here trying to understand... Very interesting thread to have started....
Quote:
Any reason for choosing OGL vs DX sdk?


It really depends what you need. OpenGL will always be supported on almost every platform you can think of (including cell phones :)). Its very close to hardware and the interface very easy to use. The problem with OpenGL is consistency. Since OpenGL runs on so many different platforms, the results on different platforms can vary drastically.

Direct X on the other hand is always consistent. Its closer to software than OGL but as a result its a bit slower. DX is only meant to be run on a windows platform. You will also find Direct's interface is a pain to use.

Quote:
is the entire graphics you are trying to do in OGL and the code for the actual game in c++?


All the game code is written in c++, including the code that uses OGL. We are using a combination of classes and function libraries to build our engine. The main reason we are using GL is mainly because it is cross platform. The ultimate goal of this project is to develop a game engine that cross platform. For now, most of us are running windows and using VC++ as our IDE. You will find, however, that we could have used SDL (simple direct media layer) for a few of our subsystems. Instead, I decided to use a mix of different libraries. This way we get good exposure to researching and wrapping libraries.

Quote:
Sorry, a newbie here trying to understand... Very interesting thread to have started....


Glad you're interested,
- llvllatrix
Quote: With any luck, we should be finished within the next week or two :)


Do you mean, finish everything..? :) including the AI...?
Yup :)
Advertisement
haha :) Great..
I really can't wait to play the game..
llvllatrix, Where do you get your textures for your programs from, Do you make them yourself, does a friend make them for you, do you get them from a website, or what?? I'm just wondering as to how you get your hands on the textures you use.
I'm not too good at making textures, so I usually google for photographs. If its a complicated texture, I will usually combine several photographs. Sometimes I have to do things like facial features, In which case I start either from scratch and then use photoshop's burn tool.

I also have a list of sites that provide really good base textures. Unfortunately, I'm not at my computer right now, but I'll post 'em as soon as possible.
Any progress.... I wonder whether the chess pieces can be moved already by now...

This topic is closed to new replies.

Advertisement