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

TicTacToe

TicTacToe game developed in Delphi 13.1 using FMX and KAI

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

TicTacToe

For more details, please see the blog post here.

Summary

A TicTacToe game developed in Delphi 13.1 using FMX and Kai.

Time-boxed to one day of development.

The objective was to see if Kai could effectively assist with mobile UI development.

There are four opponents of increasing difficulty:

🍷 Tipsy – Unpredictable. Capable of brilliance or complete nonsense.

⚔️ Genghis – Aggressive. Solid enough to punish mistakes, but occasionally overcommits.

📚 Boris – Disciplined. Plays by the book and is difficult to outplay.

♟️ Sima Yi – Relentless. Never gives an inch.

To change an opponent's behavior, or add a new component, assemble tactics in Core.Players.

Start begins a new game. There's a configurable timer to add pressure.

Who goes first is randomly determined - if it is the computer, the move will be instant.

Best score is calculated as per the opponent, the timer pressure, and the number of moves.

The architecture, logic and gameplay were my effort.

The entire UI was created by Kai, including the frames, layouts, painting, and animation effects.

This is a screenshot from an Android Oukitel C32 phone:

Android2