Skip to content

Patient-Pace-Coder/Tic_Tac_Toe

Repository files navigation

Tic_Tac_Toe

This repository contains Java implementations of the classic Tic Tac Toe game, featuring two different gameplay modes: player versus player and player versus computer.

Contents:

  • TicTacToeTwoPlayers.java: This file contains the code for a two-player Tic Tac Toe game where two human players take turns making moves on the game board. The game ends when one player achieves three consecutive marks in a row, column, or diagonal, or when the game board is full without a winner.

  • TicTacToePlayerVsComp.java: This file implements a Tic Tac Toe game where a single human player competes against a computer opponent. The player takes turns making moves, while the computer's moves are generated randomly. The game concludes when either the player or the computer achieves three consecutive marks in a row, column, or diagonal, or when the game board is full without a winner.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages