18
lxmcf
4y

*clears throat*

Building turn based enemy AI for a strategy game can go fuck itself...

I'm normally able to work out other forms of AI but as soon as I try to work out how to build AI for TBS, I just seem to have my brain exit my body....

I've been at this for fucking hours and have no idea what the fuck I'm doing .-.

Comments
  • 15
    Just need to wait for your turn to use the brain.
  • 5
    @Jilano ... Mate... .-.
  • 2
    Make yourself a draw.io chart, it helps big time.

    Also don't try to write something like game AI elegant. Let it be simple if/else functional bullshit.
  • 2
    Recursive alpha-beta-minimax is a good start.
  • 0
    I'm not familiar with programming AI for games, but would it be possible to set up some setting where it learns by playing against you?
  • 0
    Use deepMind stack.
    Every video game is a state machine. (Even FPS games).
    If it can play SC2, it can for sur play turn based game
  • 0
    It is never the problem in picking the right AI but in the data parsing.

    Try analysing how you would win the game, all popular tactics and edge cases.
Add Comment