Skip to content

Web-based Cards Against Humanity clone with cards made by my friends.

License

Notifications You must be signed in to change notification settings

HadManySons/internetcards

 
 

Repository files navigation

Ian's Internet Cards
An internet-based, Cards Against Humanity-inspired party game.

Running Locally

Clone the repo to your own computer and run the following (or the equivalent if on Windows) to set up Ian's Internet Cards:

# Initialize the venv
python3 -m venv .

# Activate the venv
source ./bin/activate

# Install requirements with pip
pip install -r ./requirements.txt

To run Ian's Internet Cards on your own machine run the following:

# Start the webserver
python3 -m http.server 8000

# Start the WebSockets server (in another terminal)
python3 main.py

# Now you can go to http://127.0.0.1:8000 to try it out.

Code Organization

Files What do they do?
iic_cards.csv, iic_cards.json Provide card data for the game, use python form_csv_sorter.py to generate iic_cards.json.
index.html, script.js, style.css Files loaded by the web that communicate with the Python-based WebSockets server.
main.py The file run to start the WebSockets server.
All other python files Get included by main.py to run the server.

About

Web-based Cards Against Humanity clone with cards made by my friends.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 32.4%
  • Python 29.5%
  • HTML 21.0%
  • CSS 17.1%