Giter VIP home page Giter VIP logo

sousmot's Introduction

SousMot

Wordle-like game in multiplayer developped in django.

Website : SousMot

Requirements

Python 3.8+ (See Django doc for more infos)

All the other requirements are in the requirements.txt file.

Installation

  1. Clone the repository
  2. (Optional) Create a virtual environment
python3 -m venv .venv
  1. (Optional) Activate the virtual env
source .venv/bin/activate 
  1. Install the dependance in the requirements.txt file
pip3 install -r requirements.txt
  1. Copy the .env file ! (It's in the sousmot folder)
cp sousmot/.env.example sousmot/.env
  1. Generate a secret key to put into the .env file (SOUSMOT_SECRET_KEY)
python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'
  1. Run the server
python3 manage.py runserver
  1. ???
  2. Profit !

Continuous Deployment

This project use Capistrano for continuous deployment.

Every commit on master publish it on the production server via GitHub Action

Load words

In file link.txt, you found a link to download words.json. It's a file with all french words.

To load data in your app, use command : python manage.py loaddata words.json

sousmot's People

Contributors

cocofaivre avatar massimoferro avatar narekushia avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sousmot's Issues

Final rush

  • WebSocket connect lobby
  • Lobby Websocket redirect players
  • Cache values
  • Display user score
  • Check if word is good
  • Request new word and display word found
  • End game

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.