Skip to content

cha0s/terrible

Repository files navigation

Welcome and Do Terrible!

Do Terrible is a Commentary Game. You might have heard of another similar game called Cards Against Humanity. I want to make it absolutely clear that I have nothing to do with them.

An instance of the game is hosted at https://doterrible.com. Have fun!

JS not required (and other marvels)

The game is perfectly playable including real-time game state updates and chat (with autoscroll and user name/presence updates) even when JavaScript is disabled.

I found the (Ab)use the Platform project very inspirational and I've always fancied the idea of doing things without requiring script. This project is a successful experiment in delivering a polished real-time gaming experience without requiring a client to execute any script whatsoever.

A list of interesting technologies and techniques used in this project:

Screenshots

A screenshot of the intro page A screenshot of the game creation page A screenshot of the game join page A screenshot of the game being played

Running locally

Install

Install the dependencies with npm:

npm install

Get some packs

You must install some packs before you can play. Check out https://github.com/crhallberg/json-against-humanity and copy e.g. cah-all-full.json to the data/packs directory.

NOTE: The grammatical quality of many of those packs (even/especially the Official™ ones) leaves a great deal to be desired.

Play

Finally, you may:

npm run dev

to run a dev server.

Production build

npm run build

After that, you're on your own, hero. 🙂

Hey, you screwed up [whatever]

Probably! Feel free to create issues and tell me what I screwed up. :) The no-js acrobatics are probably terrible for accessibility. I'd love to know how to improve!

About

Terrible is a real-time commentary game like Cards Against Humanity built on web standards and is capable of working entirely without client JavaScript.

Topics

Resources

Stars

Watchers

Forks