Skip to content

AlejandroVela-dev/robot-city

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robot

Robot City

Website W3C Validation GitHub

A photo tagging app made on React & Firebase

Robot City (Live Preview)

Robot City

Art by Egor Klyuchnyk

TechnologiesFeaturesDesignCreditsContact

Technologies

  • React - A JavaScript library for building user interfaces.
  • Firebase - Backend development platform.
  • bad-words - A JavaScript filter for badwords.
  • Figma - Web-based graphics editing tool and UI design app.

Features

☁️ Server-side checks for Robot locations

All the relevant procedures such as checking robot location/hitbox or player score comparisons are handled server side using Firebase.

Server-side Checks

📈 Global leaderboard

Robot City gets realtime updates from Cloud Firestore. When a player scores high enough to be a new top record, it is asked if its score may be recorded. The data that is provided also functions as a source for comprobations to prevent duplicated names.

Leaderboard

❗ Profanity filter for player names

Considering the fact that a top score can remain at the leaderboard for a long period of time, limiting some word or phrases might help keeping a healthy data. However, this featured is handled by bad-words. Some additions to the blacklist or extra dictionaries may be recommended.

Profanity Filter

📱 Responsive design

Flexbox/grid layout and media-queries provide a satisfactory experience in small devices and landscape orientations. Robots locations are handled with relative coordinates and includes overflow edge-cases. Using getBoundingClientRect() allowed me to capture elements' position relative to the viewport for this cases.

Responsive Design

Design

🎨 UI Prototype designed on Figma

Based on my experience, prototyping allows a more straightforward implementation. Even though final status may defer from the original design in personal projects, it is definitely worth it in terms of time optimization. I don't consider myself a designer, but creating challenging interfaces is great way to hate yourself polish your CSS skills.

Credits

Robot City was designed by illustrator and concept artist Egor Klyuchnyk.

This project is an assignment from TheOdinProject.

Contact

Created by @AlejandroVela - feel free to contact me!