<commit_before>
# Soccer

The 'soccer' program is responsible for receiving data from the vision and referee computers and using the information to strategically command the robots on the field (or in the simulator).

![Screenshot of the 'soccer' program](soccer.png "Soccer")


## Running with the simulator

Start both soccer and the simulator from the terminal:

~~~~~~~~~~~~~~~{.sh}
$ cd run
$ ./simulator &
$ ./soccer -sim
~~~~~~~~~~~~~~~<commit_msg>added a note on drag-and-drop to soccer/doc/Soccer.md<commit_after>
# Soccer

The 'soccer' program is responsible for receiving data from the vision and referee computers and using the information to strategically command the robots on the field (or in the simulator).

![Screenshot of the 'soccer' program](soccer.png "Soccer")


## Running with the simulator

Start both soccer and the simulator from the terminal:

~~~~~~~~~~~~~~~{.sh}
$ cd run
$ ./simulator &
$ ./soccer -sim
~~~~~~~~~~~~~~~


In the simulator, you can move the robots and ball around by clicking and dragging.  The ball can also be given a velocity by right-clicking and dragging on it.
{'fraction_non_alphanumeric': 0.12309074573225516, 'fraction_numerical': 0.0, 'mean_word_length': 4.54228855721393, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '73969', 'n_tokens_mistral': 324, 'n_tokens_neox': 293, 'n_words': 149}