Sign in Join

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

Catalog · How the catalog works

Random project

Tic-tac-toe-2020

One of my first projects. Game "Tic-tac-toe". Playing against AI)

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Welcome to the Game Tic-tac-toe-2020

I wrote this "Tic-tac-toe" game in 2020 when I was learning about programming. This project was written in Pascal. The game has three levels of difficulty, and a system for counting wins.

Application loading screen, it is fully interactive.

Снимок экрана 2023-07-14 124812

The game has a choice of difficulty levels:

  • Easy - There is a high probability that the opponent will not see the correct move
  • Normal - Stronger opponent, but sometimes wrong
  • Hard - Hard to beat, almost never wrong

Снимок экрана 2023-07-14 124652

Game process

Note: The game has a counter of victories, according to the results of the matches played.

The game starts with your turn. In the right part of the playing area, the correspondence of the cells to the numbers is shown. For the user's move, you need to specify the cell number, the user always plays for O.

Below is a gameplay demo:

Снимок экрана 2023-07-14 124539