 |
|
 |
|
Next: Set algorithm
|
| Author |
Message |
External

Since: Dec 05, 2004 Posts: 1
|
(Msg. 1) Posted: Sun Dec 05, 2004 10:08 pm
Post subject: implementing Othello for embedded system Archived from groups: comp>ai>games (more info?)
|
|
|
Hi,
I've been working on an Othello game for an embedded system. Currently
it features:
- Negascout Search
- Mobility + Potential Mobility
- Edge + 2X Pattern Table
- Hashtables (2tables x 16k x 8bytes)
- End Search
- Searches about 2-3kn/s on a DSP (about 1Mn/s when compiled and run
on a P4)
- Capped at 9 plys (16plys end) at maximum difficulty
The problem I'm facing with now is I need to cut down from 340kB of
RAM usage down to 64kB
This is a real pain because the edge table already requires 59049
values and currently takes up twice that number of bytes. I could drop
the edge+2x table to use an edge tables and negative weights for
X-squares, but I don't really want to do that because it seems to
severely affects the playing strength of the game. Using black/white
symmetry and 3 patterns per word I can reduce it to about 36k.
I will have to drop hashtables too, and similarly reduce the lookup
tables for mobility and potential mobility by half.
Are there any possibilities to reduce RAM usage, or possibilities to
strengthen the game or make it faster without using much additional
RAM? >> Stay informed about: implementing Othello for embedded system |
|
| Back to top |
|
 |  |
External

Since: Dec 06, 2004 Posts: 2
|
(Msg. 2) Posted: Mon Dec 06, 2004 9:21 am
Post subject: Re: implementing Othello for embedded system [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Gerald Tan <woefulwabbit.RemoveThis@gmail.com> wrote:
> This is a real pain because the edge table already requires 59049
> values and currently takes up twice that number of bytes. I could drop
> the edge+2x table to use an edge tables and negative weights for
> X-squares, but I don't really want to do that because it seems to
> severely affects the playing strength of the game. Using black/white
> symmetry and 3 patterns per word I can reduce it to about 36k.
u can try use two symetries
a) natural
X-OXXX-- == --XXXO-X
b) black/white symetrie
X-OXXX-- == (-) --OOOX-O
now only 14884 values on 8 bits = 15Kb
good results see
http://perso.wanadoo.fr/othello
a+ >> Stay informed about: implementing Othello for embedded system |
|
| Back to top |
|
 |  |
External

Since: Dec 06, 2004 Posts: 2
|
(Msg. 3) Posted: Mon Dec 06, 2004 5:32 pm
Post subject: Re: implementing Othello for embedded system [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Bruno Causse wrote:
>>This is a real pain because the edge table already requires 59049
>>values and currently takes up twice that number of bytes. I could drop
>>the edge+2x table to use an edge tables and negative weights for
>>X-squares, but I don't really want to do that because it seems to
>>severely affects the playing strength of the game. Using black/white
>>symmetry and 3 patterns per word I can reduce it to about 36k.
> u can try use two symetries
> a) natural
>
> X-OXXX-- == --XXXO-X
>
> b) black/white symetrie
>
> X-OXXX-- == (-) --OOOX-O
>
> now only 14884 values on 8 bits = 15Kb
Hi, thanks for your reply.
I have considered taking advantage of symmetries before, but I could not
find a way to map edge configurations to an index. >> Stay informed about: implementing Othello for embedded system |
|
| Back to top |
|
 |  |
External

Since: Dec 06, 2004 Posts: 2
|
(Msg. 4) Posted: Mon Dec 06, 2004 8:33 pm
Post subject: Re: implementing Othello for embedded system [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 06, 2004 Posts: 2
|
(Msg. 5) Posted: Fri Dec 10, 2004 9:42 pm
Post subject: Re: implementing Othello for embedded system [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Bruno Causse wrote:
>>Hi, thanks for your reply.
>>I have considered taking advantage of symmetries before, but I could not
>>find a way to map edge configurations to an index.
> yes you right, sorry
I guess Cyrano unpacks the table from applet into memory? >> Stay informed about: implementing Othello for embedded system |
|
| Back to top |
|
 |  |
External

Since: Dec 10, 2004 Posts: 1
|
(Msg. 6) Posted: Fri Dec 10, 2004 9:42 pm
Post subject: Re: implementing Othello for embedded system [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
| Related Topics: | [REQUEST] Minimax alpa beta algorithm for Othello games - any body help me please... i want to implement minimax alpa beta algorithm for othello games... anybody have the source code.... please share it to me, please ;-) please mail me at if04013@students.del.ac.id Thanks for alllllll ;)
TBC Fast Package(1-70) - Any Class Free 2000G - Wow level50-60,30g per level level60-70,150g per level. Dear Sir or Madam Hot Sale!For all of our customers,the news and olds,www.game-powers.com are some Special Package! We now provide Powerleveling measured by..
A* and multi-goals - Hello, I am using A* to find the shortest path in a 3D environment, I have waypoints at each intersections, rooms, interesting points to create the graph. At the moment I can select a start and goal node, the A* algorithm do the rest and my character..
bigtest - bigtest
AI and C# - HI all... does anybody know a book about AI, which includes examples in c#? thx for reading ;) |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|