You are on page 1of 3

# Tic Tac Toe Game

Mini Project CMIS4114 This report is regarding the group mini project for CMIS4114 course module. Group Members: 082053 ± R.M. Nadeeshani 082070 ± Asanka Ruwanmal 082115 ± W.W.W.M.M. Fernando

for providing us a lot of guidance and support to the achievement of this assignment.Acknowledgement First of all we would like to owe our special thanks to Mrs. Malithi De Costa IMGT 4144 Computer based Modeling & Simulation tutor giving us so much guidance. directions and valuable support to carry on a better task from the beginning to end. Our thanks also go to our colleagues who always motivate us by giving us well support whenever we needed. .: Harshani Nagahamulla the lecturer of the course module IMGT 4144 Computer based Modeling & Simulation. Then we want to very much acknowledge to Miss. advices.

The X player usually goes first. South Africa. X: Figure 0-1: One practical example Players soon discover that best play from both parties leads to a draw (often referred to as cat or cat's game). is a pencil-and-paper game for two players. tic-tac-toe is most often played by young children.830 possible games up to rotations and reflections (the game tree complexity) on this space. X and O. India and the rest of the British Commonwealth countries).1. Introduction about the game Tic-tac-toe. to enumerate the 765 essentially different positions (the state space complexity). Australia. New Zealand. The player who succeeds in placing three respective marks in a horizontal. who take turns marking the spaces in a 3×3 grid. or diagonal row wins the game. Hence. or the 26. vertical.Chapter 1: Introduction 1. It is straightforward to write a computer program to play tic-tac-toe perfectly. . also called Noughts and crosses (in the UK. The friendliness of tic-tac-toe games makes them ideal as a pedagogical tool for teaching the concepts of good sportsmanship and the branch of artificial intelligence that deals with the searching of game trees. The following example game is won by the first player.