<commit_before># Co::Engine

This is a gen to implement the game engine for a 'Code Breaker' style game

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'co-engine'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install co-engine

## Usage

The gem is designed to be able to load or export the games state at any point (currently only via JSON).
 
This is done using:

    CoEngine.load(<json-data>) => <engine>
    
and:
    
    CoEngine.export => <json>

### States

The game is have 4 main states:

* WaitingForPlayers
* InitialTileSelection<commit_msg>typo in readme<commit_after># Co::Engine

This is a gen to implement the game engine for a 'Code Breaker' style game

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'co-engine'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install co-engine

## Usage

The gem is designed to be able to load or export the games state at any point (currently only via JSON).
 
This is done using:

    CoEngine.load(<json-data>) => <engine>
    
and:
    
    <engine>.export => <json>

### States

The game is have 4 main states:

* WaitingForPlayers
* InitialTileSelection
{'fraction_non_alphanumeric': 0.08964955175224124, 'fraction_numerical': 0.0016299918500407497, 'mean_word_length': 3.401433691756272, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 14, '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': '581045', 'n_tokens_mistral': 395, 'n_tokens_neox': 368, 'n_words': 163}