Skip to content

Repository files navigation

CardGame

A browser-based card game (frontend + simple backend).

Files included:

  • card-game.html: Main page (single-file static version).
  • card-game-modular.html: Modular page (can be used as SPA entry).
  • card-game.js: Frontend interaction script.
  • card-game.css: Styles.
  • server.py: Optional backend for local runs (Flask/simple HTTP).
  • Dockerfile: Optional container build.

Quick start (static):

  1. Open card-game.html in your browser.
    • Note: AI summary requires the backend due to HTTPS/API restrictions.

Quick start (Python server):

cd CardGame
python3 server.py
# Then open http://localhost:8080 (or the port in server.py)

Docker (optional):

cd CardGame
docker build -t cardgame .
docker run -p 8080:8080 cardgame

To Mention

you have to replace the with your real modelscope-api-key in server.py. If you don`t have one, contact the author for a free api-key

License: MIT

About

this is a card game intergrated with AI for deeper communication between people

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages