<commit_before>---
tags:  code ruby video
title: Automating The Set Game
---
<p><img src="/assets/set-300x187.png" alt="Automating The Set Game" title="Automating The Set Game" /> Automating The Set Game</p>
<p>At <a href="/zagreb-stc-meetup-5/">Zagreb STC MeetUp #5</a> last week we were playing <a href="http://www.thebreretons.com/setgame/">The Set Game</a>. We were talking about automating it, and a few of us had different ideas on how to do it. It looked like an interesting little project, so I have spend a few hours on it. The code is at <a href="https://github.com/zeljkofilipin/set">github.com/zeljkofilipin/set</a> and I have recorded a short <a href="https://archive.org/download/filipin.eu/set.mov">screencast</a> of one game.</p>
<p><iframe width="420" height="315" src="http://www.youtube.com/embed/4FMB55f3bYI?rel=0" frameborder="0" allowfullscreen></iframe></p><commit_msg>Updated Automating The Set Game post<commit_after>---
tags:  code featured ruby video
title: Automating The Set Game
---
<iframe width="420" height="315" src="https://www.youtube.com/embed/4FMB55f3bYI" frameborder="0" allowfullscreen></iframe>

At [Zagreb Software Testing Club #5](/zagreb-stc-5) last week we were playing [The Set Game](https://en.wikipedia.org/wiki/Set_(game)). We were talking about automating it, and a few of us had different ideas on how to do it. It looked like an interesting little project, so I have spend a few hours on it. The code is in [set-game-rb](https://github.com/zeljkofilipin/set-game-rb) repository and I have recorded a short screencast of one game.
{'fraction_non_alphanumeric': 0.1347248576850095, 'fraction_numerical': 0.020872865275142316, 'mean_word_length': 4.65, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, 'https://': 5, 'lorem ipsum': 0, 'www.': 3, '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': '3007353', 'n_tokens_mistral': 535, 'n_tokens_neox': 504, 'n_words': 183}