Games - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

Games

Description:

divide by a prime number if 1 - subtract ... The game of Cockpit ... Cockpit in 2 dimensions. See. http://www.idi.ntnu.no/emner/tdt4136/JAVA/minmax/minmax.html ... – PowerPoint PPT presentation

Number of Views:46
Avg rating:3.0/5.0
Slides: 16
Provided by: torea
Category:
Tags: cockpit | games

less

Transcript and Presenter's Notes

Title: Games


1
Games
2
(No Transcript)
3
(No Transcript)
4
Numble
The game state is an integer number gt0
Alternatively, a player can - divide by
a prime number if gt1 - subtract 1 if
number gt 1 The player in turn who is left with
the number 1 has lost.
5
Numble Game Tree
8
4
7
1
2
6
3
3
5
2
1
2
1
1
2
4
1
1
1
2
3
2
1
1
1
6
Numble Game Tree
Green means win position for A
8
A
4
B
7
1
2
6
3
A
2
3
2
5
1
1
B
1
4
1
1
1
2
A
2
3
B
A
1
1
2
1
B
7
Evalution function for Numble
Np different prime factors Np0
V - 8 Np1 V 8
NpNgt1 V N Big N gives many
possibilities, which gives more opportunities
when game proceeds to that state.
8
Evalution function for Numblestatistical
viewpoint
Let V be an estimate for the probability that A
may win in that position, and let an a priori
probability be ½. Then the probabilty that one
of N nodes is a winner is 1 ½N.
Np different prime factors Np0
V 0 Np1 V 1 NpNgt1
V 1 2(-N) These evaluations give the
same ranking of nodes as the previous evaluation.
Big N gives many possibilities, which gives
higher probabilities for a winning state.
9
The game of Cockpit
The players are represented by a position in a
regular grid (in 1,2 or more dimensions). Each
agent has a speed vector in which can be changed
(or unchanged) by 1 step in any direction. The
winner is the one who will land upon the other.
If any player fals outside the field, he has lost
(an then the winner has won even if he also will
fall outside in the next step).
10
Cockpit in 1 dimension
A B
A wins
A wins
A wins
..
11
Cockpit in 2 dimensions
See
http//www.idi.ntnu.no/emner/tdt4136/JAVA/minmax/m
inmax.html
12
Five In A Row
http//www.idi.ntnu.no/emner/tdt4136/JAVA/BONDESJA
KK/fir.html
13
(Positive) horizon effect
White pawn b7 will eventually reach 8th line and
become Queen, but that may be postponed by black
so as to fall aout of the event horizon.
14
Negative Horizon effect
Pawn (b7) is doomed, but a threat with pawn a3 to
b4 may push the unfortunate event out of the
event horizon.
15
Guess second lowest(for classes)
Everyone in a group guesses a number (1-100)
which is supposed to be the next lowest number
that anyone else guesses. When everyone has
decided, they report their number, a winner is
announced, but the game goes on
Write a Comment
User Comments (0)
About PowerShow.com