G
Guest
Guest
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?
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?