473,320 Members | 2,202 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

wanted help with hex game

Hi all, i have a question regarding implementation of hex game using
alpha beta search and transposition tables. I wanted to do this in c.
How to use transposition tables in hex game. Did any one do this before
if so could you help me out with this.

Thanks .........

Nov 14 '05 #1
3 2478
ro**********@yahoo.com writes:
Hi all, i have a question regarding implementation of hex game using
alpha beta search and transposition tables. I wanted to do this in c.
How to use transposition tables in hex game. Did any one do this before
if so could you help me out with this.


You'd be better off asking this in a newsgroup about games. It
really doesn't have much to do with C.
--
char a[]="\n .CJacehknorstu";int putchar(int);int main(void){unsigned long b[]
={0x67dffdff,0x9aa9aa6a,0xa77ffda9,0x7da6aa6a,0xa6 7f6aaa,0xaa9aa9f6,0x1f6},*p=
b,x,i=24;for(;p+=!*p;*p/=4)switch(x=*p&3)case 0:{return 0;for(p--;i--;i--)case
2:{i++;if(1)break;else default:continue;if(0)case 1:putchar(a[i&15]);break;}}}
Nov 14 '05 #2
Ben Pfaff <bl*@cs.stanford.edu> writes:
ro**********@yahoo.com writes:
Hi all, i have a question regarding implementation of hex game using
alpha beta search and transposition tables. I wanted to do this in c.
How to use transposition tables in hex game. Did any one do this before
if so could you help me out with this.

You'd be better off asking this in a newsgroup about games. It
really doesn't have much to do with C.


It doesn't have much to do with games either. "alpha-beta search" and
"transposition tables" are AI terms, and Hex is widely used as a
research subject in AI classes. I guess the OP wants us to do his
homework or term paper or something. He'd have much better luck
asking Google; the first hit for "alpha beta search transposition
tables" includes sample C code.

DES
--
Dag-Erling Smørgrav - de*@des.no
Nov 14 '05 #3

"Dag-Erling Smørgrav" <de*@des.no> wrote in message
news:86************@xps.des.no...
Ben Pfaff <bl*@cs.stanford.edu> writes:
ro**********@yahoo.com writes:
Hi all, i have a question regarding implementation of hex game using
alpha beta search and transposition tables. I wanted to do this in c.
How to use transposition tables in hex game. Did any one do this before if so could you help me out with this.

You'd be better off asking this in a newsgroup about games. It
really doesn't have much to do with C.


It doesn't have much to do with games either. "alpha-beta search" and
"transposition tables" are AI terms, and Hex is widely used as a
research subject in AI classes. I guess the OP wants us to do his
homework or term paper or something. He'd have much better luck
asking Google; the first hit for "alpha beta search transposition
tables" includes sample C code.

DES
--
Dag-Erling Smørgrav - de*@des.no


While certainly off topic alpha-beta at first look appears to be a
simplified version of coloring. I am usually incorrect when I post. I
would appreciate better references.

barry
Nov 14 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Roman | last post by:
I've been trying this one for 2-3 hours and can't figure it out. I'de appreciate any help or pointers in the right direction. Thanks. Query I need the query to return me all the lottery names...
2
by: RavenCross | last post by:
we are in need of a game developer rather quickly. Candidates will be responsible in assisting in all coding from marketing, developing new games, maintaining and updating existing games in the...
0
by: RavenCross | last post by:
we are in need of a game developer rather quickly. Candidates will be responsible in assisting in all coding from marketing, developing new games, maintaining and updating existing games in the...
0
by: Greg | last post by:
We're looking for CGI/PERL programmer who can help us integrate CamFrogWeb's video conferencing software with our site's user management system (login system) Our site uses customized...
2
by: Clive Foley | last post by:
Hey everyone. i have written a simple server that accepts user connections. these connections are made by a simple game which i also made. I would like this game to be played across a network...
0
by: dnphamus13 | last post by:
I'm new to this and drowning right now. I would like to put my database online for viewing. I managed to do the filtering but i need to do PAGING as the XML doc get bigger. From what i understand...
7
by: Gasten | last post by:
Hello. The last weeks I've been coding a roguelike (you know, like nethack) in python using the nCurses library. Some week ago I ran into a problem: When I made the object for messagebar-output, I...
2
by: vertozia | last post by:
Hey there, ive been having difficulty placing an image, this is my screenshot, and what ive done so far: http://img341.imageshack.us/img341/9894/gridwg2.jpg /** * ConnectFourGUI * Provide...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.