<commit_before># Communication Protocol

The encapsulation of the communication has not been decided yet but will be of the form:
```
{
	id: <client-id / server>,
	message:
	{
			type : <type>,
			params : <params>
	}

}
```

## Client to Server communication

The following types of messages will be available:

|Description	|Type| Parameters |
|----------		|------|--------|
|Name announcement	| `NAME`| Name as a string|
|Vote for movement | `MOVE` | Move object `{StartCell, EndCell}`|
|Chat message | `CHAT`| Message as a string|

## Server to Client communication
|Description	|Type|Parameters|Scope|<commit_msg>Now that it's official<commit_after># Communication Protocol

The encapsulation of the communication looks like this:
```
{
	id: <client-id / server>,
	message:
	{
			type : <type>,
			params : <params>
	}

}
```

## Client to Server communication

The following types of messages are available:

|Description	|Type| Parameters |
|----------		|------|--------|
|Name announcement	| `NAME`| Name as a string|
|Vote for movement | `MOVE` | Move object `{StartCell, EndCell}`|
|Chat message | `CHAT`| Message as a string|

## Server to Client communication
|Description	|Type|Parameters|Scope|
{'fraction_non_alphanumeric': 0.1564569536423841, 'fraction_numerical': 0.0, 'mean_word_length': 3.7411764705882353, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2231586', 'n_tokens_mistral': 379, 'n_tokens_neox': 362, 'n_words': 133}