The concept of the game is simple yet captivating: A colored block appears on the left side of the screen. Players can change its color to either red or green by pressing the spacebar (on desktops) or tapping the screen (on mobile devices). Randomly colored blocks approach from the right side of the screen. The goal is to match the left-side block’s color with the incoming block’s color.
Challenges Faced Input Timing: Balancing the responsiveness of the controls was critical to ensure smooth gameplay. Randomness: Ensuring the random colors were fair and didn’t make the game too difficult or repetitive. Mobile Compatibility: Handling touch events alongside keyboard inputs required additional testing and tweaks
Deployment was little bit tricky: I told AmazonQ to analyse and tell the cheapest and the best way to host my files, it told me the best aws compatible service which was s3 in my case but also told other free alternatives that i can host which was very nice. It created a python script and then hosted using boto3 api using infrastructure as code principle and build - copy - and gave me link of the website working additionally i used CDN to make it more reliable and to keep latency low for other regions. which was suggest buy it.
Built With
- css
- s3
- vite
Log in or sign up for Devpost to join the conversation.