Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azganoth/tic-tac-toe
This is a solution to the "Tic Tac Toe" challenge on Frontend Mentor.
https://github.com/azganoth/tic-tac-toe
Last synced: 11 days ago
JSON representation
This is a solution to the "Tic Tac Toe" challenge on Frontend Mentor.
- Host: GitHub
- URL: https://github.com/azganoth/tic-tac-toe
- Owner: Azganoth
- Created: 2023-06-19T04:16:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-18T20:38:25.000Z (about 2 months ago)
- Last Synced: 2024-11-18T21:46:43.189Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://azganoth.github.io/tic-tac-toe/
- Size: 168 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor Challenge: Tic Tac Toe
This is a solution to the [Tic Tac Toe challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/tic-tac-toe-game-Re7ZF_E2v).
## Table of contents
- [Overview](#overview)
- [Additional](#additional)
- [Development](#development)
- [Stack](#stack)
- [Tools and Workflow](#tools-and-workflow)
- [Resources](#resources)
- [Showcase](#showcase)
- [Links](#links)
- [Screenshots](#screenshots)
- [Author](#author)## Overview 📋
Users should be able to:
- View the optimal layout for the game depending on their device's screen size
- See hover states for all interactive elements on the page
- Play the game either solo vs the computer or multiplayer against another person
- **Bonus 1**: Save the game state in the browser so that it’s preserved if the player refreshes their browser
- **Bonus 2**: Instead of having the computer randomly make their moves, try making it clever so it’s proactive in blocking your moves and trying to win### Additional
- Modified SVG icons to use currentColor and viewBox for better scaling.
- Implemented mid-game quit functionality.
- Added support for Portuguese (Brazil) locale.### Stack
- **HTML5**
- **CSS3**
- **TypeScript**
- **SASS**
- **React**
- **Vite**
- **Vitest**
- **Testing Library**### Tools and Workflow
- **GitHub Actions**
- **GitHub Pages**
- **Prettier**### Resources
- [SVGR](https://react-svgr.com/) - Import SVG icons as react components.
## Showcase 🖼️
### Links
- Solution URL: [Mobile-first solution using React, SASS and Vite](https://www.frontendmentor.io/solutions/mobile-first-solution-using-react-sass-and-vite-9BJSCneLuA)
- Live Site URL: [Tic Tac Toe](https://azganoth.github.io/tic-tac-toe/)### Screenshots
#### New game
![](./screenshot_1.jpeg)
#### Game
![](./screenshot_2.jpeg)
## Author ✍️
- Website - [Ademir José Ferreira Júnior](https://github.com/Azganoth)
- Frontend Mentor - [@Azganoth](https://www.frontendmentor.io/profile/Azganoth)