Is there a turn-based strategy game on CS?

0 favourites
  • 2 posts
From the Asset Store
A well commented RPG game template to learn from or use as a base for your own game!
  • Hey everyone. Looking through the various game templates and examples on C3 and didn’t really see a turn-based strategy game like Civ. Figured I would ask the group if they knew of one as I’m curious how to design/program the opponents in the game being developed.

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • For any AI:

    First play as the AI yourself.

    Take note of any decision point where you have to make an input.

    Record the reason you made any input as conditions to trigger an action. Also identify any conditions that would influence to take another action.

    Translate these into events triggered by whatever triggered you into making an input in the first place.

    It is normally extremely difficult to account for all possible conditions to make actions, so you'll often want the AI take advantage of random or pseudorandom decisions to choose from available actions. You can also utilize conditions to narrow down available actions for the AI to take.

    Depending on your game, it can also be difficult to take into account all available actions in any given scenario as well, so you're just going to have to keep adding to and refining your AI as you go.

    There will never be a template for AI as the conditions and actions available for each game will usually be different.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)