minimax Questions

1

Updates Update 1 I tried this (2nd line): I added changing node color as first instruction in alphabeta function. I am getting this result: Green nodes are visited nodes. It looks like, algorit...

3

Solved

I have problem with my own Chess Engine using minimax algorithm to search for chess moves I use a 5 plies depth search and with only material/bonus/mobility evaluation , but it also make dumb moves...
Locate asked 29/4, 2012 at 13:47

6

Solved

Let's take a 5x5 tic-tac-toe as an example. Let's say it's my AI's turn. Then, I make 25 moves (at each cell basically, of course, if it's a legal move), create a thread for each move (25 thre...
Heath asked 24/11, 2013 at 0:10

1

I am trying to implement in python Donald Knuth's algorithm for codebreaking mastermind in not more than 5 moves. I have checked my code several times, and it seems to follow the algorithm, as its ...
Daugherty asked 30/11, 2013 at 8:30

4

Solved

I am working on a simple game of Tic Tac Toe code for C. I have most of the code finished, but I want the AI to never lose. I have read about the minimax algorithm, but I don't understand it. How...
Sismondi asked 28/7, 2013 at 10:26

3

Solved

I have tried to code the minimax algorithm for tic-tac-toe given in Russel Norvig's book on Artificial Intelligence. It had everything except that the way to return the bestMove to the user. I am t...
Ml asked 23/11, 2012 at 4:20

2

i'm writing a tictactoe program but its not your traditional tictactoe First of all the board is 4x4 and the way to win is to get 3 of a kind and 1 of your opponents in a row, column, or diagonal....
Discontinuous asked 21/10, 2012 at 1:58

1

Solved

I am currently trying to teach myself the Minimax algorithm and I have tried to implement it in java in tic tac toe. There is a bug in my algorithm however and I can't figure out what's causing it....
Wilmawilmar asked 10/6, 2012 at 20:34

2

I am having some trouble determining space and time complexities. For example, if I have a tree that has a branching factor b and will have at most a depth d, how can I calculate the time and space...
Paradrop asked 17/1, 2010 at 5:18

1

Solved

I've implemented the Floyd-Warshall-Algorithm to solve the All-pairs shortest path problem. Now I found out I can also compute the minimax or maximin path with easy modifications. But I don't under...
Soto asked 26/1, 2012 at 17:40

2

Solved

I am writing a program for the game of Chomp. You can read the description of the game on Wikipedia, however I'll describe it briefly anyway. We play on a chocolate bar of dimension n x m, i.e. th...
Fafnir asked 26/7, 2011 at 14:20

3

Solved

I've wasted my entire day trying to use the minimax algorithm to make an unbeatable tictactoe AI. I missed something along the way (brain fried). I'm not looking for code here, just a better explan...
Crash asked 18/10, 2010 at 2:26

3

Solved

A school project has me writing a Date game in C++ (example at http://www.cut-the-knot.org/Curriculum/Games/Date.shtml) where the computer player must implement a Minimax algorithm with alpha-beta ...
Bookstand asked 8/6, 2010 at 23:44

1

Solved

I'm here to ask a specific topic - I really found few info about this on the web. I'm implementing a F# version of Minimax algorithm. The problem I'm having now is that I want to compare Leaf of my...
Laxation asked 22/6, 2010 at 13:14

4

Solved

I have a simple question regarding the Minimax algorithm: for example for the tic-tac-toe game, how do I determine the utility function's for each player plays? It doesn't do that automatically, do...
Lusatia asked 19/10, 2009 at 13:41

© 2022 - 2024 — McMap. All rights reserved.