How tadrosmaged/tictactoe_game works
Project type and purpose
• This is a desktop GUI application built with Qt 6.7, implementing a Tic-Tac-Toe game (“TicTacBoom”) with single-player (minimax + alpha-beta pruning) and two-player modes.
• It also includes user management (login, signup, user profiles, statistics) backed by a local SQLite database.
File structure
• Top level: Qt_2/ contains all source code, .ui files, the .pro qmake project, and TicTacBoom.db (SQLite file).
• Subdirectories:
• build/ & Qt_2/build/ – auto-generated build artifacts (object files, Makefiles, UI headers).
• Qt_2/test/ – unit/integration tests invoking the same widgets and logic.
• Key source files:
• main.cpp, App.cpp/h – application entry point, QCoreApplication/QApplication setup.
• *.ui & generated ui_*.h – UI definitions for windows/widgets.
• *.cpp/h – controller classes (loginpage, signupform, gamemodewindow, gameplaywindow, statisticswindow, userprofile, etc.).
• tictactoewidget.cpp/h – custom game board widget.
• Database file: TicTacBoom.db stored alongside sources for persistent user & game history.
• build scripts: TicTacBoom.pro drives qmake → make.
README for insights
• Confirms use of Qt on Windows, features, and algorithmic focus (minimax & pruning) in game logic.
• No external services – all local; no web/backend.