I sense a rat's nest of if-else statements once I go about implementing enemy AI behavior in the game.


@xzenia well.. Been playing screeps and it's pretty much it with memories (tried that.. Didn't turn out well.. Try the next best calculated course...and it goes like that for a list of pre-programed reactions for particular events ). Screeps is like cocain for programer.. If you don't play right now.. Stay away from it ^^'

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko