Skip to content

magnusfroste/roleplaygame

Repository files navigation

Roleplaygame 🎭

An AI-powered roleplay game built with Google Gemini AI. Create and explore interactive stories with AI-driven characters and scenarios.

Features

  • AI-Powered Stories: Dynamic narrative generation
  • Character Creation: Build unique characters with AI assistance
  • Interactive Gameplay: Engage in roleplay scenarios
  • Modern Interface: Clean and responsive UI
  • TypeScript: Full type safety

Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn
  • Google Gemini API key

Installation

npm install

Run Locally

# Set your Gemini API key in .env.local
GEMINI_API_KEY=your_gemini_api_key

npm run dev

Self-Hosted Setup

This application can be self-hosted easily:

  1. Get Your API Key

  2. Set Environment Variables

    GEMINI_API_KEY=your_gemini_api_key
    
  3. Run the Application

    npm run dev
    

Build for Production

npm run build

Tech Stack

  • React 18 - UI framework
  • TypeScript - Type safety
  • Vite - Build tool
  • Google Gemini AI - AI capabilities
  • shadcn/ui - Components
  • Tailwind CSS - Styling

License

MIT

About

roleplaygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors