This app is a web-based game called "Knock Knock," which combines elements of a fast-paced tapping game with a scoreboard feature to track player scores. The primary objective of the game is to tap on doors that appear on the screen, with specific requirements for each round that dictate which doors must be tapped. Players must complete a set number of required taps while avoiding incorrect doors to progress through rounds. To use the app, players start by clicking the "START GAME" button, which initializes the game and begins the first round. As players progress, they must tap on the correct doors that appear on the screen, with the game increasing in difficulty as they advance through rounds. Players have three retries per round, allowing them to attempt to complete the round again if they miss required doors. At the end of the game, players can submit their scores by entering their initials, which are then saved to a leaderboard. The app is built using TypeScript and React, leveraging modern web technologies such as Next.js for server-side rendering and API routes. The game state is managed using React hooks, and the scoreboard data is fetched and submitted via API calls to a server that stores the scores in a JSON format. The user interface is styled with CSS, providing a pixelated aesthetic that enhances the gaming experience. Key features of the app include: - A dynamic game environment where doors scroll across the screen, requiring players to tap on specific doors based on the round's rules. - A scoreboard that displays both overall and daily high scores, allowing players to see their performance compared to others. - A score entry modal that prompts players to enter their initials after completing the game, with validation to ensure proper input. - Responsive design that adapts to different screen sizes, ensuring a consistent experience across devices. - Real-time updates to the game state, providing immediate feedback to players as they interact with the game. Overall, "Knock Knock" offers an engaging and interactive experience for players, combining fast-paced gameplay with competitive elements through its scoreboard feature.
No tags
Last Updated June 30, 2025