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.

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

Tic-Tac-Toe Using the Graphing Calculator for Derivatives.
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.
Guide to Programming with Python
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,
Model View Controller Development architecture. MVC Model: the classes encapsulating the functionality of your app View: what the user sees and interfaces.
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.
Tic-Tac-Tolerance Steve and Torsten. Introduction We decided to play Tic-Tac-Toe with subjects in order to test mean number of games played We are looking.
Tic Tac Toe Architecture CSE 5290 – Artificial Intelligence 06/13/2011 Christopher Hepler.
Writing Functional Specifications
Conditionals Lab Dan Maselko. Overview  Gain familiarity with working with conditionals  Become familiar with using the modulus operator  Understand.
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.
1 CSE1301 Computer Programming: Lecture 23 Algorithm Design (Part 1)
Lecture Roger Sutton CO331 Visual Programming 18: Program design 1.
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.
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.
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.
Investigation #1 (cont.)
Guide to Programming with Python Chapter Six Functions: The Tic-Tac-Toe Game.
Project 1 Tic Tac Toe Assigned Mon, Sep 8, 2003 Due Mon, Sep 15, 2003.
Welcome to... A Game of X’s and O’s Modified from a game Developed by Presentation © All rights Reserved
Investigation #1 (cont.) Products and Multiples. 1.3 The Product Game.
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.
Natural Language to Machine Readable Format By: Damian Tamayo Presentation 2 – Nov. 13, 2009 CIS 895 – MSE Project.
+ TIC-TAC-TOE GAME CAPSTONE PROJECT SEN Team Members Sno.NameITU ID 1Keerthi Alimity Venkata Ganugapati Sujitha Sanku Bavi Bharathan87550.
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.
Directions: 1.Divide the class into two teams: X’s & O’s. Begin the game. 2.Once all characters have been introduced, you will come to a screen with all.
Problem Decomposition and Abstraction. Problem Solving Which one is easier:  Solving one big problem, or  Solving a number of small problems?
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.
Guide to Programming with Python Chapter Six Functions: The Tic-Tac-Toe Game.
Adding Game Click here You must look at the bottom to move on….. Click here.
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.
Welcome to... A Game of X’s and O’s
Design of Rock-Paper-Scissors end Print instructions Play game Ask user If (s)he wants to play again Play again? Y Print stats: wins, losses and ties start.
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,
Following and Giving Instructions
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
Point-Slope Formula.
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 #”
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Chapter 6 : Game Search 게임 탐색 (Adversarial Search)
Hollywood Squares Anita Hugginkiss Lee V. Mediately Justin Case
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 #”
Tic Tac Toe application
Tic – Tac – Toe ! Choose a square by clicking on “box #”
Beginning C Lecture 5 Lecturer: Dr. Zhao Qinpei
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
Linear Equations – Variable on One Side – 1-Step – Non-Calculator
Repeated Percentage Change – Increase – Noughts & Crosses
PL_Szkoła_Podstawowa_Nr 51_w_Białymstoku
Unit II Game Playing.
Reciprocals – Noughts & Crosses
Presentation transcript:

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 players. You can get a friend to play with you.The board is a square with three times three squares. 2.First you decide who will be using O's and who will using X's. Second decide who will start. 3.The players put their symbol in an empty square when it is his/her turn. 4.The first person with three of their symbols along a straight line or diagonally line has won.

FUNCTIONS FOR TIC TAC TOE FUNCTIONS: Asking players names Print Instructions Asking difficulty Asking size of the grid Inputting the noughts and crosses Who has won – computer/player Who's going first

PSEUDO CODE FOR TIC TAC TOE 1.Create an empty Tic-Tac-Toe board 2.Display the game instructions 3.Determine who goes first 4.Display the board 5.While nobody's win and it's not a tie If it's the human's turn Get the human's move 8. Update the board with the human's move 9. Otherwise Calculate the computer's move 11. Update the board with the computer's move 12. Display the board 13. Switch turns 14.Congratulate the winner or declare a tie

PSEUDO CODE FOR THE FUNCTIONS FOR TIC TAC TOE 1.First ask the players name 2.Print the players name 3.Then show the Instructions 4.Print instructions 5.Ask the player how difficult they want the game 6.Ask the player what size they want the grid 7.Print particular grid size according to the players want 8.Print who's going first (Randomised) 9.Each player will Input the noughts and crosses 10.Print who has won the game– computer/player