Skip to content
 
 

Repository files navigation

JavaRTS

Hobby project, trying to create a simple RTS game with somewhat challenging AI using Pure Java.

Some features about the AI:

  1. AI does not cheat, its vision are limited by fog of war, and it doesn't have any advantage in resource gathering.
  2. AI will send scout unit to find player's bases and player's army composition, it will use this info to adjust its own army composition, and make decoisions on when and where to attack.
  3. AI will expand to a different mining base when current mine is running low.
  4. During Battle, AI will pick off weakened player units first.
  5. During travelling AI units will wait for each other to avoid being scattered all over the map.
  6. AI will retreat when it lost a significant number of units.
  7. Send units to partol the outer parameter of the base, so AI can deal with player's sneak attack eariler.
  8. When ecnounter a concentrated player static defences, use long range units to deal with the static defence while keep other units in safe distance.

Feel free to grab anything you want here, including the source code and image files!

Demo avaliable on youtube: https://www.youtube.com/watch?v=hE69S2aLrjk&t=201s

Some screenshots:

alt text alt text alt text

About

Hobby project, trying to create a simple RTS game with somewhat challenging AI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages