<commit_before>node-gamesync
=============

Generic lag compensation and client-side prediction engine for multiplayer javascript games.

Quick and dirty demo:
```sh
git clone https://github.com/jaburns/node-gamesync
cd node-gamesync
npm install
cd example
node app 200 &  # Simulate 200 ms latency on messages returning from server.
open localhost:1234
open localhost:1234
```<commit_msg>Shortened demo script<commit_after>node-gamesync
=============

Generic lag compensation and client-side prediction engine for multiplayer javascript games.

Quick and dirty demo:
```sh
git clone https://github.com/jaburns/node-gamesync
cd node-gamesync
npm install
node example/app 200 &  # Simulate 200 ms latency on messages returning from server.
open localhost:1234
!!
```
{'fraction_non_alphanumeric': 0.10443864229765012, 'fraction_numerical': 0.031331592689295036, 'mean_word_length': 5.445378151260504, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3151176', 'n_tokens_mistral': 246, 'n_tokens_neox': 195, 'n_words': 82}