Programming Bao. Jeroen Donkers and Jos Uiterwijk 1. IKAT, Dept. of Computer Science, Universiteit Maastricht, Maastricht, The Netherlands.

Size: px
Start display at page:

Download "Programming Bao. Jeroen Donkers and Jos Uiterwijk 1. IKAT, Dept. of Computer Science, Universiteit Maastricht, Maastricht, The Netherlands."

Transcription

1 Programming Bao Jeroen Donkers and Jos Uiterwijk IKAT, Dept. of Computer Science, Universiteit Maastricht, Maastricht, The Netherlands. ABSTRACT The mancala games Awari and Kalah have been studied in Artificial Intelligence research for a long time. After the recent solving of Kalah and, only very recently, Awari, the time has come to consider other, more complex, mancala games. Within the large group of mancala games, Zanzibar Bao is considered the most complex one. In this paper, we give an introduction to the game and provide some analyses of the game properties together with the consequences of these properties for writing a Bao program. During our research we solved the novice version of Bao, being a win for the first player.. INTRODUCTION In large parts of the world, board games of the mancala group are being played in different versions for a very long time (Murray, 95; Russ, ). All mancala games share the following properties: the board has of a number of holes, usually ordered in rows; the game is played with indistinguishable counters (pebbles, seeds, shells); players own a fixed set of holes on the board; a move consists of taking counters from one hole and putting them one-by-one in subsequent holes (sowing), possibly followed by some form of capture; the goal is to capture the most counters. Mancala games differ in the number of players (, or more), the size and form of the board, the starting configuration of the counters, the rules for sowing and capturing, and in the way the game ends. The games of the mancala group are known by many names (for instance Wari, Awele, Bao, Dakon, and Pallankuli). For an overview and rules of many mancala games, see Russ (). Until recently, the western world has had very little experience with mancala games. In the Middle Ages, Arabic traders might have shown a game called Manqala to their European customers, but only very vague references exist of Europeans playing the game. In later times, African slaves played Wari in the Caribbean, but in the United States, slaves were forbidden to play their traditional games. European colonists in Eastern Asia and India must have observed mancala games being played, but appearingly they were not interested enough to bring it back to Europe. Recently, Western interest in mancala games increased. In the 95s William J. Champion invented the game Kalah (96). It is a relatively simple version of a mancala game intended as an educational game for children. Although the game was immediately commercialised, it only got widely known when the International Red Cross adopted and spread the game. In the USA the game of Kalah has reached the pubs and African immigrants in Europe took the game Awale with them. Nowadays, several mancala games are played on the Mind Sports Olympiad (Wari, Omweso, and Bao). Much information on mancala games is now available on

2 the Internet and there exist many programs to play all kinds of mancala games. Even some mobile phones are provided with mancala games. Mancala games have a relatively long track in artificial-intelligence research on games. Kalah has already been investigated a decade after its invention as an example of game programming (Russel, 96; Bell, 968; Slagle and Dixon, 97). The game of Kalah has been solved in (Irving, Donkers, and Uiterwijk, ). Awari has been studied since the early 98s (van der Meulen, Allis, and van den Herik, 99) and has been played at the Computer Olympiads for some time now. In the research on Awari, much effort is put on the construction of endgame databases (Allis, van der Meulen, and van den Herik, 99; Lincke and Marzetta, ; van der Goot, ). This has led to the complete solution of Awari in May (Bal and Romein, ). In section, we give a short introduction to Bao and show some example moves. Section is dedicated to the analysis of the game properties. Section discusses the consequences of these properties for writing a Bao program. In section 5 we present the solution for novice Bao and finally in section 6 we state our main conclusion.. BAO Among the mancala games, (Zanzibar) Bao is regarded as the most complex one (de Voogt, 995). This is mainly due to the amount of rules and to the complexity of the rules. Bao is played in Tanzania and on Zanzibar in an organized way. Bao clubs exist that own the expensive boards and official tournaments are organized. North b8 b7 b6 North b5 b b b b 6 6 N a8 a7 a6 a5 a a a a A A A A A5 A6 A7 A8 S South (to move) Figure : The opening position of Bao. B B B B B5 B6 B7 B8 South Figure : Numbering of the holes in Bao. The game is played by two players (South and North; South starts) on a large wooden board with rows of 8 holes (see figures and ). Each player owns the two rows at his side. The two rows with holes numbered A to A8 and a to a8 are denoted as the front row of South and North, respectively. The other two rows are back rows. The game has two stages. In the first stage, an extra counter is put at the board at every move. When all counters are at the board, the second stage of the game starts. Both stages have their own set of rules. It is impossible to completely explain the rules of Bao in this paper, due to lack of space. Instead, we will summarize the properties that discriminate the game from the more widely known games of Kalah and Awari. For a full description of the rules, see (de Voogt, 995) and (Donkers, ). Sowing. Sowing only takes place on the own two rows of holes. The direction of sowing is not fixed. At the start of a move, a player can select a direction for the sowing (clockwise or anti-clockwise). During sowing or at a capture, the direction can turn at some point. This is dictated by deterministic rules. Capture. If a capture is possible then it is obliged in Bao. This means that a position is either a capture position or a non-capture position. The latter is called a takasa position. Captured counters do not leave the board but re-enter the game. Counters are captured from the opponent s front row. These counters are immediately sown in the own front row. This implicates that the game does not converge like Kalah and Awari. Moves. Moves are composite. If at the end of a sowing, capture is possible, the captured counters are sowed immediately at the own side of the board. This second sowing can again lead to a new capture followed by a new sowing. If a capture is not possible, and the hole reached was non-empty, all counters are taken out of that hole and sowing continues. This goes on until an empty hole is reached. Special holes. Some holes at the Bao board have special meanings. The fifth (square) hole at the front row (A5) is called house and plays a role in the continuation of sowing. The house can become inactive in which

3 case the hole is indicated by a circle instead of a square. The four outer holes of the front row (A, A, A7, and A8) play a role during capture: when a capture takes place at one of these holes, the sowing direction can change. The stores at both sides of the board play no role in Bao other than to store the stones not entered yet in the first stage of the game. Endless moves. Moves can be endless because in a takasa move, sowing can go on forever. The existence of endless moves can be proven theoretically (Donkers, Uiterwijk, and de Voogt, ). In real games, moves that take more than an hour of sowings also occasionally happen, but players usually make small mistakes during sowing or simply quit, so real endless moves never lead to endless sowing. Game end. A Bao game ends if one of the players is unable to move, causing the other player to win. A draw is not defined in Bao. In the first stage, a game ends if the player to move has no counters left in the front row, but in the second stage, a game ends if the player has no more than one counter in any hole of both rows. Move notation. Moves in Bao are indicated by the hole at which the move starts (see figure ) and the direction of sowing (R/L for sowing to the right/left or starting at the right/left side of the front row at a capture, as seen from the player to move). An asterisk ( * ) is added to the move in case of a non-capture move. If the house is played, a is added to the move. Abbreviations of move notations are possible if the rules determine the direction of play or the row to play.. Game examples a) Start: takasa for South. b) South puts a counter in hole A6, c) and sows to the left. 7 7 d) North plays a5, e) captures one counter at A, f) and sows the counter in a. Figure : A typical opening of a Bao game. To illustrate the rules of Bao and to demonstrate the complexity of moves in Bao, two small examples are given. In figure a typical opening of Bao is given: move A6L* followed by move a5l. The move direction L of north indicates that after the capture at A, north moves his hand to the left to sow the captured stone starting at a. The sowing direction (if more than stone would be captured) is to the right. Figure in the appendix gives an example of a complex composite move. The start position is a position from the second stage of the game: the stores are empty, and the houses are inactive. This special position with counters in every hole is often used as a training position for novice players. The figure shows the execution of a single move by south: A5L. During this move, captures of each counters occur.. ANALYSIS OF THE GAME In this analysis we will treat the game length, the branching factor, the game complexity and some other properties of Bao that distinguish it from Kalah and Awari. The state-space complexity (Allis, 99) of mancala games can be computed from the number of holes and number of counters involved. Bao has a much higher state-space complexity than Kalah and Awari because there are more holes on the board () and also more counters involved (6).

4 State-space complexity of Awari: ( holes, 8 counters) Kalah: ( holes, 8 counters) Bao: ( holes, 6 counters) This complexity does not predict the difficulty of the game for humans or computers. Although Kalah has a larger state-space complexity than Awari, it is much easier to play for humans and computers and much easier to solve by computers. For humans, Bao is more complex than Kalah and Awari because the set of rules is considerably larger. The complexity of Bao for computer play is better estimated by the game-tree complexity (Allis, 99). To characterize the game-tree complexity, we have to study the game length and the branching factor of the game.. Game length The shortest possible Bao games (found by exhaustive search) take 5 ply: A6L* a6r; AL a8; A or A7R* a6l*; A6R a5r; A, both games end in win for South. These games will not appear in normal play because they assume severe errors by both players. Figure gives the distribution of the game length for, games where both players selected randomly from the legal moves. Random play can unveil some properties of the game graph for Bao such as the form, size and complexity of this graph. The figure clearly shows the transition from the first to the second stage of the game at ply 5. A part of the games end in the first stage, but more games end soon after the start of the second stage. Randomly played Bao can however take a long time (one game in the experiment lasted 9 ply). The exponential form of the distribution s tail indicates that random Bao at the second stage behaves like a Markov process with a probability of.5 for the game to end at every ply. 5 5 Count Game length (ply) 5 5 Figure : The distribution of the game length in, randomly played Bao games. The dashed line represents an exponential fit with. The arrow marks the start of the second stage of the game (ply 5). This distribution does not predict how long Bao games take in real games since during random play, the players can easily make moves that no player would perform because they lead to an immediate loss. To prevent these moves, we let the players use a shallow search. In figure 5 we give the distribution of the game length for Bao Games. This time, both players used a minimax search with simple evaluation: either a function that returns a random value for every position or a function that returns a fixed value, independent of the position. The figure shows that almost no game ends in the first stage of the game. The maximum of the game length distribution is about ply later than in random play (figure ) in all four cases. The tail of the distribution is longer with search depth than with search depth. The distribution of game lengths in real play is described by De Voogt (995). The average game length of games played by Bao masters lies between 5 and 6 plies, which agrees with the results in figure 5. Games shorter than 5 plies occur more than in figure 5 but less than in random play. The longest games take up to plies.

5 Random, depth Random, depth Count Count Game length (ply) Game length (ply) Fixed, depth Fixed, depth Count Count Game length (ply) Game length (ply) Figure 5: The distribution of the game length in Bao games in case of a fixed and a random evaluation function, for search depths and.. Branching factor In the first stage of the game, Bao only allows moves that start in the front row. Theoretically, this leads to possible moves (8 holes, two directions and a decision whether to play the house). In the second stage of the game, a move can start from both rows. Since the house plays no role in the second stage, there are possible moves in this stage too (6 holes and directions). This leads to a maximum branching factor of for Bao. Figure 6: The distribution of the branching factor over, randomly played Bao games.

6 7 6 Branching factor Ply 5 5 Figure 7: Average branching factor over, randomly played Bao games. Figure 6 and 7 show the distribution of the number of legal moves per position in, randomly played Bao games. It indicates that in the first stage of the game, the number of possible moves increases but mainly due to the loss of positions that only have one or two possible moves. Shortly after the start of the second stage, the distribution of the branching factor stabilizes. Forced moves occur in the second stage more often (%) than in the first stage (max %). The highest number of moves encountered in one position is 8 at ply. The average branching factor increases from to 5 in the first stage of Bao, but then it drops to a steady value of.5 in the second stage. Random, depth Random, depth Branch. factor Ply 8 Branch. factor Ply 8 Fixed, depth Fixed, depth Branch. factor Ply 8 Branch. factor Ply 8 Figure 8: The distribution of the average branching factor in Bao games in case of a fixed and a random evaluation function, for search depths and. When a shallow search is used, the average branching factor of the positions that are visited changes. Figure 8 gives the results for Bao games in the case of a search with a random and with a fixed evaluation function, for search depths and. As the figure shows, a random evaluation function increases the average branching factor. This is coherent with the general notion that random evaluation favors mobility (Beal and Smith, 99). The overall distribution of the average branching factor does not differ much from the random-play case in figure 7. When a fixed evaluation function is used, the picture changes radically. Instead of steadily increasing in the first stage, the average branching factor first rapidly increases to 5.5 and then decreases to around during the first stage of the game and finally increases to.5 during the second stage of the game.

7 The branching factor in real games is reported by De Voogt (995) to be.5 in the first stage and.7 in the second stage of the game, but there are considerable differences between the individual players. The numbers for real games seem to agree with the results above, for the first stage. During the second stage of Bao, the branching factor in real games seems to be lower than in the experiments above.. Game-tree Complexity The average game length ( ) and branching factor ( ) are normally used to estimate the size of a game tree that has to be traversed during search ( ). The estimation by De Voogt (995) is (based on and ). Since the branching factor varies much during the first stage of Bao, a better estimation would be obtained by, where ranges from ply to ply. When we take equal to 57 too, these complexities are as follows: Game-tree complexity for random-play random evaluation, depth random evaluation, depth fixed evaluation, depth fixed evaluation, depth The rough estimations of state-space complexity ( ) and game-tree complexity ( ) place Bao above checkers and in the neighbourhood of Qubic in the overview of van den Herik, Uiterwijk, and van Rijswijck ().. CONSEQUENCES FOR WRITING A BAO PROGRAM. Endless moves The possible occurrence of endless moves in Bao makes it necessary to adapt the rules of Bao. The endless moves have been described in (Donkers et al., ). A computer does not make mistakes during the execution of a move, so if during search an endless move is encountered, the computer will not be able to perform the move. Since the state space of Bao is finite, an endless move must be cyclic. The period (cycle length) of these moves can though be very large, so detection of the endlessness of a move is also extremely difficult. In order to handle endless moves, our proposal is to change the rules for Bao in the following way: any move that involves the sowing of more than a given number of counters is illegal. This long-move limit must be agreed at the start of a tournament. In the experiments above, a long-move limit of is used. When a player has no other moves than illegal ones, he cannot move and therefore loses the game. (This version of the rules is described in Donkers ()).. Playing the house A specific rule of Bao states that a player can choose not to continue a move if sowing ends in the active house (holes A5 and a5). It takes a partial execution of a move to detect whether this decision has to be taken. The consequence for move generation during search is that it is not possible to detect the set of legal moves only on base of the current position. One solution is to generate a preliminary list of moves that alternate between playing the house or not and decide during the execution of a move whether the next move is legal or not.. Endgame database Unlike the games of Kalah and Awari, there are no counters removed from the board. This makes it impossible to create an endgame database by simple retrograde analysis. It is possible to identify end positions in Bao, but the number of possible end positions in the second stage of the game is very large (at least ). So even a single backwards move would lead to an enormous database. Maybe a pattern database might be helpful or a database of already solved positions. The figures of the game-length distributions in

8 section. suggest that the positions that are reached at the start of the second stage are special. A detailed study of those positions might therefore be useful.. Heuristic search enhancements Without going into too much detail, some game-specific aspects are worth mentioning, but further research is needed to precisely quantify our findings. Transpositions occur often in Bao. This means that a hash table is useful even without iterative deepening. We obtained the best results, however, with MTD(f) (Plaat et al., 996). The history heuristic does not seem very useful in Bao as in any mancala game, simply because the number of possible moves is too low ( in Bao) and because a single move can largely change the board. This is also true for the killer-move heuristic. Since positions have either all capture moves or all non-capture moves, the notion of quiescence in Bao is not easy to define. Experiments with classical quiescence search did not show much improvement. Better results were obtained with fractional search extensions in which a capture move followed by a non-capture move of the opponent is rewarded..5 Evaluation function Although it is not clear what their importance is for the evaluation function of Bao, the following list of features might be useful: total number of counters per side; number of holes in the front row that are filled; total number of counters in the back row; number of holes in the front row that are under attack; number of opponent holes that can be attacked; whether the house is active or not; contents of the (active) house; whether the house is under attack or not; whether the opponent s house is under attack or not. Future research has to reveal the usefulness of these features to be incorporated into the evaluation function. Moreover, careful tuning has to be applied to find good weights for the features selected. 5. SOLVING NOVICE BAO Bao itself is not easily solved by simple search, but during the development of our Bao playing program, we discovered the solution of the novice version of Bao. This is the position after the first stage with exactly two counters in every hole (see figure 9). North South (to move) Figure 9: The novice position of Bao.

9 This position appears to be a win for the first player in ply. A possible game development is: : AR b7r; : AR a8l; : A6L a7l*; : B8R br*; 5: A7L br*; 6: AR bl*; 7: BR b7l*; 8: AL b6l*; 9: AL b8l*; : B8R b5l*; : B6R ; South wins. It takes only seconds and,86,759 evaluations (85, nps) to find this solution with a Delphi-program on a AMD Athlon. GHz PC. This indicates an effective branching factor of. during search. In this solution, the long-move limit was set to and during search, 88,8 long moves were encountered and 6,7 positions were a loss because of the availability of only long moves. An example of a long move is reached by playing B8R al; AR ar starting from the novice opening position. No further positions in the second stage of Bao are investigated yet, but this solution suggests that more positions can be solved and put in a partial endgame database. 6. CONCLUSION The game of Zanzibar Bao differs much from both Kalah and Awari. Not only is the state-space complexity much higher, but the lack of convergence in the end game and the existence of endless moves ask for quite different approaches in writing a program for Bao. After the successes with Kalah and Awari, which are both Western, artificial versions of a mancala game, it might be time to step over to Bao, an ancient African version of a mancala game with a large tradition in human play and human mastership. 7. REFERENCES Allis, L. V. (99). Searching for Solutions in Games and Artificial Intelligence. Ph.D. thesis, Rijksuniversiteit Limburg, Maastricht, The Netherlands. ISBN Allis, L. V., Meulen, M. van der, and Herik, H. J. van den (99). Databases in Awari. Heuristic Programming in Artificial Intelligence : The Second Computer Olympiad (eds. D. N. L. Levy and D. F. Beal), pp. 7 86, Ellis Horwood, Chichester, UK. ISBN Bal, H. E. and Romein, J. W. (). Private communication. See also awari/. Beal, D. F. and Smith, M. C. (99). Random evaluations in chess. ICCA Journal, Vol. 7, No., pp. 9. Bell, A. G. (968). Kalah on Atlas. Machine Intelligence, Vol., pp Donkers, H. H. L. M. (). Zanzibar Bao rules for the computer. games /bao. donkers/ Donkers, H. H. L. M., Uiterwijk, J. W. H. M., and Voogt, A. J. de (). Mancala Games topics in Artificial Intelligence and Mathematics. Step by Step. Proceedings of the th Colloquium Board Games in Academia (eds. J. Retschitzki and R. Haddad-Zubel), Editions Universitaires, Fribourg, Switserland. Goot, R. van der (). Awari Retrograde Analysis. Computers and Games Second International Conference, CG (eds. T. A. Marsland and I. Frank), pp , Springer Verlag, Lecture Notes in Computer Science LNCS 6, Berlin, Germany. ISBN Herik, H. J. van den, Uiterwijk, J. W. H. M., and Rijswijck, J. van (). Games solved, now and in the future. Artificial Intelligence, Vol., Nos., pp. 7. Irving, G., Donkers, H. H. L. M., and Uiterwijk, J. W. H. M. (). Solving Kalah. ICGA Journal, Vol., No., pp Kalah (96). Kalah recognised as valuable educational aid. pages/newskala.html. museum/countcap/ Lincke, T. R. and Marzetta, A. (). Large databases with limited memory space. ICGA Journal, Vol., No., pp. 8.

10 Meulen, M. van der, Allis, L. V., and Herik, H. J. van den (99). Lithidion, an Awari-playing program. Technical Report CS 9-5, Universiteit Maastricht, Maastricht, the Netherlands. Murray, H. J. R. (95). A History of Board Games other than Chess. Oxford University Press, Oxford, UK. ISBN Plaat, A., Schaeffer, J., Pijls, W., and Bruin, A. de (996). Best-first fixed-depth minimax algorithms. Artificial Intelligence, Vol. 87, Nos., pp Russ, L. (). The Complete Mancala Games Book. Marlow & Company, New York. ISBN Russel, R. (96). Kalah the game and the program. Artificial Intelligence Project Memo nr. University of Stanford, Stanford, CA. Slagle, J. R. and Dixon, J. K. (97). Experiments with the M & N tree-searching program. Communications of the ACM, Vol., No., pp Voogt, A. J. de (995). Limits of the Mind, towards a characterisation of Bao mastership. Ph.D. thesis, Rijksuniversiteit Leiden, Leiden, The Netherlands. APPENDIX a) Start. b) South plays A5 to the left, c) captures a6, d) sows from the right end, e) captures a, f) sows from the right end, g) continues sowing, h) continues..., i) until A6, 5 j) captures at a, 5 k) captures at a, 5 6 l) and stops at A Figure : An example of a complex move in the novice version of Bao.

SOLVING KALAH ABSTRACT

SOLVING KALAH ABSTRACT Solving Kalah 139 SOLVING KALAH Geoffrey Irving 1 Jeroen Donkers and Jos Uiterwijk 2 Pasadena, California Maastricht, The Netherlands ABSTRACT Using full-game databases and optimized tree-search algorithms,

More information

NOTE 6 6 LOA IS SOLVED

NOTE 6 6 LOA IS SOLVED 234 ICGA Journal December 2008 NOTE 6 6 LOA IS SOLVED Mark H.M. Winands 1 Maastricht, The Netherlands ABSTRACT Lines of Action (LOA) is a two-person zero-sum game with perfect information; it is a chess-like

More information

Recently, a winning opening for the game of Dakon was found by hand. This

Recently, a winning opening for the game of Dakon was found by hand. This Human versus Machine Problem-Solving: Winning Openings in Dakon / Jeroen Donkers (1), Alex de Voogt (2), Jos Uiterwijk (1) Recently, a winning opening for the game of Dakon was found by hand. This sequence

More information

Towards a Quasi-Endgame-Based Bao Solver

Towards a Quasi-Endgame-Based Bao Solver Towards a Quasi-Endgame-Based Bao Solver Tom Kronenburg Master Thesis MICC-IKAT 06-09 Thesis submitted in partial fulfilment of the requirements for the degree of Master of Science of Knowledge Engineering

More information

Retrograde Analysis of Woodpush

Retrograde Analysis of Woodpush Retrograde Analysis of Woodpush Tristan Cazenave 1 and Richard J. Nowakowski 2 1 LAMSADE Université Paris-Dauphine Paris France cazenave@lamsade.dauphine.fr 2 Dept. of Mathematics and Statistics Dalhousie

More information

Exploration and Analysis of the Evolution of Strategies for Mancala Variants

Exploration and Analysis of the Evolution of Strategies for Mancala Variants Exploration and Analysis of the Evolution of Strategies for Mancala Variants Colin Divilly, Colm O Riordan and Seamus Hill Abstract This paper describes approaches to evolving strategies for Mancala variants.

More information

Two-Player Perfect Information Games: A Brief Survey

Two-Player Perfect Information Games: A Brief Survey Two-Player Perfect Information Games: A Brief Survey Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 Abstract Domain: two-player games. Which game characters are predominant

More information

Games solved: Now and in the future

Games solved: Now and in the future Games solved: Now and in the future by H. J. van den Herik, J. W. H. M. Uiterwijk, and J. van Rijswijck Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 Abstract Which game

More information

A Generalized Heuristic for Can t Stop

A Generalized Heuristic for Can t Stop Proceedings of the Twenty-Second International FLAIRS Conference (009) A Generalized Heuristic for Can t Stop James Glenn and Christian Aloi Department of Computer Science Loyola College in Maryland Baltimore,

More information

Two-Player Perfect Information Games: A Brief Survey

Two-Player Perfect Information Games: A Brief Survey Two-Player Perfect Information Games: A Brief Survey Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 Abstract Domain: two-player games. Which game characters are predominant

More information

Ayo, the Awari Player, or How Better Represenation Trumps Deeper Search

Ayo, the Awari Player, or How Better Represenation Trumps Deeper Search Ayo, the Awari Player, or How Better Represenation Trumps Deeper Search Mohammed Daoud, Nawwaf Kharma 1, Ali Haidar, Julius Popoola Dept. of Electrical and Computer Engineering, Concordia University 1455

More information

Minimax Based Kalaha AI

Minimax Based Kalaha AI 2013-06-11 BTH-Blekinge Institute of Technology Thesis handed in as a part of the examination in DV1446 Bachelors thesis in Computer Science. Minimax Based Kalaha AI Marcus Östergren Göransson Abstract

More information

Ponnuki, FiveStones and GoloisStrasbourg: three software to help Go teachers

Ponnuki, FiveStones and GoloisStrasbourg: three software to help Go teachers Ponnuki, FiveStones and GoloisStrasbourg: three software to help Go teachers Tristan Cazenave Labo IA, Université Paris 8, 2 rue de la Liberté, 93526, St-Denis, France cazenave@ai.univ-paris8.fr Abstract.

More information

The Game of Lasker Morris

The Game of Lasker Morris The Game of Lasker Morris Peter Stahlhacke Lehrstuhl Mathematische Optimierung Fakultät Mathematik und Informatik Friedrich-Schiller-Universität Jena 00 Jena Germany May 00 ABSTRACT. We describe a retrograde

More information

On Games And Fairness

On Games And Fairness On Games And Fairness Hiroyuki Iida Japan Advanced Institute of Science and Technology Ishikawa, Japan iida@jaist.ac.jp Abstract. In this paper we conjecture that the game-theoretic value of a sophisticated

More information

Towards A World-Champion Level Computer Chess Tutor

Towards A World-Champion Level Computer Chess Tutor Towards A World-Champion Level Computer Chess Tutor David Levy Abstract. Artificial Intelligence research has already created World- Champion level programs in Chess and various other games. Such programs

More information

Evaluation-Function Based Proof-Number Search

Evaluation-Function Based Proof-Number Search Evaluation-Function Based Proof-Number Search Mark H.M. Winands and Maarten P.D. Schadd Games and AI Group, Department of Knowledge Engineering, Faculty of Humanities and Sciences, Maastricht University,

More information

Opponent Models and Knowledge Symmetry in Game-Tree Search

Opponent Models and Knowledge Symmetry in Game-Tree Search Opponent Models and Knowledge Symmetry in Game-Tree Search Jeroen Donkers Institute for Knowlegde and Agent Technology Universiteit Maastricht, The Netherlands donkers@cs.unimaas.nl Abstract In this paper

More information

Using a genetic algorithm for mining patterns from Endgame Databases

Using a genetic algorithm for mining patterns from Endgame Databases 0 African Conference for Sofware Engineering and Applied Computing Using a genetic algorithm for mining patterns from Endgame Databases Heriniaina Andry RABOANARY Department of Computer Science Institut

More information

CS221 Project Final Report Gomoku Game Agent

CS221 Project Final Report Gomoku Game Agent CS221 Project Final Report Gomoku Game Agent Qiao Tan qtan@stanford.edu Xiaoti Hu xiaotihu@stanford.edu 1 Introduction Gomoku, also know as five-in-a-row, is a strategy board game which is traditionally

More information

Creating a Havannah Playing Agent

Creating a Havannah Playing Agent Creating a Havannah Playing Agent B. Joosten August 27, 2009 Abstract This paper delves into the complexities of Havannah, which is a 2-person zero-sum perfectinformation board game. After determining

More information

MIA: A World Champion LOA Program

MIA: A World Champion LOA Program MIA: A World Champion LOA Program Mark H.M. Winands and H. Jaap van den Herik MICC-IKAT, Universiteit Maastricht, Maastricht P.O. Box 616, 6200 MD Maastricht, The Netherlands {m.winands, herik}@micc.unimaas.nl

More information

Strategic Evaluation in Complex Domains

Strategic Evaluation in Complex Domains Strategic Evaluation in Complex Domains Tristan Cazenave LIP6 Université Pierre et Marie Curie 4, Place Jussieu, 755 Paris, France Tristan.Cazenave@lip6.fr Abstract In some complex domains, like the game

More information

Undergraduate Research Opportunity Programme in Science. The Game of Kalah

Undergraduate Research Opportunity Programme in Science. The Game of Kalah Undergraduate Research Opportunity Programme in Science The Game of Kalah Pok Ai Ling, Irene 1 Special Programme in Science Supervised by Tay Tiong Seng Department of Mathematics National University of

More information

The Surakarta Bot Revealed

The Surakarta Bot Revealed The Surakarta Bot Revealed Mark H.M. Winands Games and AI Group, Department of Data Science and Knowledge Engineering Maastricht University, Maastricht, The Netherlands m.winands@maastrichtuniversity.nl

More information

Gradual Abstract Proof Search

Gradual Abstract Proof Search ICGA 1 Gradual Abstract Proof Search Tristan Cazenave 1 Labo IA, Université Paris 8, 2 rue de la Liberté, 93526, St-Denis, France ABSTRACT Gradual Abstract Proof Search (GAPS) is a new 2-player search

More information

Playout Search for Monte-Carlo Tree Search in Multi-Player Games

Playout Search for Monte-Carlo Tree Search in Multi-Player Games Playout Search for Monte-Carlo Tree Search in Multi-Player Games J. (Pim) A.M. Nijssen and Mark H.M. Winands Games and AI Group, Department of Knowledge Engineering, Faculty of Humanities and Sciences,

More information

Constructing an Abalone Game-Playing Agent

Constructing an Abalone Game-Playing Agent 18th June 2005 Abstract This paper will deal with the complexity of the game Abalone 1 and depending on this complexity, will explore techniques that are useful for constructing an Abalone game-playing

More information

Real-Time Connect 4 Game Using Artificial Intelligence

Real-Time Connect 4 Game Using Artificial Intelligence Journal of Computer Science 5 (4): 283-289, 2009 ISSN 1549-3636 2009 Science Publications Real-Time Connect 4 Game Using Artificial Intelligence 1 Ahmad M. Sarhan, 2 Adnan Shaout and 2 Michele Shock 1

More information

A Quoridor-playing Agent

A Quoridor-playing Agent A Quoridor-playing Agent P.J.C. Mertens June 21, 2006 Abstract This paper deals with the construction of a Quoridor-playing software agent. Because Quoridor is a rather new game, research about the game

More information

Playing Othello Using Monte Carlo

Playing Othello Using Monte Carlo June 22, 2007 Abstract This paper deals with the construction of an AI player to play the game Othello. A lot of techniques are already known to let AI players play the game Othello. Some of these techniques

More information

Generation of Patterns With External Conditions for the Game of Go

Generation of Patterns With External Conditions for the Game of Go Generation of Patterns With External Conditions for the Game of Go Tristan Cazenave 1 Abstract. Patterns databases are used to improve search in games. We have generated pattern databases for the game

More information

Unit-III Chap-II Adversarial Search. Created by: Ashish Shah 1

Unit-III Chap-II Adversarial Search. Created by: Ashish Shah 1 Unit-III Chap-II Adversarial Search Created by: Ashish Shah 1 Alpha beta Pruning In case of standard ALPHA BETA PRUNING minimax tree, it returns the same move as minimax would, but prunes away branches

More information

Five-In-Row with Local Evaluation and Beam Search

Five-In-Row with Local Evaluation and Beam Search Five-In-Row with Local Evaluation and Beam Search Jiun-Hung Chen and Adrienne X. Wang jhchen@cs axwang@cs Abstract This report provides a brief overview of the game of five-in-row, also known as Go-Moku,

More information

FACTORS AFFECTING DIMINISHING RETURNS FOR SEARCHING DEEPER 1

FACTORS AFFECTING DIMINISHING RETURNS FOR SEARCHING DEEPER 1 Factors Affecting Diminishing Returns for ing Deeper 75 FACTORS AFFECTING DIMINISHING RETURNS FOR SEARCHING DEEPER 1 Matej Guid 2 and Ivan Bratko 2 Ljubljana, Slovenia ABSTRACT The phenomenon of diminishing

More information

Search Depth. 8. Search Depth. Investing. Investing in Search. Jonathan Schaeffer

Search Depth. 8. Search Depth. Investing. Investing in Search. Jonathan Schaeffer Search Depth 8. Search Depth Jonathan Schaeffer jonathan@cs.ualberta.ca www.cs.ualberta.ca/~jonathan So far, we have always assumed that all searches are to a fixed depth Nice properties in that the search

More information

Computer Analysis of Connect-4 PopOut

Computer Analysis of Connect-4 PopOut Computer Analysis of Connect-4 PopOut University of Oulu Department of Information Processing Science Master s Thesis Jukka Pekkala May 18th 2014 2 Abstract In 1988, Connect-4 became the second non-trivial

More information

A Move Generating Algorithm for Hex Solvers

A Move Generating Algorithm for Hex Solvers A Move Generating Algorithm for Hex Solvers Rune Rasmussen, Frederic Maire, and Ross Hayward Faculty of Information Technology, Queensland University of Technology, Gardens Point Campus, GPO Box 2434,

More information

MULTI-PLAYER SEARCH IN THE GAME OF BILLABONG. Michael Gras. Master Thesis 12-04

MULTI-PLAYER SEARCH IN THE GAME OF BILLABONG. Michael Gras. Master Thesis 12-04 MULTI-PLAYER SEARCH IN THE GAME OF BILLABONG Michael Gras Master Thesis 12-04 Thesis submitted in partial fulfilment of the requirements for the degree of Master of Science of Artificial Intelligence at

More information

Quiescence Search for Stratego

Quiescence Search for Stratego Quiescence Search for Stratego Maarten P.D. Schadd Mark H.M. Winands Department of Knowledge Engineering, Maastricht University, The Netherlands Abstract This article analyses quiescence search in an imperfect-information

More information

NOSCE HOSTEM SEARCHINGWITH OPPONENT MODELS HHLM DONKERS

NOSCE HOSTEM SEARCHINGWITH OPPONENT MODELS HHLM DONKERS NOSCE HOSTEM SEARCHINGWITH OPPONENT MODELS HHLM DONKERS Searching with Opponent Models PROEFSCHRIFT ter verkrijging van de graad van doctor aan de Universiteit Maastricht, op gezag van de Rector Magnificus,

More information

ENHANCED REALIZATION PROBABILITY SEARCH

ENHANCED REALIZATION PROBABILITY SEARCH New Mathematics and Natural Computation c World Scientific Publishing Company ENHANCED REALIZATION PROBABILITY SEARCH MARK H.M. WINANDS MICC-IKAT Games and AI Group, Faculty of Humanities and Sciences

More information

Theory of Computer Games: Concluding Remarks

Theory of Computer Games: Concluding Remarks Theory of Computer Games: Concluding Remarks Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 Practical issues. The open book. The endgame database. Smart usage of resources.

More information

THE NATURE OF RETROGRADE ANALYSIS FOR CHINESE CHESS 1

THE NATURE OF RETROGRADE ANALYSIS FOR CHINESE CHESS 1 The Nature of Retrograde Analysis for Chinese Chess 1 THE NATURE OF RETROGRADE ANALYSIS FOR CHINESE CHESS 1 Haw-ren Fang 2 Maryland, USA ABSTRACT Retrograde analysis has been successfully applied to solve

More information

Chess Algorithms Theory and Practice. Rune Djurhuus Chess Grandmaster / September 23, 2013

Chess Algorithms Theory and Practice. Rune Djurhuus Chess Grandmaster / September 23, 2013 Chess Algorithms Theory and Practice Rune Djurhuus Chess Grandmaster runed@ifi.uio.no / runedj@microsoft.com September 23, 2013 1 Content Complexity of a chess game History of computer chess Search trees

More information

Improving Best-Reply Search

Improving Best-Reply Search Improving Best-Reply Search Markus Esser, Michael Gras, Mark H.M. Winands, Maarten P.D. Schadd and Marc Lanctot Games and AI Group, Department of Knowledge Engineering, Maastricht University, The Netherlands

More information

UWE has obtained warranties from all depositors as to their title in the material deposited and as to their right to deposit such material.

UWE has obtained warranties from all depositors as to their title in the material deposited and as to their right to deposit such material. Ayilara, O., Ajayi, A. O. and Jimoh, K. (2016) A synthetic player for Ay board game using alpha-beta search and learning vector quantization. Computer and Information Science, 9 (3). pp. 1-6. ISSN 1913-8989

More information

Column Checkers: Brute Force against Cognition

Column Checkers: Brute Force against Cognition Column Checkers: Brute Force against Cognition Martijn Bosma 1163450 February 21, 2005 Abstract The game Column Checkers is an unknown game. It is not clear whether cognition and knowledge are needed to

More information

AI Approaches to Ultimate Tic-Tac-Toe

AI Approaches to Ultimate Tic-Tac-Toe AI Approaches to Ultimate Tic-Tac-Toe Eytan Lifshitz CS Department Hebrew University of Jerusalem, Israel David Tsurel CS Department Hebrew University of Jerusalem, Israel I. INTRODUCTION This report is

More information

Influence of Search Depth on Position Evaluation

Influence of Search Depth on Position Evaluation Influence of Search Depth on Position Evaluation Matej Guid and Ivan Bratko Faculty of Computer and Information Science, University of Ljubljana, Ljubljana, Slovenia Abstract. By using a well-known chess

More information

CS 4700: Foundations of Artificial Intelligence

CS 4700: Foundations of Artificial Intelligence CS 4700: Foundations of Artificial Intelligence selman@cs.cornell.edu Module: Adversarial Search R&N: Chapter 5 1 Outline Adversarial Search Optimal decisions Minimax α-β pruning Case study: Deep Blue

More information

The Evolution of Knowledge and Search in Game-Playing Systems

The Evolution of Knowledge and Search in Game-Playing Systems The Evolution of Knowledge and Search in Game-Playing Systems Jonathan Schaeffer Abstract. The field of artificial intelligence (AI) is all about creating systems that exhibit intelligent behavior. Computer

More information

αβ-based Play-outs in Monte-Carlo Tree Search

αβ-based Play-outs in Monte-Carlo Tree Search αβ-based Play-outs in Monte-Carlo Tree Search Mark H.M. Winands Yngvi Björnsson Abstract Monte-Carlo Tree Search (MCTS) is a recent paradigm for game-tree search, which gradually builds a gametree in a

More information

Tetris: A Heuristic Study

Tetris: A Heuristic Study Tetris: A Heuristic Study Using height-based weighing functions and breadth-first search heuristics for playing Tetris Max Bergmark May 2015 Bachelor s Thesis at CSC, KTH Supervisor: Örjan Ekeberg maxbergm@kth.se

More information

CS 771 Artificial Intelligence. Adversarial Search

CS 771 Artificial Intelligence. Adversarial Search CS 771 Artificial Intelligence Adversarial Search Typical assumptions Two agents whose actions alternate Utility values for each agent are the opposite of the other This creates the adversarial situation

More information

Adversarial Search. CMPSCI 383 September 29, 2011

Adversarial Search. CMPSCI 383 September 29, 2011 Adversarial Search CMPSCI 383 September 29, 2011 1 Why are games interesting to AI? Simple to represent and reason about Must consider the moves of an adversary Time constraints Russell & Norvig say: Games,

More information

CPS331 Lecture: Search in Games last revised 2/16/10

CPS331 Lecture: Search in Games last revised 2/16/10 CPS331 Lecture: Search in Games last revised 2/16/10 Objectives: 1. To introduce mini-max search 2. To introduce the use of static evaluation functions 3. To introduce alpha-beta pruning Materials: 1.

More information

Optimal Rhode Island Hold em Poker

Optimal Rhode Island Hold em Poker Optimal Rhode Island Hold em Poker Andrew Gilpin and Tuomas Sandholm Computer Science Department Carnegie Mellon University Pittsburgh, PA 15213 {gilpin,sandholm}@cs.cmu.edu Abstract Rhode Island Hold

More information

Artificial Intelligence Lecture 3

Artificial Intelligence Lecture 3 Artificial Intelligence Lecture 3 The problem Depth first Not optimal Uses O(n) space Optimal Uses O(B n ) space Can we combine the advantages of both approaches? 2 Iterative deepening (IDA) Let M be a

More information

Computer Chess Compendium

Computer Chess Compendium Computer Chess Compendium To Alastair and Katherine David Levy, Editor Computer Chess Compendium Springer Science+Business Media, LLC First published 1988 David Levy 1988 Originally published by Springer-Verlag

More information

CITS3001. Algorithms, Agents and Artificial Intelligence. Semester 2, 2016 Tim French

CITS3001. Algorithms, Agents and Artificial Intelligence. Semester 2, 2016 Tim French CITS3001 Algorithms, Agents and Artificial Intelligence Semester 2, 2016 Tim French School of Computer Science & Software Eng. The University of Western Australia 8. Game-playing AIMA, Ch. 5 Objectives

More information

Solving 8 8 Domineering

Solving 8 8 Domineering Theoretical Computer Science 230 (2000) 195 206 www.elsevier.com/locate/tcs Mathematical Games Solving 8 8 Domineering D.M. Breuker, J.W.H.M. Uiterwijk, H.J. van den Herik Department of Computer Science,

More information

Critical Position Identification in Application to Speculative Play. Khalid, Mohd Nor Akmal; Yusof, Umi K Author(s) Hiroyuki; Ishitobi, Taichi

Critical Position Identification in Application to Speculative Play. Khalid, Mohd Nor Akmal; Yusof, Umi K Author(s) Hiroyuki; Ishitobi, Taichi JAIST Reposi https://dspace.j Title Critical Position Identification in Application to Speculative Play Khalid, Mohd Nor Akmal; Yusof, Umi K Author(s) Hiroyuki; Ishitobi, Taichi Citation Proceedings of

More information

COMP219: COMP219: Artificial Intelligence Artificial Intelligence Dr. Annabel Latham Lecture 12: Game Playing Overview Games and Search

COMP219: COMP219: Artificial Intelligence Artificial Intelligence Dr. Annabel Latham Lecture 12: Game Playing Overview Games and Search COMP19: Artificial Intelligence COMP19: Artificial Intelligence Dr. Annabel Latham Room.05 Ashton Building Department of Computer Science University of Liverpool Lecture 1: Game Playing 1 Overview Last

More information

Experiments on Alternatives to Minimax

Experiments on Alternatives to Minimax Experiments on Alternatives to Minimax Dana Nau University of Maryland Paul Purdom Indiana University April 23, 1993 Chun-Hung Tzeng Ball State University Abstract In the field of Artificial Intelligence,

More information

Addressing NP-Complete Puzzles with Monte-Carlo Methods 1

Addressing NP-Complete Puzzles with Monte-Carlo Methods 1 Addressing NP-Complete Puzzles with Monte-Carlo Methods 1 Maarten P.D. Schadd and Mark H.M. Winands H. Jaap van den Herik and Huib Aldewereld 2 Abstract. NP-complete problems are a challenging task for

More information

In order to win you must either deplete the front row of your opponent or deprive him of all legal moves.

In order to win you must either deplete the front row of your opponent or deprive him of all legal moves. BAO GAME RULES A resource for travellers from www.deanstarnes.com and Roam: the Art of Travel To download this PDF either right click (Windows) or control click (Mac) on this page and choose download from

More information

Last update: March 9, Game playing. CMSC 421, Chapter 6. CMSC 421, Chapter 6 1

Last update: March 9, Game playing. CMSC 421, Chapter 6. CMSC 421, Chapter 6 1 Last update: March 9, 2010 Game playing CMSC 421, Chapter 6 CMSC 421, Chapter 6 1 Finite perfect-information zero-sum games Finite: finitely many agents, actions, states Perfect information: every agent

More information

Algorithms for solving sequential (zero-sum) games. Main case in these slides: chess. Slide pack by Tuomas Sandholm

Algorithms for solving sequential (zero-sum) games. Main case in these slides: chess. Slide pack by Tuomas Sandholm Algorithms for solving sequential (zero-sum) games Main case in these slides: chess Slide pack by Tuomas Sandholm Rich history of cumulative ideas Game-theoretic perspective Game of perfect information

More information

Sokoban: Reversed Solving

Sokoban: Reversed Solving Sokoban: Reversed Solving Frank Takes (ftakes@liacs.nl) Leiden Institute of Advanced Computer Science (LIACS), Leiden University June 20, 2008 Abstract This article describes a new method for attempting

More information

5.4 Imperfect, Real-Time Decisions

5.4 Imperfect, Real-Time Decisions 5.4 Imperfect, Real-Time Decisions Searching through the whole (pruned) game tree is too inefficient for any realistic game Moves must be made in a reasonable amount of time One has to cut off the generation

More information

Muangkasem, Apimuk; Iida, Hiroyuki; Author(s) Kristian. and Multimedia, 2(1):

Muangkasem, Apimuk; Iida, Hiroyuki; Author(s) Kristian. and Multimedia, 2(1): JAIST Reposi https://dspace.j Title Aspects of Opening Play Muangkasem, Apimuk; Iida, Hiroyuki; Author(s) Kristian Citation Asia Pacific Journal of Information and Multimedia, 2(1): 49-56 Issue Date 2013-06

More information

Set 4: Game-Playing. ICS 271 Fall 2017 Kalev Kask

Set 4: Game-Playing. ICS 271 Fall 2017 Kalev Kask Set 4: Game-Playing ICS 271 Fall 2017 Kalev Kask Overview Computer programs that play 2-player games game-playing as search with the complication of an opponent General principles of game-playing and search

More information

Go-Moku Solved by New Search Techniques

Go-Moku Solved by New Search Techniques Go-Moku Solved by New Search Techniques L.V. Ailis H.J. van den Herik University of Limburg P.O. Box 616 6200 MD Maastricht, The Netherlands { allis,herik }@cs.mlimburg.nl M.P.H. Huntjens Vrije Universiteit

More information

Artificial Intelligence Search III

Artificial Intelligence Search III Artificial Intelligence Search III Lecture 5 Content: Search III Quick Review on Lecture 4 Why Study Games? Game Playing as Search Special Characteristics of Game Playing Search Ingredients of 2-Person

More information

CS 331: Artificial Intelligence Adversarial Search II. Outline

CS 331: Artificial Intelligence Adversarial Search II. Outline CS 331: Artificial Intelligence Adversarial Search II 1 Outline 1. Evaluation Functions 2. State-of-the-art game playing programs 3. 2 player zero-sum finite stochastic games of perfect information 2 1

More information

Extended Null-Move Reductions

Extended Null-Move Reductions Extended Null-Move Reductions Omid David-Tabibi 1 and Nathan S. Netanyahu 1,2 1 Department of Computer Science, Bar-Ilan University, Ramat-Gan 52900, Israel mail@omiddavid.com, nathan@cs.biu.ac.il 2 Center

More information

Foundations of AI. 6. Adversarial Search. Search Strategies for Games, Games with Chance, State of the Art. Wolfram Burgard & Bernhard Nebel

Foundations of AI. 6. Adversarial Search. Search Strategies for Games, Games with Chance, State of the Art. Wolfram Burgard & Bernhard Nebel Foundations of AI 6. Adversarial Search Search Strategies for Games, Games with Chance, State of the Art Wolfram Burgard & Bernhard Nebel Contents Game Theory Board Games Minimax Search Alpha-Beta Search

More information

Adversarial Search. CS 486/686: Introduction to Artificial Intelligence

Adversarial Search. CS 486/686: Introduction to Artificial Intelligence Adversarial Search CS 486/686: Introduction to Artificial Intelligence 1 Introduction So far we have only been concerned with a single agent Today, we introduce an adversary! 2 Outline Games Minimax search

More information

Lemmas on Partial Observation, with Application to Phantom Games

Lemmas on Partial Observation, with Application to Phantom Games Lemmas on Partial Observation, with Application to Phantom Games F Teytaud and O Teytaud Abstract Solving games is usual in the fully observable case The partially observable case is much more difficult;

More information

A Comparative Study of Solvers in Amazons Endgames

A Comparative Study of Solvers in Amazons Endgames A Comparative Study of Solvers in Amazons Endgames Julien Kloetzer, Hiroyuki Iida, and Bruno Bouzy Abstract The game of Amazons is a fairly young member of the class of territory-games. The best Amazons

More information

Game Playing. Why do AI researchers study game playing? 1. It s a good reasoning problem, formal and nontrivial.

Game Playing. Why do AI researchers study game playing? 1. It s a good reasoning problem, formal and nontrivial. Game Playing Why do AI researchers study game playing? 1. It s a good reasoning problem, formal and nontrivial. 2. Direct comparison with humans and other computer programs is easy. 1 What Kinds of Games?

More information

Algorithms for solving sequential (zero-sum) games. Main case in these slides: chess! Slide pack by " Tuomas Sandholm"

Algorithms for solving sequential (zero-sum) games. Main case in these slides: chess! Slide pack by  Tuomas Sandholm Algorithms for solving sequential (zero-sum) games Main case in these slides: chess! Slide pack by " Tuomas Sandholm" Rich history of cumulative ideas Game-theoretic perspective" Game of perfect information"

More information

CSC321 Lecture 23: Go

CSC321 Lecture 23: Go CSC321 Lecture 23: Go Roger Grosse Roger Grosse CSC321 Lecture 23: Go 1 / 21 Final Exam Friday, April 20, 9am-noon Last names A Y: Clara Benson Building (BN) 2N Last names Z: Clara Benson Building (BN)

More information

Dual Lambda Search and Shogi Endgames

Dual Lambda Search and Shogi Endgames Dual Lambda Search and Shogi Endgames Shunsuke Soeda 1, Tomoyuki Kaneko 1, and Tetsuro Tanaka 2 1 Computing System Research Group, The University of Tokyo, Tokyo, Japan {shnsk, kaneko}@graco.c.u-tokyo.ac.jp

More information

Partial Information Endgame Databases

Partial Information Endgame Databases Partial Information Endgame Databases Yngvi Björnsson 1, Jonathan Schaeffer 2, and Nathan R. Sturtevant 2 1 Department of Computer Science, Reykjavik University yngvi@ru.is 2 Department of Computer Science,

More information

A small Go board Study of metric and dimensional Evaluation Functions

A small Go board Study of metric and dimensional Evaluation Functions 1 A small Go board Study of metric and dimensional Evaluation Functions Bruno Bouzy 1 1 C.R.I.P.5, UFR de mathématiques et d'informatique, Université Paris 5, 45, rue des Saints-Pères 75270 Paris Cedex

More information

Lecture 14. Questions? Friday, February 10 CS 430 Artificial Intelligence - Lecture 14 1

Lecture 14. Questions? Friday, February 10 CS 430 Artificial Intelligence - Lecture 14 1 Lecture 14 Questions? Friday, February 10 CS 430 Artificial Intelligence - Lecture 14 1 Outline Chapter 5 - Adversarial Search Alpha-Beta Pruning Imperfect Real-Time Decisions Stochastic Games Friday,

More information

CS 229 Final Project: Using Reinforcement Learning to Play Othello

CS 229 Final Project: Using Reinforcement Learning to Play Othello CS 229 Final Project: Using Reinforcement Learning to Play Othello Kevin Fry Frank Zheng Xianming Li ID: kfry ID: fzheng ID: xmli 16 December 2016 Abstract We built an AI that learned to play Othello.

More information

Adversarial Search and Game- Playing C H A P T E R 6 C M P T : S P R I N G H A S S A N K H O S R A V I

Adversarial Search and Game- Playing C H A P T E R 6 C M P T : S P R I N G H A S S A N K H O S R A V I Adversarial Search and Game- Playing C H A P T E R 6 C M P T 3 1 0 : S P R I N G 2 0 1 1 H A S S A N K H O S R A V I Adversarial Search Examine the problems that arise when we try to plan ahead in a world

More information

Adversarial Search (Game Playing)

Adversarial Search (Game Playing) Artificial Intelligence Adversarial Search (Game Playing) Chapter 5 Adapted from materials by Tim Finin, Marie desjardins, and Charles R. Dyer Outline Game playing State of the art and resources Framework

More information

For slightly more detailed instructions on how to play, visit:

For slightly more detailed instructions on how to play, visit: Introduction to Artificial Intelligence CS 151 Programming Assignment 2 Mancala!! The purpose of this assignment is to program some of the search algorithms and game playing strategies that we have learned

More information

Searching over Metapositions in Kriegspiel

Searching over Metapositions in Kriegspiel Searching over Metapositions in Kriegspiel Andrea Bolognesi and Paolo Ciancarini Dipartimento di Scienze Matematiche e Informatiche Roberto Magari, University of Siena, Italy, abologne@cs.unibo.it, Dipartimento

More information

Monte-Carlo Tree Search and Minimax Hybrids

Monte-Carlo Tree Search and Minimax Hybrids Monte-Carlo Tree Search and Minimax Hybrids Hendrik Baier and Mark H.M. Winands Games and AI Group, Department of Knowledge Engineering Faculty of Humanities and Sciences, Maastricht University Maastricht,

More information

Blunder Cost in Go and Hex

Blunder Cost in Go and Hex Advances in Computer Games: 13th Intl. Conf. ACG 2011; Tilburg, Netherlands, Nov 2011, H.J. van den Herik and A. Plaat (eds.), Springer-Verlag Berlin LNCS 7168, 2012, pp 220-229 Blunder Cost in Go and

More information

Dynamic Programming in Real Life: A Two-Person Dice Game

Dynamic Programming in Real Life: A Two-Person Dice Game Mathematical Methods in Operations Research 2005 Special issue in honor of Arie Hordijk Dynamic Programming in Real Life: A Two-Person Dice Game Henk Tijms 1, Jan van der Wal 2 1 Department of Econometrics,

More information

Adversary Search. Ref: Chapter 5

Adversary Search. Ref: Chapter 5 Adversary Search Ref: Chapter 5 1 Games & A.I. Easy to measure success Easy to represent states Small number of operators Comparison against humans is possible. Many games can be modeled very easily, although

More information

COMP219: Artificial Intelligence. Lecture 13: Game Playing

COMP219: Artificial Intelligence. Lecture 13: Game Playing CMP219: Artificial Intelligence Lecture 13: Game Playing 1 verview Last time Search with partial/no observations Belief states Incremental belief state search Determinism vs non-determinism Today We will

More information

CS440/ECE448 Lecture 9: Minimax Search. Slides by Svetlana Lazebnik 9/2016 Modified by Mark Hasegawa-Johnson 9/2017

CS440/ECE448 Lecture 9: Minimax Search. Slides by Svetlana Lazebnik 9/2016 Modified by Mark Hasegawa-Johnson 9/2017 CS440/ECE448 Lecture 9: Minimax Search Slides by Svetlana Lazebnik 9/2016 Modified by Mark Hasegawa-Johnson 9/2017 Why study games? Games are a traditional hallmark of intelligence Games are easy to formalize

More information

Universiteit Leiden Opleiding Informatica

Universiteit Leiden Opleiding Informatica Universiteit Leiden Opleiding Informatica Predicting the Outcome of the Game Othello Name: Simone Cammel Date: August 31, 2015 1st supervisor: 2nd supervisor: Walter Kosters Jeannette de Graaf BACHELOR

More information