An open API service indexing awesome lists of open source software.

https://github.com/szymmis/tic-tac-toe

🎲 WebSocket Tic Tac Toe using vite-express
https://github.com/szymmis/tic-tac-toe

vite-express

Last synced: 2 months ago
JSON representation

🎲 WebSocket Tic Tac Toe using vite-express

Awesome Lists containing this project

README

        

# 🎲 Tic Tac Toe

> WebSocket tic tac toe implementation

![Game preview](media/game.gif)

## 💬 Introduction

This is a websocket implementation of a popular tic tac toe game based on a `React` frontend and `Express` backend glued together by [`vite-express`](https://github.com/szymmis/vite-express). Among the features apart from the obvious one is registration, authorization and match history recording.

## 🔧 Setup

To ensure that everything works great Node 20 should be used.

- Install dependencies

```sh
npm install
```

- Run express server in developement mode

```sh
npm run dev
```

- Visit

- You can run tests with

```sh
npm run test
```