question

Tamer Nasser avatar image
Tamer Nasser asked

The best way to make bots that take actions randomaly (Fake Account)

Hello,

I was wondering what is the best way to handle bots in a multiplayer-like game.


What we have now?
- A player can attack another player
- The opponent receives a push notification that someone attacked him

What we want to achieve is to be able to have fake players(bots) that attack players randomly.

So what is the best way to handle it?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

I assume it is a game like Clash of Clans. If the game supports replay, you will need plenty of jobs on building AI bots and I believe this is a question we cannot answer easily, you may find more help on other corresponding community. Meanwhile, if it is only data changes, for example, losing resources, you can manipulate the process on Cloud Script when the player logins, otherwise, it can be an event-triggered Rules, where the longer offline time will have higher possibility of being attacked.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.