What's the Code is an exciting game that combines logic and math with the thrill of solving puzzles.
The goal is to guess a three-digit number using the clues provided after each attempt. You can choose from different difficulty levels, each with its own scoring system, adding variety and new challenges to every match.
Compete with your friends and find out who is the ultimate code breaker. Dare to play and enjoy the game to the fullest while testing your logic and strategy skills!
- Interactive and engaging gameplay
- Multilingual support with i18next
- Real-time updates and animations using React and Canvas Confetti
- Modern front-end development setup using Vite
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/DDansAbelenda/whats-the-code-game.git cd whats-the-code-game
-
Install dependencies:
npm install
The project includes several npm scripts for common tasks:
-
Development server:
npm run dev
-
Build for production:
npm run build
-
Lint the code:
npm run lint
-
Preview the production build:
npm run preview
The project uses the following main dependencies:
canvas-confetti
i18next
i18next-browser-languagedetector
lucide-react
react
react-dom
react-i18next
The project uses the following development dependencies:
@eslint/js
@types/canvas-confetti
@types/node
@types/react
@types/react-dom
@vitejs/plugin-react
autoprefixer
eslint
eslint-plugin-react-hooks
eslint-plugin-react-refresh
globals
postcss
tailwindcss
typescript
typescript-eslint
vite