Presented by : Ashin Ara Bithi Roll : 09 Iffat Ara Roll : 22 12th Batch Department of Computer Science & Engineering University of Dhaka.

Slides:



Advertisements
Similar presentations
P ROBLEM S OLVING WITH 6C Probability and strategy.
Advertisements

1 Reinforcement Learning (RL). 2 Introduction The concept of reinforcement learning incorporates an agent that solves the problem in hand by interacting.
Tic tac toe v1.2 Made by Rogonow XX PC: X YOU: O The PC-player with mark X goes first. After the PC, you place the mark O at the position of a green oval.
Homework for Next Class Reading: Chapter 13 For a digital game of your choice (*): 1.Give an example of an element in the graphical user interface of the.
"Intelligent" CS 5 An object is structured data that is alive, responsible, and intelligent. Sound too friendly? This week’s objects and classes will be.
Tic Tac Toe Prototype Following is a prototype of a Tic Tac Toe program. The main goal of the program is to provide quick and simple entertainment. It.
AI for Connect-4 (or other 2-player games) Minds and Machines.
Tic Tac Toe size(600,600); Aim: How can we set up our canvas and display for a Tic Tac Toe game? 1. Sketch the two drawings and write the two code.
Tic-Tac-Toe, Abstract Algebra and the Law Presenter: Neal Fox MATH 552 University of Virginia Instructor: Mike Hill.
Playing Tic Tac Toe with Neural Networks Justin Herbrand CS/ECE/ME 539.
Tic Tac Toe Game Design Using OOP
Tic Tac Toe Game playing strategies
Introduction to Programming Using simple games to convey introductory concepts MERLOT International Conference 2004 Tracey Jensen Assistant Professor,
Unit 251 Summary  Requirements may be represented in itemized format or in visual modeling (UML). Once the complete set of requirements are in our hand,
TIC-TAC-TOE FELIX CHEN CLUSTER 5: Computers in Biophysics and Robotics.
DATA STRUCTURES AND ALGORITHMS.  The project that we worked on is a well known game called “Tic Tac Toe”.  We implemented this game using a binary tree.
Microsoft® Small Basic Advanced Games Estimated time to complete this lesson: 1 hour.
PLANNING THE TIC TAC TOE GAME BY NEEL DAVE. TIC TAC TOE INSTRUCTIONS Tic Tac Toe Instructions The basic concept of Tic Tac Toe 1.This is a game for two.
Tic Tac Toe Architecture CSE 5290 – Artificial Intelligence 06/13/2011 Christopher Hepler.
Writing Functional Specifications
Artificial Intelligence in Game Design
Representing a Game Board In a game, we represent the action taking place using an array – In a very simple game, we use individual variables to represent.
Learning C++ the Fun Way Taesoo Kim Dr. Ramon Lawrence Computer Science.
THE RENJU GAME BY ABHISHEK JAIN, PRANSHU GUPTA & RHYTHM DAS PCLUB SUMMER PROJECT PRESENTATION JUNE, L7 IIT KANPUR MENTOR – SANIL JAIN.
It is as easy as playing tic-tac-toe!. Make the vertical and horizontal lines of a tic- tac-toe game.
Today in CS161 Lecture #4 Solving Problems with Computers Walk through the Tic Tac Toe Algorithm Getting ready for Creating Programs Turn the Inches to.
Minimax.
Indian Institute of Technology Hyderabad SOS - The Game A Project by Paritosh J Chandran Prakhar Bharadwaj Ganesh Mahidhar Nagarjun Srinivasan.
Adversarial Search CS30 David Kauchak Spring 2015 Some material borrowed from : Sara Owsley Sood and others.
Apostles Chess Club Session Three. Chess Piece Symbols The symbols shown above are the ones most used when showing chess pieces in print or on the internet.
Def tomorrow(self): """Changes the calling object so that it represents one calendar day after the date it originally represented. """ if self.month in.
1 Artificial Intelligence GholamReza GhassemSani Fall 1383.
Computer Programming for Engineers. Outline Tic-Tac-Toe (O-X Game) Drawing 3x3 grid Receiving the inputs Checking for a winner Taking turns between.
Connect Four AI Robert Burns and Brett Crawford. Connect Four  A board with at least six rows and seven columns  Two players: one with red discs and.
More on Logic Today we look at the for loop and then put all of this together to look at some more complex forms of logic that a program will need The.
Rules “rules, play, culture”. COSC 4126 rules Rules of Tic-Tac-Toe 1.Play occurs on a 3 by 3 grid of 9 squares. 2.Two players take turns marking empty.
HW 6: Problems 2 & 3 Simulating Connect 4. HW 6: Overview Connect 4: Variation of Tic-Tac-Toe – Board: Vertical 7x6 – Two players take alternating move.
The Chooser-Picker 7-in-a-row game András Csernenszky July Szeged.
Natural Language to Machine Readable Format By: Damian Tamayo Presentation 2 – Nov. 13, 2009 CIS 895 – MSE Project.
Introduction to Game Theory Kamal Aboul-Hosn Cornell University Computers Playing Games.
Tic tac toe specifications Maaike Gerritsen Ingmar van der Steen Bas Geertsema Brian Vermeer.
+ TIC-TAC-TOE GAME CAPSTONE PROJECT SEN Team Members Sno.NameITU ID 1Keerthi Alimity Venkata Ganugapati Sujitha Sanku Bavi Bharathan87550.
Adversarial Search. Game playing u Multi-agent competitive environment u The most common games are deterministic, turn- taking, two-player, zero-sum game.
Tic tac toe XX PC: X YOU: O The PC-player with mark X goes first. After the PC, you place the mark O at the position of a green circle. If you succeed.
More on Logic Today we look at the for loop and then put all of this together to look at some more complex forms of logic that a program will need The.
Automatic Generation of Alternative Starting Positions for Simple Traditional Board Games Umair Z. Ahmed (IIT Kanpur) Krishnendu Chatterjee (IST Austria)
2-dimensional Arrays A 2-dimensional array has rows and columns It is actually an “array of arrays” A Tic-Tac-Toe board is an example of a 3 by 3 2-d array.
Software Synthesis Participants: Omri Ajchenbaum and Daniel Hasson Supervised by Dr. Hillel Kugler Mid-Project presentations: February 2016.
Modeling the Game of Brain Cube Leslie Muzulu, Kristal Jameson, and Kathy Radloff; St. Catherine University Game Description Brain Cube is a puzzle game.
Artificial Intelligence in Game Design Board Games and the MinMax Algorithm.
Teaching Computers to Think:
Tic – Tac – Toe ! Choose a square by clicking on “box #” Choose a square by clicking on “box #” If the person choosing the square gets the problem correct,
Tic Tac Toe Game Amna Msalam & Rehan Alashqar Supervised By: Dr. Aladdin Masri & Dr. Emad Natsheh.
A fun reading Comprehension Game
Defining Rules and Levels of Rules (Chs. 11 & 12)
Next Level Tic-Tac-Toe
O X X O O X X O X O X O O X O X O X Tic Tac Toe Graphical
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Tic Tac Toe application
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Tic-Tac-Toe Game Engine
2019 SAIMC Puzzle Challenge General Regulations
Presentation transcript:

Presented by : Ashin Ara Bithi Roll : 09 Iffat Ara Roll : 22 12th Batch Department of Computer Science & Engineering University of Dhaka

Presentation at a Glance Overview Core Logic Limitations Future plan

Our project name is Tic-Tac-Toe game.This game is very popular and is fairly simple by itself.It is actually a two player game. In this game, there is a board with n x n squares. In our game, it is 3 x 3 squares. A player can choose between two symbols (X or O) with his opponent. The goal of Tic Tac Toe is to be one of the player to get three symbols (X or O) in a row - horizontally, vertically or diagonally - on a 3 x 3 grid. Overview

There are two options for choosing opponent : a) Human – Both players are human b) Computer – First player is human & second player is computer There is another option to choose between two symbols (X or O) for playing. Overview(cont.)

OO X OO Core logic - AI There are two core logics in this game – when both players are human, and when one is computer. The logic used for the AI is as follows: First move: If the center is free, get the center. Otherwise, get any of the corners. X O

XX O O Core logic - AI (Continued … ) Second move: Block user from winning. Opt for winning by applying the following logic: If the center is occupied by user, get any of the corners. OO X XO

Core logic - AI (Continued…) Otherwise, the following cases happen : Case 1 : If any situation arises like any of the above figure then the computer sets its symbol any one of the position among 2,4, 6 and 8. XO OOO OX

Case 2: X OOO X If any situation arises like any of the above figures then the computer sets its symbol at any position among 4 and 6. X OOO X X OOO X Core logic - AI (Continued … )

O XOX O O OX XO If any situation arises like any of the above figures then the computer sets its symbol at any position among 2 and 8. O XO OX Core logic - AI (Continued … ) Case 3 :

Case4 : OXO XO OO OO XO OXO If any situation arises like any of the above figures then the computer sets its symbol at any position among 1, 3,7 and 9. OXO OX OO OO OX OXO Core logic - AI (Continued … )

O XO XOX XXO OOX XO Third and fourth move: Opt for winning Block user from winning Randomly play a move. OX XO XO Core logic - AI (Continued … )

For each move, check whether any 3 combination is occupied by any player and display the winner accordingly. Core logic - Humans

Limitations GUI is not so attractive. Only mouse interface is implemented, keyboard is not activated in the game.

Future plan Keyboard functions will be added. We want to design more complex boards for the game in future.

Thanks To All