<commit_before>---
layout: post
title: "Lambda Duct -- Offline mode simulator"
date: 2017-08-05 01:55:00
tags: [contest]
---

We have released the initial version of [Lambda Duct](https://github.com/icfpcontest2017/lambda-duct) -- an offline
mode simulator for Lambda Punter. Lambda Duct acts as a bridge between
a client in offline mode and an online game server.

Please refer to
the
[Lambda Duct repository](https://github.com/icfpcontest2017/lambda-duct) on
GitHub for instructions on how to install and use it.

TL;DR
-----

Install Lambda Duct via [OPAM](https://opam.ocaml.org)

```
$ opam pin add lambda-duct https://github.com/icfpcontest2017/lambda-duct.git
```

Then supply the name of your client program (configured to run in offline mode) and the port of the game you want to connect to

```
$ lamduct --game-port <port> ./<name of client program>
```

Note the `./` in front of the client program name.<commit_msg>Lambda Duct announcement amended<commit_after>---
layout: post
title: "Lambda Duct -- Offline mode simulator"
date: 2017-08-05 01:55:00
tags: [contest]
---

We have released the initial version of [Lambda Duct](https://github.com/icfpcontest2017/lambda-duct) -- an offline
mode simulator for Lambda Punter. Lambda Duct acts as a bridge between
a client in offline mode and an online game server.

Please refer to
the
[Lambda Duct repository](https://github.com/icfpcontest2017/lambda-duct) on
GitHub for instructions on how to install and use it.

TL;DR
-----

Install Lambda Duct via [OPAM](https://opam.ocaml.org)

```
$ opam pin add lambda-duct https://github.com/icfpcontest2017/lambda-duct.git
```

Then supply the name of your client program (configured to run in offline mode) and the port of the game you want to connect to

```
$ lamduct --game-port <port> ./<name of client program>
```

Note the `./` in front of the client program name.

Happy punting!
{'fraction_non_alphanumeric': 0.1104067617538299, 'fraction_numerical': 0.02746962493396725, 'mean_word_length': 3.9711286089238844, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 8, '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': '1054759', 'n_tokens_mistral': 638, 'n_tokens_neox': 575, 'n_words': 238}