Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TimeBombAgent helpful pass the out-game tutorial using MonkeyAgent #37

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

nowsprinting
Copy link
Contributor

@nowsprinting nowsprinting commented Mar 17, 2024

Changes

  • Add TimeBombAgent

TimeBombAgent

An Agent that will fail if a defuse message is not received before the inner agent exits.

For example, pass the out-game tutorial (Things that can be completed with tap operations on uGUI, such as smartphone games).

  1. Set UGUIMonkeyAgent as the Agent. It should not be able to operate except for the advancing button. Set the Lifespan Sec with a little margin.
  2. Set the log message to be output when the tutorial is completed as the Defuse Message.

This Agent instance (.asset file) can contain the following.

Agent
Working Agent. If this Agent exits first, the TimeBombAgent will fail.
Defuse Message
Defuse the time bomb when this message comes to the log first. Can specify regex.

Contribution License Agreement

@nowsprinting nowsprinting requested a review from a team as a code owner March 17, 2024 17:55
Copy link
Member

@Kuniwak Kuniwak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nowsprinting Sorry for my late reply. LGTM!

@Kuniwak Kuniwak merged commit 7fbcdeb into DeNA:master Apr 2, 2024
1 check passed
@nowsprinting nowsprinting deleted the feature/time_bomb_agent branch April 2, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants