Coder Social home page Coder Social logo

khushi-51 / multiplayerhangman Goto Github PK

View Code? Open in Web Editor NEW

This project forked from multiplayerhangman/multiplayerhangman

0.0 0.0 0.0 5.85 MB

A multiplayer hangman game using Python and Javascript :)

Home Page: https://www.youtube.com/watch?v=hay36VJ2_Xw

License: MIT License

JavaScript 99.26% Python 0.66% CSS 0.03% HTML 0.05%

multiplayerhangman's Introduction

Multiplayer Hangman

A multiplayer hangman game using Python and Javascript. For Side Project Club in Winter 2018 at the University of Waterloo.

Video demo: https://www.youtube.com/watch?v=hay36VJ2_Xw

Team members

  • Teresa (@TeresaTXCA)
  • Eric (@Exxliang)
  • Alex (@alextwin)

Running

For setup instructions, go to SETUP

In a new Terminal/Command Prompt,

Step 1: Get to the project folder

On Mac

cd ~/Documents/GitHub/MultiplayerHangman

On Windows

cd Documents\GitHub\MultiplayerHangman

Step 2: Start the server

On Mac

. venv/bin/activate
export FLASK_APP="server.py"
export FLASK_DEBUG=1
flask run

On Windows

venv\Scripts\activate
set FLASK_APP=server.py
set FLASK_DEBUG=1
flask run

Step 3: Open the webpage

In a browser, go to:

http://localhost:5000

⚠️ When you change JS/CSS, make sure to refresh while holding the Shift button! Otherwise the files may be cached by the browser and you will not see the updates.

Project files

These are the files you need to change when you want to make changes.

MultiplayerHangman/      (project folder)
|
├── server.py            (Python server)
├── static/
|   └── js/
|       └── hangman.js   (Javascript loaded on website)
|   └── css/
|       └── hangman.css  (CSS loaded on website)
└── templates/
    └── index.html       (HTML loaded on website)

Game flow

multiplayerhangman's People

Contributors

acromace avatar alextwin avatar teresatxca avatar

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.