Welcome to AI Cards Against Humanity, an AI-driven party game that combines the classic Cards Against Humanity gameplay with the power of artificial intelligence!
- Create and join game lobbies
- AI-generated cards for endless variety
- Customizable game settings
- Support for bot players
- Multiple AI providers and models
- Clone the repository
- Install dependencies:
npm install
- Create/Update .env to have
FAUNA_SECRET
and if using groq update that key as well. - Start the development server:
netlify dev
- Open your browser and navigate to
http://localhost:3000
- On the home page, enter your name and either create a new game or join an existing one using a game code.
- In the lobby, the host can configure game settings and add bot players.
- Once the game starts, take turns being the judge and selecting the funniest card combinations.
- The first player to reach the winner count wins the game!
- Each round, a black card with a prompt is displayed.
- Players submit their funniest white card to complete the prompt.
- The judge selects the best submission, awarding a point to the winner.
- The first player to reach the winner count wins the game.
- New cards are generated every game.
- If you add a bot player, the name will be used to pick cards!
- Relax, have fun, and let your creativity shine!
- Built with React and TypeScript
- Uses React Router for navigation
- Implements a GameContext for state management
- Utilizes Netlify Functions for server-side operations
The host can configure the following game settings:
- Theme (Random, Technology, Movies, Sports, Science)
- Max Rounds
- Winner Count
- AI Provider (Groq, OpenAI, Anthropic)
- AI Model (varies by provider)
- API Key (for non-Groq providers)
We welcome contributions to improve AI Cards Against Humanity! Please feel free to submit issues or pull requests.
- Follow me on X.com for other projects!
- Connect on LinkedIn for hiring.
- Check out the other dumb projects on GitHub
- Don't sue us and check out the Card Game OGs
Enjoy playing AI Cards Against Humanity! Remember, it's all in good fun!