PDA

View Full Version : OTHELLO Test - 2


A1ien51
05-20-2003, 09:18 PM
I added the medium computer onto the game. It still needs some work since there are some holes in its defense, but I thought I would put it up a little early to see if there is any boundry problems. I ran into a few and fixed them.

default is set on medium!

http://www10.brinkster.com/a1ien51/OTHELLO/

Tell me what you think..

A1ien51

sage45
05-20-2003, 09:59 PM
It put up a good fight but in the end I killed it...

51 - 10

I agree though that it does have some holes in it's defense... I noticed that all to quickly it would jump to the border and give up a corner, but at the same time the that would be what you would expect...

-sage-

A1ien51
05-20-2003, 11:20 PM
It will give some people some trouble. I do not have this looking into the effect of its move, that will be the next level.

I need to add a couple of checks, but I give up for tonight...

A1ien51

Jerome
05-21-2003, 08:52 PM
Fantastic, good work

Even with IE 5.0 and a 36k modem it's a lot of fun!

Jerome

A1ien51
05-21-2003, 11:18 PM
thanks, the game only has 3 gifs. size of 44x44 for no big problem. Biggest part is the code!

Computer still needs work, but that is on the back burner, until I get the beta version of another game out!

A1ien51

Saj
05-22-2003, 12:11 AM
Ahh it beat me! Thats really good though...what is the difference in code between the medium and easy?

A1ien51
05-22-2003, 02:55 AM
THe easy mode is just a random number generated placement. I use an array for all of the available moves and pick a spot. If there is a corner it outweighs the random number.

Now with medium, it runs through a range of statements, if it applies it gets a rating. I rate anything from 1000 for a corner to a negitive 30 for the danger zone. There is a random number involveed so it will not always pick the same area if ratings are the same.

Now to be coded is the expert mode. I am going to have it look at what the effects of the move is. It will take longer to run, but we will see what happens. I have a battle connect four game in the works, I am trying to get the beta version of that up.

The medium way is the way I think when I play. It plays off of the tatics on the help page. If you want to get better, play by using the tatics!

A1ien51

Algorithm
06-08-2003, 11:16 PM
You really need to put a "survival instinct" into the Medium code, preventing it from placing itself in a position where it can be conquered. If the computer (playing white) had placed 4B instead of 6E, it could have stayed in the game.

Blk Wht
5C 4C
3C 6C
7C 3D
3E 3F
3G 5F
5G 6E
7E

A1ien51
06-08-2003, 11:43 PM
lol, I have not worked on this game in awhile, been caught up on my other games. I have always planned on going back to this game, but have not gotten around to it.

If you want the game with the hardest computer player I have built so far, try ReadyFourBattle........

My games are:

Solitaire 13 (Pyramid type - still in BETA)
Released Yesterday: http://www10.brinkster.com/a1ien51/Card/Solitaire13.htm

Peg Solitaire (5x5 grid)
Released Last Week: http://www10.brinkster.com/A1ien51/game/pegged.htm

Ready Four Battle (Connect Four on steroids)
Updated Last Week:http://www10.brinkster.com/a1ien51/battle/ReadyFourBattle.htm

A1ien51 lights (Bad Name for Tic-Tac-Toe based game)
Game I am not sure about:http://www10.brinkster.com/a1ien51/lights

You are welcomed to comment on any of them

Eric