ghostwrittenstudios/ai-against-humanity — explained in plain English
Analysis updated 2026-05-18
Play a solo party card game against AI opponents at home.
Host a LAN game so friends on phones can join from the same network.
Study the code as an example of building a small Electron app around a local LLM.
| ghostwrittenstudios/ai-against-humanity | 0xmukesh/docusaurus-tutorial | 1tsmejp/palworld-docker-wine | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | — | 2021-12-27 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 2/5 | 2/5 | 4/5 |
| Audience | vibe coder | developer | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Requires Ollama running locally with a downloaded model.
AI Against Humanity is a single-player party game modeled on Cards Against Humanity, except every card is written on the spot by a local AI running through Ollama instead of being pulled from a fixed deck. You sit at a virtual table with three computer-controlled players named Rebecca, Timothy, and Steve, and the role of Card Czar rotates each round. Whoever reaches the target score first, seven points by default, wins the game. To play, you need Ollama running on your own machine along with a downloaded language model such as gemma3:4b or a smaller option for weaker computers. If the AI cannot be reached for any reason, the game does not stop working, it simply falls back to a built-in set of cards so you can keep playing. You can run the game in a web browser using a small Python script to serve the files, or use a packaged desktop app for Windows and Mac that bundles everything so you do not need Python or any manual setup. The desktop version, built with Electron, handles communication with Ollama internally and keeps the game interface sandboxed, meaning it cannot access your files or the network beyond what is needed to talk to the AI. The project also supports playing from a phone or tablet on the same home network, which requires changing a couple of Ollama settings so it accepts connections from other devices. The code is organized into a handful of JavaScript files that separate round logic, the AI connection, the visual interface, and the offline fallback deck, which keeps the project easy to follow for someone who wants to see how it works. The developer lists several ideas for the future, including themed card packs, an AI-controlled Card Czar, online multiplayer, and a version that runs on Android phones.
A Cards Against Humanity style party game where every card is written live by a local AI instead of a fixed deck.
Mainly JavaScript. The stack also includes JavaScript, Electron, Ollama.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
double-check against the repo, no cap.