NNG C++ Grand Prix 2017

We signed up for the NNG programming competition this year too. As usual the first round is held online where we finished as the runner-up. In the finals we had to create a bot for the specified game and fight with the other teams.

The game

  • Round based game
  • Square shaped, tile based map
  • Simple MOBA, similar to DOTA
  • Two bases in the opposite corners of the map
    • This is the spawn of the heroes and minions
  • Towers
    • There are three tower on each of the three routes to the enemy base. The towers shoot the minions first then the heroes.
    • We can gain XP by destroying the towers.
  • Minions
    • Periodically 5 minion leave the base in each direction.
    • They have a fixed route along the towers.
    • They shoot the enemy.
    • We can gain XP by killing them.
  • Heroes
    • Our software controles them.
    • They can move or attack.
  • XP
    • The HP and the attack is proportional with the XP.

The strategy

  • Choosing direction
    • If there’s an enemy hero near to our base we attack him.
    • Otherwise we choose the direction with the minimal HP of the enemy heroes on the route.
  • We attacked together with the minions using them as a shield.
  • If we could destroy a tower without the minions we went for it.

We managed to win the competition so we were very happy. You can replay the final rounds if you download this package.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top