Questions tagged [evaluation-function]

Function used in game programming and AI to evaluate the desirability of a state or a potential future state. Not to be confused with the evaluation of functions.

What is it?

An evaluation function is a function used in game programming and AI to evaluate the desirability or the suitability of a state or a potential future state.

Related tags

  • Use for the evaluation of ordinary functions

See also:

18 questions
0
votes
3 answers

How to rate a connect four game situation in java

I am trying to write a simple AI for a "Get four" game. The basic game principles are done, so I can throw in coins of different color, and they stack on each other and fill a 2D Array and so on and so forth. until now this is what the method looks…
MrPink
0
votes
1 answer

How to create an evaluation function for a board game(wizwoz) result

The game is named wizwoz: Two players, red (referred as r) and gold (referred as g) initially select two values n and k. An n × n board is created with k "r" and k "g" randomly placed on the board. Starting with player r, each player puts his/her…
-1
votes
1 answer

How this evaluation function work in a Connect 4 game? (Java)

I am exploring how a Minimax algorithm can be used in a connect four game with alpha-beta pruning. So I was looking through a source code about a Connect4 player strategy and found this evaluation function: /** * Get the score of a board */ public…
steexd
  • 107
  • 1
  • 4
  • 13
1
2