<commit_before># How to Play Games

This is a more in-depth tutorial on getting Cadre up and running with Client VS Server games. It assumes you are know how to type things into a terminal, and how to install things on your computer.

First and foremost you'll need to clone Cadre and it's submodoules. the easiest way is with the recurisve flag with git:

```
git clone --recursive <EMAIL>.com:JacobFischer/Cadre.git
```

Now we'll get a server up and running for clients to play games on. The server, called [Cerveau](https://github.com/JacobFischer/Cerveau), runs on [Node.js](https://nodejs.org/en/). Make sure that is installed, then open a terminal in `Cadre/Cerveau/`.

So from inside the Cerveau director just run:

```
npm install<commit_msg>Update howToPlay.md to remove references to old project paths<commit_after># How to Play Games

This is a more in-depth tutorial on getting Cadre up and running with Client VS Server games. It assumes you are know how to type things into a terminal, and how to install things on your computer.

First and foremost you'll need to clone Cadre and it's submodoules. the easiest way is with the recurisve flag with git:

```
git clone <EMAIL>:siggame/Cadre.git
cd Cadre
./init.sh
```

This clones the framework, and then checks out all the submodules to the latest version on their `master` branches.

Now we'll get a server up and running for clients to play games on. The server, called [Cerveau](https://github.com/siggame/Cerveau), runs on [Node.js](https://nodejs.org/en/). Make sure that is installed, then open a terminal in `Cadre/Cerveau/`.

So from inside the Cerveau director just run:

```
npm install
{'fraction_non_alphanumeric': 0.07771084337349397, 'fraction_numerical': 0.0, 'mean_word_length': 4.239747634069401, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '4386359', 'n_tokens_mistral': 495, 'n_tokens_neox': 472, 'n_words': 246}