Purchase Solution

Tic Tac Toe in Java

Not what you're looking for?

Ask Custom Question

Category: Programming > Java
Subject: Tic Tac Toe program
Details: Tic tac toe is played on a 3x3 grid,Which is initially empty.Each of two players goes in turn.The winner is the person who gets a line of three noughts or three crosses.Games can end in a draw,where niether side has obtained a line.write a program to play the game.One player is computer,which plays as noughts and which decides where to play on a random basis.
There is just one button -to start a new game.the human player specifies a move by clicking with the mouse on the place where the cross is to be placed.

Purchase this Solution

Solution Summary

Tic Tac Toe game Java example is given as solution.

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

C# variables and classes

This quiz contains questions about C# classes and variables.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.