Halloween wars is a multiplayer real-time strategy game made in C++ and based on a game called Galcon. After choosing your favorite type of monster the objective of the game is to send swarms of monsters from planet to planet to take over the galaxy.
Each planet has only one owner and the numbers on each planet indicate how many monsters it will take to conquer them. Each planet a player owns produces monsters for that player, with more monsters at a faster rate produced depending on the planet's production rate . Players can select what percentage of the ships to send from a planet with the scroll button on the mouse and click on the destination planet. The aim of the game is to defeat the other player(s) by eliminating all of the enemy planets.
Halloween wars is a server-client game, where the server manages and controls each client's instructions and transmits back to all clients. The challenge developing this game was the multiplayer programming, I created a network library to support it using win32 sockets. For the monster displacement support, flocking steering behaviors were implemented, and Finite State Machine supports the animations. This project gave a solid understanding on how multiplayer game programming works, how it is implemented and the challenges that we might encounter such as lag compensation, replication, client side prediction, cheating and the management of server performance.