Skip to content

Added scenario validation#45

Open
ningning621 wants to merge 2 commits into
developfrom
lesley_scenerio
Open

Added scenario validation#45
ningning621 wants to merge 2 commits into
developfrom
lesley_scenerio

Conversation

@ningning621

Copy link
Copy Markdown

No description provided.

import java.util.Collection;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.*;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is downloading all of the packages necessary? It might be better to just download the ones we are using for now.

return false;
}

if (!object.get("position").getAsString().matches("\\[\\d,\\d]")) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just curious, whats the purpose of this?

return false;
}
}
if (numBot != 1) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this to make sure that we only have one bot at a time?

// xboxControllerDriver == null
// might get this request from stopXbox HTTP post
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Documentation pls!
/**
* [Description of the function]
* Input:
* [variable name] - [what it is]
* Output:
* [what does it return? ]
*/

^^ follow a format similar to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants