BareGit
Commits
Clone:
Name Latest commit Last update
📂 assets
📄 README.md Add a link to the hosted game in the readme 4 weeks ago
📄 components.js Refactor codebase to separate logic, components, and orchestration. 4 weeks ago
📄 design.md Initial commit: Web-based Scoundrel game implementation. 4 weeks ago
📄 game.js Refactor codebase to separate logic, components, and orchestration. 4 weeks ago
📄 index.html Initial commit: Web-based Scoundrel game implementation. 4 weeks ago
📄 main.js Add a 'New Game' button with confirmation dialog. 4 weeks ago
📄 prompts.md Update prompts 4 weeks ago
📄 style.css Add theme support and image-based card faces. 4 weeks ago

Scoundrel Web

A web-based implementation of Scoundrel, a solo dungeon crawler card game played with a standard poker deck. This project is a single-page application (SPA) built with modern, lightweight web technologies.

Game Rules

The goal is to traverse the entire dungeon (the deck) without your HP dropping to zero.

How to Play

Online

https://mws.rocks/scoundrel/

Local Development

This is a static site with no build steps required.

  1. Clone the repository: bash git clone https://git.xeno.darksair.org/scoundrel-web.git cd scoundrel-web
  2. Serve the files: You can use any static file server. For example:
    • Python: python3 -m http.server
    • Node: npx serve
  3. Open in Browser: Navigate to http://localhost:8000 (or whatever port your server uses).

Tech Stack

Themes and Customization

The game supports custom card themes!

Adding a New Theme:

  1. Add your images to assets/themes/YourThemeName/.
  2. Ensure filenames are lower-case (e.g., 10h.png, kc.jpg).
  3. Register the theme in game.js: javascript 'YourThemeName': { label: 'My Theme', ext: 'png', path: 'assets/themes/YourThemeName' }

Features

License

WTFPL