Showing posts with label chess. Show all posts
Showing posts with label chess. Show all posts

Wednesday, January 23, 2013

Chess engine?

Yeah, I was thinking about connecting some chess engine to my game. Of course, I want to have a Player vs CPU option so there must be some AI. I had 3 ways to do it:
  1. Write my own chess AI algorithm
  2. Use a freeware chess engine
  3. Find some simple open source chess game and copy/paste game logic from it.
Guess what I choose.

I really don't think writing my own AI would be a good idea, it's a problem for a month alone. I just want to make a chess game, why breaking a open door?
There's a lot of ready-to-go chess engines over the Internet. It's a small, individual program that can make a chess decisions and communicate with a chess GUI by standard system pipes. Personally I think that it's the best idea - I just need to write some communication protocol based on the UCI or something. So I take a look over the Internet. OMG. After hours of searching I've found the article that describes this problem best:
http://novelthought.org/talking-to-chess-ai-using-c/
And my reaction was:
OK, so here's my try. I've found this:
https://github.com/tobijk/simple-chess

Yesterday I've made a Player vs Player possible version, so adding a CPU option to this should be quite simple. Today I'll try to connect these functions above...


Thursday, January 10, 2013

Chessboard

Ok, so we have a little change of plans. Green color was too similar to grass and was blending with it (omg, really?!), so I've come with a standard blue-red convention. Celshading is on only on units, it looks better that way ;) Of course the map could look a lot better and readable, but I think it's all I can afford right now.

Soooooo... I'm starting with the code tommorow. Just as now, I'll be posting daily about my next steps etc. I really can't wait to see that in game!

Wednesday, January 2, 2013

Here we go!

Ok, here's the deal:
http://www.onegameamonth.com/

I will motivate and force myself to make 12 games in this new 2013's year. This blog will held all of my project progress, that means screens, demos, movies (I wish) and of course my great ideas! ;)

Starting with January, I'm making mine DirectX 11 Hello World game. The idea: just a normal chess game with some unusual graphics. As far as I'm learning D3D I'll try to cut gameplay designing to minimum, so right now I'll use a premade chess engine to impelement an AI.

From tomorrow, I'll model and texture one object per day. Unusual graphics means war vehicles and weapons instead of a classical chess pieces. I think about low-poly carton-like tanks, planes, etc.

Cross your fingers and get ready for a first render tomorrow!



Yeah, I know my english sucks, but as far as #onegameamonth is an international community I wish that maybe someone not speaking polish will find something interesting here ;)