Skip to content

lauroguedes/tic-tac-toe-game

 
 

Repository files navigation

Tic Tac Toe Game

This is a simple Tic Tac Toe game implemented in Laravel, Livewire with Volt and Reverb. The game allows two players to take turns marking spaces on a 3x3 grid until one of them wins or the game ends in a draw. It allows players to play against each other in real-time.

tic-tac-toe-game-demo.mp4

Stack

  • PHP 8.3+
  • Laravel 12
  • Livewire 3
  • Reverb
  • Tailwind CSS

Libs

Installation

To run this project, you need to have PHP and Composer installed on your environment.

  1. Clone the repository:
git clone https://github.com/lauroguedes/tic-tac-toe-game.git
  1. Navigate to the project directory:
cd tic-tac-toe-game
  1. Install the project dependencies using Composer:
composer install
  1. Install the project dependencies using NPM:
npm install
  1. Copy the .env.example file to .env:
cp .env.example .env
  1. Generate an application key:
php artisan key:generate
  1. Run the reverb installation command:
php artisan reverb:install
  1. Start the Reverb server:
php artisan reverb:start
  1. Start the front end server:
npm run dev
  1. Start the development server:
php artisan serve
  1. Open your web browser and visit http://localhost to access the Tic Tac Toe game.

About

Tic Tac Toe Game - Real Time

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 72.7%
  • Blade 20.7%
  • JavaScript 5.6%
  • CSS 1.0%