Skip to content

Multiplayer TicTacToe Game developed using Flutter, Node.js, Express, MongoDB & Mongoose.

Notifications You must be signed in to change notification settings

RivaanRanawat/flutter-multiplayer-tictactoe

Repository files navigation

Multiplayer TicTacToe Game

A completely Responsive Multiplayer TicTacToe Game- Works on Android, iOS, Web & Desktop!

Features

  • Create/Join Room
  • Play Realtime
  • Display Points
  • Round & Game Winner
  • Responsive Glow Themed UI
  • Cross Platform Game

YouTube

I have created a tutorial based on this, do check it out on my channel Rivaan Ranawat

Youtube Tutorial Image

Installation

After cloning this repository, migrate to flutter-multiplayer-tictactoe folder.

Install dependencies (Client Side)

flutter pub get

Install dependencies (Server Side)

cd server && npm install

Start the server

npm run dev

Configure for MacOS: Head to macos/Runner and make sure the following keys are present in DebugProfile.entitlements and Release.entitlements

<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>

Run App

flutter run // After selecting the device you want to test on

Tech Used

Server: Node.js, Express, Socket.io, Mongoose, MongoDB

Client: Flutter, Provider

Feedback

If you have any feedback, please reach out to me at [email protected] or on Instagram at optimalcoding.