<commit_before># Toetactics

This is a little library that can act as a programmatic client for playing TicTacToe on http://games.riesd.com/

To start a game clone this repository locally, bundle install and then run a command like:

```
ruby -Ilib exe/toetactics play game5
```

You will see a lot of output about the messages received and sent by this client so you can decide how to customize it.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/toetactics. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
<commit_msg>update the README with better instructions<commit_after># RubyRoombot

This is a little library that can act as a programmatic client for connecting to and driving [a roombot](http://roombots.riesd.com/).

To start clone this repository locally, bundle install and then run a command like:

```
ruby -Ilib exe/ruby_roombots drive 192.168.0.0.2
```

You will see a lot of output about the messages received and sent by this client so you can decide how to customize it.

## Customizing

Every time you get some sensor updates your `RubyRoombot::Client#on_message` method will be called with the message. Out of the box this method just logs the message, but you can change it to use that information to decide what driving commands you should send back to the roombot.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/toetactics. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

{'fraction_non_alphanumeric': 0.0625, 'fraction_numerical': 0.004921259842519685, 'mean_word_length': 4.524456521739131, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '2667938', 'n_tokens_mistral': 559, 'n_tokens_neox': 527, 'n_words': 285}