This repository contains two versions of a simple Tic Tac Toe (XO) game:
- ✅ Flutter App – a mobile UI version built with Flutter.
- ✅ Dart Console App – a terminal version written purely in Dart.
A two-player Tic Tac Toe game (Player X vs Player O). The goal is to get three marks in a row (horizontally, vertically, or diagonally) before your opponent.
-
Make sure Flutter is installed. If not, follow the guide here:
👉 Flutter Installation Guide -
Clone this repository and navigate to the Flutter folder:
git clone https://github.com/arrm33/flutter-game.git cd flutter-game/src
-
Run the app:
flutter pub get flutter run
###
Make sure Dart SDK is installed. If not, follow the guide here: Dart Installation Guide
Navigate to the Dart console folder:
cd flutter-game/src-dart
Run the game:
dart run main.dart
🧠 Features:
Console-based XO game
Two-player input with validation
Win and Draw detection
Simple and fast gameplay