Presentation is loading. Please wait.

Presentation is loading. Please wait.

TIC-TAC-TOE FELIX CHEN CLUSTER 5: Computers in Biophysics and Robotics.

Similar presentations


Presentation on theme: "TIC-TAC-TOE FELIX CHEN CLUSTER 5: Computers in Biophysics and Robotics."— Presentation transcript:

1 TIC-TAC-TOE FELIX CHEN CLUSTER 5: Computers in Biophysics and Robotics

2 What is Tic-Tac-Toe?

3 YOU FAIL!!! GET OUT!!!

4 Rules of Tic-Tac-Toe Two players (‘X’ and ‘O’) 3x3 grid used for board Players take turns marking spaces on board with ‘X’ or ‘O’ Goal is to get three-in-row horizontally, vertically, or diagonally Draw is called a “cat’s game,” where all 9 spaces are filled, but there is no winner.

5 Examples of Tic-Tac-Toe Outcomes Player ‘X’ Wins Cat’s Game

6 How the Program Works Written in the C language. Board with computer’s move appears. Player enters in coordinates of desired move. New board appears with current position. Repeats steps 2-4 until there is a winner or draw. Outcome is stated i.e. “Computer wins.”

7 In the beginning…

8 The Frustrating Times…

9 The End THA YNK OU!


Download ppt "TIC-TAC-TOE FELIX CHEN CLUSTER 5: Computers in Biophysics and Robotics."

Similar presentations


Ads by Google