A React-based web application that simulates the Hogwarts Sorting Hat ceremony from the Harry Potter series. Users can experience being sorted into one of the four Hogwarts houses: Gryffindor, Hufflepuff, Ravenclaw, or Slytherin.
- Interactive Sorting Hat animation
- Random house assignment with house-specific audio announcements
- Beautiful UI with house colors and themes
- Responsive design for desktop and mobile
- React - Frontend framework
- TypeScript - Type-safe JavaScript
- Vite - Build tool and development server
- CSS - Styling with custom animations
- HTML5 Audio API - Audio playback for house announcements
-
Clone the repository:
git clone <repository-url> cd seleccionador
-
Install dependencies:
cd app npm install -
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173
seleccionador/
├── app/ # React application
│ ├── public/
│ │ └── audio/ # House announcement MP3 files
│ ├── src/
│ │ ├── components/ # React components
│ │ ├── hooks/ # Custom React hooks
│ │ └── types.ts # TypeScript type definitions
│ ├── package.json # Dependencies and scripts
│ └── vite.config.ts # Vite configuration
├── sorting-hat-spec.md # Project specifications
└── README.md # This file
- Click the "Start Sorting" button to begin the ceremony
- Watch the Sorting Hat animation
- Listen to your house announcement
- View your assigned house with its colors and description
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is for educational purposes. Harry Potter and related trademarks are property of J.K. Rowling and Warner Bros.