Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.08 KB

File metadata and controls

56 lines (45 loc) · 1.08 KB

Hack-words

This is a fun little game I thought of while playing around with some cool math called compressed sensing. Check it out at https://mmulet.github.io/hack-words/

Structure of the hack-words repository

hack-words

  • client is the source for the website
  • dev_server is the source for the development server of the website
  • create_model. Source for the python model creation script

Build

create_model

  1. Make a venv
python3 -m venv venv
# activate the venv ( depends on your shell and OS)
# see https://docs.python.org/3/library/venv.html
# bash
source venv/bin/activate
  1. Install dependencies
pip install torch ptwt pillow numpy
  1. generate the models and data From the project root
python ./create_model/generate_all_data.py

Website

Build the website

cd client
npm install .
cd ../dev_server
npm install .
npm run build

Dev the website

cd client
npm install .
cd ../dev_server
npm install .
npm run build