CaneGattoStivali.it is a simple web game where you are given a clue and have to guess a word logically connected to it. Do it ten times to create your word-chain and, once you finish, enjoy the confetti explosion 🎉
- Interactive Word Game: Guess the right words based on given clue.
- React: Built with React for a dynamic and responsive user interface.
- Bootstrap Integration: Styled with Bootstrap to ensure accessibility and a polished design.
- Cloudflare Pages Deployment: Fast and reliable hosting for seamless gameplay.
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/lucabn/canegattostivali.git cd canegattostivali
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
The app will be accessible at http://localhost:5173 by default.
The following scripts are available in the project:
npm run dev
: Starts the development server using Vite.npm run build
: Builds the project for production (compiles TypeScript and bundles files).npm run preview
: Previews the production build locally.npm run lint
: Runs ESLint to check and enforce code quality.
This project is deployed on Cloudflare Pages.
- React: Library for building the user interface.
- TypeScript: Strongly-typed JavaScript for better code maintainability.
- Bootstrap: CSS framework for responsive design.
- Vite: Fast build tool for modern web projects.
- Cloudflare Pages: Hosting platform for deployment.
The main structure of the project includes:
- src: Contains all source code for the application.
- components: Reusable React components.
- styles: SCSS stylesheets.
- public: Static assets like images or icons.
- package.json: Project dependencies and scripts.
- tsconfig.json: TypeScript configuration.
- .eslintrc: ESLint configuration for linting.
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push them to your fork.
- Open a pull request to the main repository.
This project is licensed under the MIT License. See the LICENSE file for details.