![]() |
Re: [ANNOUNCE] PeQersi - Reversi game
Well, I'm out of town now, but as soon as I get back.
New version still cheats, but good news is so do I. I let the computer take a line and after a few iagonal plays I got those too. Anyway, my basic algo is based on a 8x8 board, each one has a "value", with center being zero and corners being 100. This allows prioritising play. This is level one. At level two, game tries to play all his valid moves, then all my next moves. Once this is done, it sorts solutions by the most advatageous move. E.g., if a play of his will open me to take a corner, that solution get him -100, because it loses the hundred peg. This allows it to not play moves that allow me to get corners, unless it's the last move. The higher the level, the more it tries to predict. With enough heuristcs, it will become a war of limitation of damage. As a result, and ideal player will exhaust my safe moves before I exhaust his, evntually forcing me to play a 22 27 72 or 77, meaning he gets corners. Because of value grid, it will first try to get a foothold on lines, the semicorners, then corners. A few exceptions apply, such as black 13 14, white 15, his move. This should be a 99 move for 12, not because of position, but because it kicks me off the line. Another exception is black 13 15, if it can it should take 14. Because if I ever play up to 12 or 17, it's his corners and his line. Once it predicts the whole game and has a complete list of exception, I'll pit it against my algo and, if it beats that, me. Standard N900 post disclamer. |
Re: [ANNOUNCE] PeQersi - Reversi game
3 Attachment(s)
Quote:
Not fixed yet. Screenshot number one. Quote:
Screenshow two: rigorous testing. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
P.S. Cheating or not, but an improbable first move. In screenshot three. |
Re: [ANNOUNCE] PeQersi - Reversi game
Quote:
http://www.hamedahmadi.com/gametree/ |
Re: [ANNOUNCE] PeQersi - Reversi game
Quote:
|
Re: [ANNOUNCE] PeQersi - Reversi game
Quote:
I think got the new game bug fixed. New version available through update. Please test it. :) There are many things in the plans, but for now only bug fixes are allowed, because of the competition. I'm developing in the meantime, and will release the changes next week. |
Re: [ANNOUNCE] PeQersi - Reversi game
3 Attachment(s)
Testing for PeQersi version 2 (I'll soon update to version 3).
Sometimes it allows me to make an "impossible" first move. When 0 white pebbles are left, it doesn't notice that I have won. When there is a draw (32-32), it says I lost. |
Re: [ANNOUNCE] PeQersi - Reversi game
Quote:
Fixed them. I've added some new things too, but those will wait, for the upload, till the competition ends. :) |
Re: [ANNOUNCE] PeQersi - Reversi game
@mmlado
I am a big reversi fan, so thank you for this offering! I also realise that in some instances, it is still a work in progress and would ask that you look at the following areas. 1. The program does not offer a win/lose result when the game is over and there is a cell/square still open. 2. Is it possible to add different challenge/difficulty levels? It is way to easy at the moment. 3. Is it possible to add a running total of game stats such as games won/lost/drawn? All this being said, i really enjoy your program and spend at least an hour a day playing. It has save my sanity at the airports while waiting for my flights. Thank you once again for your effort. |
Re: [ANNOUNCE] PeQersi - Reversi game
I'm glad to hear you like and enjoy it
It's more of an experiment for me. I'm learning PyQt on this project. :) Hopefully I'll upload the next version sometime during next week. Quote:
Quote:
It is planed to change it so difficulty can be chosen. Quote:
|
Re: [ANNOUNCE] PeQersi - Reversi game
New version (0.1.0) in the repository, grab it while it's hot. :)
Here's the changelog:
Hope you'll enjoy the added difficulty. It's still not the real thing, but it'll do for now. Next I'll work on adding options dialog, so players can be changed, and some other things... :) |
All times are GMT. The time now is 00:53. |
vBulletin® Version 3.8.8