Staredit Network > Forums > Technology & Computers > Topic: Apos's Chess (ChApos)
Apos's Chess (ChApos)
Sep 2 2010, 5:49 pm
By: Apos  

Sep 2 2010, 5:49 pm Apos Post #1

I order you to forgive yourself!

I am currently writing a chess engine that will work under the UCI protocol; it means that it can work under a UCI chess interface therefore I don't need to write my own. At this point, almost everything is done (Move generation, checkmate and stalemate, ply and so on), all what is left is to make an analysis that will tell the engine if it should play a certain move more than an other one. This is how I think I will do it:

In order to make it stronger, I will have to experiment. My first idea is to give a value for each move. The move with the highest value is then played.
To calculate the move value, I will add all of whites's pieces (Positive numbers) with black's pieces (negative numbers) and if the result is positive, white is winning. The value each piece will have will change during the game.

At the start of the game, pieces in the middle will have a bigger value. Therefore, if a move brings a piece in the middle, and an other brings it to the side, the one in the middle will be chosen. (Of course, there will be more criteria, but that's the basic.)

Cool facts I found about chess using my chess engine:

At move 0, there are 20 possible moves.
After move 1, there are 400 possible moves.
After move 2, there are 8902 possible moves.
After move 3, there are 197281 possible moves.

I will probably post then engine when it starts playing move that are fairly good.




Sep 2 2010, 7:55 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!


Make sure you add animations, and have the queen shake her butt when she walks.

I know the number of moves eventually hits a low point, but you can't just go by the best value, since you also have to think 3-4 moves ahead. I can't help with the theory at all, though I would expect things like deep blue run on pretty sophisticated software.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Sep 2 2010, 8:06 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Battle Chess! <3




Sep 5 2010, 5:08 am Apos Post #4

I order you to forgive yourself!

I'll have to rethink what I've been working on, it can now play, but it does it way too slow.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[04:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[04:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[06:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[03:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[03:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
[2026-6-19. : 9:57 am]
Oh_Man -- artosis dropped pretty interesting vid: https://youtu.be/EqZHB8Blra4
[2026-6-18. : 5:01 pm]
Ultraviolet -- :wob:
[2026-6-17. : 6:15 am]
RexyRex -- :wob:
Please log in to shout.


Members Online: Moose