Work

Laravel Morpion

TOTP TFA
Multiplayer
Real-time
Laravel
Livewire
Docker

Laravel real-time multiplayer Tic-Tac-Toe game

An image of an the tictactoe

GitHub top language GitHub commit activity repo size

Created using the Laravel/Livewire stack + vanilla JS and CSS, this web app allows multiplayer, real-time tic-tac-toe gameplay. The application is secured with email address validation and the option to use TFA (TOTP). Finally, the project includes internationalization, with French and English currently supported.

🔐 Login

You can choose whether or not to use 2FA as shown in these videos.

Without 2FA
With 2FA


🎮 Game

You can generate a game, and send the unique link to your opponent to challenge them. The board is updated in real-time on both sides, and at the end of the game, the user’s statistics are updated.



👤 Profile

There is a profile page viewable by everyone that displays your won/drawn/lost games. You can watch a replay of a game by clicking on it in the “game history” section.



📂 Source

The source code and installation instructions are accessible here.

You’ll also find a docker-compose file there if you want to test the application locally.