Overview
Simple RTS Game is a real time strategy game that I built using the Unity Game Engine. Currently the game is still in development however it has reached a minimum functional level.
The player can build structures and units and can collect resources. The AI unit controller and game controller have both been implemented and are functional. The biggest challenge now is that the AI is too good. It is so fast and efficient it can beat any human player. Simple RTS has a long way to go before it is fully functional however you can download the development demo here.
Designing the AI
the artificial intelligence or AI for simple RTS game was particularly challenging. The AI I created for Simple RTS is priority and goal based. It has a set of goals that it wants to achieve in different aspects of the game. For example it wants a certain number of defensive units and structures, it wants a certain number of offensive units and it wants a certain number of resource collectors and refineries. The AI is multi-tasking and has several processes each one is committed to achieving certain goals and each one is responsible for certain aspects of the game. The idea is to keep the AI modular so that each process or module can be debugged and modified independently of the other modules.
In addition to a game controller AI, each Unit has its own intelligence and behavior and can be directed by the AI game controller or the human player. The unit AI handles things like path-finding, moving to locations, attacking and defending itself if attacked. Each unit can be placed into different modes for different behavior patterns.
The player can build structures and units and can collect resources. The AI unit controller and game controller have both been implemented and are functional. The biggest challenge now is that the AI is too good. It is so fast and efficient it can beat any human player. Simple RTS has a long way to go before it is fully functional however you can download the development demo here.
Designing the AI
the artificial intelligence or AI for simple RTS game was particularly challenging. The AI I created for Simple RTS is priority and goal based. It has a set of goals that it wants to achieve in different aspects of the game. For example it wants a certain number of defensive units and structures, it wants a certain number of offensive units and it wants a certain number of resource collectors and refineries. The AI is multi-tasking and has several processes each one is committed to achieving certain goals and each one is responsible for certain aspects of the game. The idea is to keep the AI modular so that each process or module can be debugged and modified independently of the other modules.
In addition to a game controller AI, each Unit has its own intelligence and behavior and can be directed by the AI game controller or the human player. The unit AI handles things like path-finding, moving to locations, attacking and defending itself if attacked. Each unit can be placed into different modes for different behavior patterns.
Development Demo Video
Source Code
The source code and project for Simple RTS Game is being developed with Unity. The code can be viewed here. The development release is in the release section of the repository if you want to play it.