ishefi / semantle-he

A Hebrew version of Semantle.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hebrew Semantle

A Hebrew version of Semantle.

Installation

Just like any Python project:

python -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

unless you want to do dev stuff and then you can replace the last line with:

pip install -r requirements-dev.txt

Running the game

You can run the game with:

PORT=<PORT> python app.py

Configurations can be set in config.py (not part of the repo as it contains secrets). you should be using a mongo server for storing the vectors. Word2Vec model was trained as described here.

Scripts

There are some useful scripts in the scripts/ folder:

  • populate.py: Given a Word2Vec model, will populate mongo collection used by the game.
  • set_secret.py: Well...
  • semantle.py: A CLI version of the game.

Tests

Only for some of the logic right now, because I was lazy. Sorry.

About

A Hebrew version of Semantle.

License:Other


Languages

Language:Python 39.1%Language:HTML 30.7%Language:JavaScript 22.6%Language:CSS 7.1%Language:Dockerfile 0.5%Language:Procfile 0.1%