Skip to content

ahmedalatawi/tic-tac-toe-game

Repository files navigation

Tic Tac Toe Game

This project is built with React Native, Expo and Typescript, and it was bootstrapped with Expo CLI.

Tic Tac Toe is a simple game that provides the following options for player X and O:

  • User .vs Computer - this is the default option where you, the user, play against the computer
  • User .vs User - you play against yourself
  • Computer .vs Computer - the computer plays against itself

You can also make the computer smart (unbeatable) by checking the "Incorporate AI" option.

Run app

yarn install

yarn start

you can open iOS, Android, or web from here, or run them directly with the commands below:

yarn android

yarn ios

yarn web


Run tests

to run all tests in watch mode: yarn test

to run all tests just once: yarn testFinal

Author 📚

Ahmed Alatawi