Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

Tic-Tac-Toe

A tic tac toe made in pascal

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

Pascal Terminal Tic Tac Toe

A simple 2-player Tic Tac Toe game designed for the terminal, implemented in Pascal. Enjoy a classic game with a straightforward console interface, win tracking, and the ability to easily replay for endless fun.

Features:

  • Local Multiplayer: Play against a friend on the same terminal.
  • Win Counter: Keep track of wins for each player.
  • Effortless Replay: Instantly start a new game after each match.
  • Terminal Interface: Lightweight and accessible, providing a seamless experience.

How to Play:

  1. Download the executable or compile the source code.
  2. Run the game in your terminal.
  3. Follow the on-screen instructions to place your X or O.
  4. After each game, decide whether to play again.

Instructions for Compilation:

To compile the source code, ensure you have a Pascal compiler installed. Navigate to the project directory and use the following command:

bash
fpc tictactoe.pas

Execute the compiled executable to initiate the game in your terminal.