This is a submission for the Alibaba Cloud Challenge: Build a Web Game.*
Here’s a complete, polished set of answers you can use for your Alibaba Cloud Challenge submission for RoboTap:
🚀 What I Built
RoboTap is a fast-paced reflex game where players must quickly click on randomly appearing robots before they disappear. The game blends fun and challenge with a clean design, tracking scores, levels, and player streaks.
The theme is robot-centric — players interact with bots directly, and the entire game revolves around how fast you can “tap the bot.” It’s built for browsers and delivers an engaging experience with responsive UI and interactive feedback, all packed into a lightweight React app.
Demo
Play here: https://chintanonweb.github.io/RoboTap/
RoboTap is a fast-paced browser game where your goal is simple: click the robots before they vanish! Built with React and TypeScript, it’s a sleek and addictive experience that tests your reflexes and focus.
🎮 Game Features
🕹️ Game Mechanics
- Robots appear at random positions on the screen.
- You have 2 seconds to click each robot before it disappears.
- A score counter keeps track of your progress.
-
High scores are saved using
localStorage
so you can keep chasing your personal best. - Lives system – Miss three robots and it’s game over!
🧑🎨 UI & UX
- Clean, modern design with a dark theme.
- Smooth animations and satisfying transitions.
- Responsive HUD showing:
- 🧡 Lives remaining
- 🧮 Current score
- 🏆 High score
- Intuitive start screen and game over screen.
- Visual feedback when clicking or missing a robot.
⚙️ Technical Highlights
- Built using React + TypeScript
- Styled with Tailwind CSS…
☁️ Alibaba Cloud Services Implementation
Note: Due to regional restrictions for ECS in India, I opted to use Alibaba Cloud OSS to deploy the game. This allowed full global access and aligns with the challenge’s alternative access suggestions.
✅ Object Storage Service (OSS)
- Why I chose it: OSS is ideal for hosting static sites, especially in regions where ECS isn’t accessible (like India). It’s fast, global, and straightforward to use.
-
How I used it:
- Uploaded my built React game (
npm run build
) directly to an OSS bucket. - Enabled static website hosting on the bucket.
- Set
index.html
as the entry point. - Used an OSS-accelerate endpoint for faster access worldwide.
- Uploaded my built React game (
-
Benefits:
- Extremely fast and low-latency static asset delivery
- No server management or backend setup required
- Easy integration via Alibaba Cloud Console
-
Challenges:
- Regional restriction for some core services (like ECS), but OSS worked perfectly as a workaround
- Slight learning curve with bucket policies and enabling public access safely
✨ Game Development Highlights
- 🔥 Streak and Level System: Players level up every 5 points, and the robot appearance time shortens, increasing difficulty — great for replayability.
- 🎵 Sound & Feedback: Integrated
useSound
for click and game over sounds; also added glowing UI effects for more immersive gameplay. - 🧠 Responsive & Adaptive Design: Built with Tailwind CSS to ensure full responsiveness across devices and screen sizes.
- ⚛️ React Hooks Mastery: Managed timing, state updates, animations, and visibility through a clean and optimized hook structure.
- 🪄 Smooth Animations: Used Framer Motion to enhance user experience — from start screen transitions to bot scale-in effects.