Java Applets: Interactive Programming

Lab/Assignments


The purpose of this assignment is


Instructions:

Objectives:

This is a two-player game. The first person to go is X's, the second person is O's.
Once one player gets three X's or O's in a row - either horizontally, vertically, or diagnolly,
then they win and a pop-up window appears declaring the winner.

Below is the JFrame that pops up when there is a winner:


Image Files

Right-click on the above links and select to save target
  1. Start with the template for designing each area: TicTacToe.java

    Note that there are many notes inside this template to help you along the way.
    You can run this code, but you'll only see the startOver button appear.

  2. First start with the title, as this is review of old material.

  3. Then get the buttons for the Tic Tac Toe board to appear, with white blanks

  4. Add event handling for playing Tic Tac Toe

  5. Finally, add code to handle the start Over button


    Copyright © 2006-2007: E.S.Boese All rights reserved.