Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.43 KB

File metadata and controls

53 lines (40 loc) · 1.43 KB

Games

A monorepo for games written in TypeScript. See Available games for a list of games.

Tech stack

  • pnpm for package management.
  • Turborepo for managing the monorepo.
  • TypeScript for type safety.
  • Nextjs for the frontend (web)
  • Fastify and Socket.io for the backend.
  • There is currently no database, so the game state is stored in memory.

How to run

This project uses Turborepo to manage the monorepo. You can find more information about it here: https://turborepo.com/

Install dependencies

pnpm install

Start a package

pnpm dev --filter PACKAGE_NAME

Available games

Game Status
Tic Tac Toe Playable
Connect 4 Playable

TODO

  • Abstract some classes
  • Add a parse function in classes to parse the data for the client
  • Refactor classes types
  • Use ENV variables
  • Handle player disconnects
  • Share the game page by being as flexible as possible (can be improved)
  • Create connect 4 game
  • Dark mode
  • Deploy to Vercel and Railway
  • Handle toast messages
  • Responsive
  • Better replay system
  • Improve turn display
  • Add JoSky game
  • Translations (en, fr) (horrible with next experimental app folder)