Skip to content

Shakadak/leek-wars-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leek Wars client

The Leek Wars website frontend, in HTML, CSS, JavaScript.

Related projects: LeekScript and Leek Wars fight generator.

Banner

Deployment

Prerequisites: Python 3

The project is very easy to install and deploy in 10s:

git clone https://github.com/leek-wars/leek-wars-client.git
cd leek-wars-client
make # or python3 leekwars.py

Then go to localhost:8012 in your browser (you can change the port in the python script).

Be careful, this project is only the front end of Leek Wars, so it's connected to the production server. When you log into this local version, you will use your real account!

Structure

  • http/ : All served files
    • image/ : All images, icons, textures
    • lang/ : Translations files : en/ and fr/
    • script/ : JavaScript files
      • game/ : JS for the fight rendering
    • sound/ : Sounds files
    • style/ : CSS files
    • third_party/ : Some third party libraries (JS and CSS)
    • view/ : HTML template files
  • Dockerfile : A Dockerfile if you need to build a Docker image
  • Makefile : Makefile to perform some quick actions like make serve
  • leekwars.py : Python script to serve the site locally

Hacking

I gladly accept pull requests to Leek Wars. Before starting work on a feature, see the contribution guidelines.

Libraries used

License

Distributed under the GPL3 license. Copyright (c) 2016, Pierre Lauprêtre

Packages

No packages published

Languages

  • JavaScript 64.1%
  • HTML 21.2%
  • CSS 14.6%
  • Other 0.1%