Skip to content

goshva/snakeword

Repository files navigation

Snakeword game

for dev

for win: 1. download last hugo static site generator for windows 2. unpuck zip (you will see hugo.exe file)

for mac: 1. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2. brew install hugo

for linux: 1. sudo snap install hugo

  1. after do: git clone [email protected]:goshva/snakeword.git

  2. go to folder snakeword and: ../hugo.exe server for mac and linux: hugo server

  3. for build run ../hugo.exe (withouut server) for linux: hugo

for websocket server

in windows working in wsl ( in PowerShell in ADMIN: wsl --install)

python3 -m venv env
source env/bin/activate
pip  install -r requirements.txt
chmod +x ws.py
./ws.py

if adding modules plz run:

  pip3 freeze > requirements.txt

if OSError: [Errno 98] error while attempting to bind on address ('localhost', 8765): address already in use

sudo kill -9 `sudo lsof -t -i:8765`

About

word search game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published