Village Wars
JavaScript, HTML, CSS, Firebase
*Open another tab of Village Wars in Incognito to experience the multiplayer gameplay
Real time strategy games can be incredibly fun to play with friends as they offer a unique combination of strategy and teamwork, and sometimes betrayal. Players must work together to plan out their attacks and defend their village, making for a truly immersive and enjoyable gaming experience.
However, despite the fun and excitement, it can often be difficult to play these games together as a group due to limitations in technology. Some games may require players to be in the same location, while others may be limited by operating systems. Additionally, players may have different schedules, making it hard to coordinate gaming sessions. These limitations were the primary motivation behind Village Wars.
Using Firebase for the back-end needs of Village Wars allowed me to keep the game light and accesible to all users regardless of their operating system. Having an event-based architecture during development was key to ensure that the game was always responsive and lag-free for all players.
Writing time and space efficient algorithms for the game logic was also crucial for this project since there were hundreds of resources, units and actions happening all at once.