React-tic-tac-toe Tailwind Templates

React Tic Tac Toe

Tic-tac-toe with multiplayer and singleplayer modes, score system and nice visuals made using React, Tailwind CSS.

Tic Tac Toe in React

Tic-tac-toe with multiplayer and singleplayer modes, score system and nice visuals made using React, Tailwind CSS.

Table of contents

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • React - JS library
  • Tailwind - For styles

What I learned

I did this project as a repetition of some React basics, but for one thing I got to try out a hook I hadn't used before: useImperativeHandle (See more in src/components/dialogs/Reset.tsx and src/components/game/Game.tsx).

Continued development

Use more custom hooks, work on optimizing my code and using best practices. In the future I might also implement some bonus features, like improving the AI and adding game board size options like 4x4 or 5x5.

Useful resources

Top categories

Loading Svelte Themes