Tic Tac Toe Game Design Using OOP

Slides:



Advertisements
Similar presentations
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.
Advertisements

Adversarial Search We have experience in search where we assume that we are the only intelligent being and we have explicit control over the “world”. Lets.
Tic-Tac-Toe Using the Graphing Calculator for Derivatives.
Computers playing games. One-player games Puzzle: Place 8 queens on a chess board so that no two queens attack each other (i.e. on the same row, same.
9.2 Mixed Strategies Two players, Robert and Carol, play a game with payoff matrix (to Robert): Is the game strictly determined? Why? Robert has strategy:
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.
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.
Playing Tic Tac Toe with Neural Networks Justin Herbrand CS/ECE/ME 539.
Introduction to Programming Using simple games to convey introductory concepts MERLOT International Conference 2004 Tracey Jensen Assistant Professor,
Tic Tac Au-Toe-Mata Mark Schiebel. Outline I.Brief Cellular Automata Background II.Tic-Tac Au-Toe-Mata Rules III.Project Design IV.Computer Strategy V.Conclusion.
Model View Controller Development architecture. MVC Model: the classes encapsulating the functionality of your app View: what the user sees and interfaces.
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.
J AVA A SSIGNMENT 1. O VERVIEW Tic Tac Toe How it should work Using the supplied methods What you need to do How we will test your code.
Presented by : Ashin Ara Bithi Roll : 09 Iffat Ara Roll : 22 12th Batch Department of Computer Science & Engineering University of Dhaka.
Integer Tic Tac Toe Let’s Begin Rules: 1.Erase all x’s and o’s from the previous game before you begin. 2.Decide which player will be x’s and which will.
Playing Games for Reviewing Math Concepts Susan Fife, Ed. D. Houston Community College.
Lesson 2-2 Example Solve. Tic Tac Toe Katrina and her friend played Tic Tac Toe. The outcomes of the games are shown in the line plot. Did Katrina.
© 2007 Ray S. Babcock Tracks Game is played on a (nxn) set of squares. There are three possible moves (labeled A,B,C). Players alternate making a move.
IS660Z – Programming Games Using Visual Basic Required session 3 June 16, 2004.
Purpose: Can I make the other person win at Tic Tac Toe? Research: How do you usually play Tic Tac Toe?
BELLWORK 4/28 PING TAC TOE PROBLEM : Player must bounce ping-pong balls into a grid of glasses to get a 3 in a row. Player must alternate color of the.
1 Othello Game Programs (human to human). 2 (defconstant all-directs '( )) ALL-DIRECTS (defconstant empty 0) EMPTY (defconstant.
1 Phase II - Checkers Operator: Eric Bengfort Temporal Status: End of Week Five Location: Phase Two Presentation Systems Check: Checkers Checksum Passed.
Artificial Intelligence and Robotics By Keith Bright & John DeBovis.
Tic Tac Toe Game ©Judy Martin 2013, Clip Art of the Tortoise and the Hare © 2013 LL Martin.
Directions: Each player has coloured pie chart. Players takes turns in rolling the numbered coloured die, player moves forward and places their counter.
Objective: to teach the basics of recruiting and hiring through a presentation and games Ice breaker –> for groups of 20 + How to begin recruiting Hiring.
Solving Inequalities. C + 3 < 12 Guess a reasonable solution and write your guess.
Introduction to Game Theory Kamal Aboul-Hosn Cornell University Computers Playing Games.
Uncover the mystery of factoring complex trinomials!
1 University of Utah – School of Computing Computer Science Writing Tic Tac Toe H. James de St. Germain University of Utah.
Tic tac toe specifications Maaike Gerritsen Ingmar van der Steen Bas Geertsema Brian Vermeer.
Integer Tic Tac Toe Let’s Begin Rules: 1.Erase all x’s and o’s from the previous game before you begin. 2.Decide which player will be x’s and which will.
In 1952 A.S Douglas created the first graphical computer game “Tic Tac Toe”. William Higginbotham created the first video game in 1958 called “Tennis.
Introduction to State Space Search
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.
Picking Apples. Subtraction game. Turn over two cards from 0-10 Work out the difference. If you have an apple with this amount put a counter on it. First.
Adding Game Click here You must look at the bottom to move on….. Click here.
Triqqy About Us We are Triqqy. We are taking board games to the next level. Triqqy is providing multiplayer online board games, dice.
Algorithms. An algorithm is an effective method expressed as a finite list of well- defined instructions for accomplishing a goal.. Have one student give.
Algorithms.
Intro to Computer Science II
A fun reading Comprehension Game
Tic-Tac-Throw! How to Play: X or O
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
By : Leyton Boykin Entertainment in Rome.
Tic Tac Toe X O X O X O X O O X O
“The people transmitting their stories to the next generation aren’t priests or poets or medicine women. They’re multinational corporations. And they are.
Tic Tac Toe O O X X ? X O X O © Math by Morrison 2011.
Tic – Tac – Toe ! Choose a square by clicking on “box #”
IPad Center.
Tic-Tac Toe.
DIVIDING FRACTIONS TIC-TAC-TOE
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 #”
Mobile Gaming Through The Wireless Internet
Advanced DAX – Tic Tac Toe
Tic Tac Toe application
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Find the slope of the graph
Adversarial Search and Game Playing Examples
Vocabulary Tic Tac Toe.
Dividing Integers.
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
Presentation transcript:

Tic Tac Toe Game Design Using OOP By: Parthipan Siva For: SD121

Identify Objects Tic Tac Toe board Human Player Computer Player Game Ask Class to identify objects. HINT: Objects == nouns <- this can be overused if people are not careful ALSO you can have abstract objects which are not nouns

Class Relationship Show the class my class relationships. Comment on the difference between “Is a” and “Has a” Get Class to come up with reasons for creating a parent player class.

What Information Does The Game Board Class Need? 3 x 3 Matrix for the board Status of board Can more pieces be placed? Has there been a 3 in a row (win)? Ask class to come up with Member Variables for Board Class. Show what I decided to use.

What Actions Does The Game Board Class take? Ask class to come up with the (public) member functions for the game board class.

Class Relationship

What Information Does The Player Class Need? Name Piece (X or O) Number of Wins Ask class to come up with Member Variables for Player Class. Show what I decided to use.

What Actions Does The Player Class Take? Ask class to come up with the (public) member functions for the player class.

What Actions Does The Human Player Class Take? Ask class to come up with the (public) member functions for the Human Player class.

What Actions Does The Computer Player Class Take? Ask class to come up with the (public) member functions for the Computer Player class.

Class Relationship

What Information Does The Game Class Need? Player1 Player2 Game Board Status Number of Games Played Which player move is it Type of game (Human vs Computer, Computer vs Human) Ask class to come up with Member Variables for Game Class. Show what I decided to use.

What Actions Does The Game Class Take? Ask class to come up with the (public) member functions for the Game class.