Skip to content

migliorelli/brotmon

Repository files navigation

🎮 Brotmon

Brotmon (B-rotmon) is a turn-based battle game inspired by Pokémon's combat system, featuring Brainrot characters. Built with Next.js and Tailwind CSS.

✨ Features

  • ⚔️ Turn-based battle system
  • 🧠 Brainrot characters from the internet
  • 🎭 Character abilities and stats
  • 🖥️ Brotdex (Brotmon Codex)
  • 🌓 Light/dark theme support

☑️ Todo

  • ⚡ Optimized performance
  • 📱 Mobile-friendly gameplay
  • 💾 Account support

🚀 Tech Stack

💻 Getting Started

🛜 Cloning the repository

  1. Clone the repository:
git clone https://github.com/migliorelli/brotmon.git
  1. Install dependencies:
cd brotmon
yarn
  1. Start the development server:
yarn dev
  1. Open http://localhost:3000 in your browser.

⚡ Running Supabase

  1. Install Docker Desktop from https://www.docker.com/products/docker-desktop/

  2. Install Supabase CLI:

yarn add supabase --dev
  1. Start Supabase services:
npx supabase start
  1. Apply migrations and seed the database:
npx supabase db reset
  1. Generate TypeScript types from your database schema:
yarn gen-types

The Supabase Studio will be available at http://localhost:54323

📦 Project Structure

src/
  ├── app/           # Application routes and layouts
  │   └── (app)/     # App routes
  │   └── api/       # API routes
  ├── components/    # Reusable components
  │   └── ui/        # Base UI components
  ├── hooks/         # Reusable hooks
  ├── lib/           # Utilities and configurations
  ├── services/      # API services
  └── types/         # Reusable types
supabase/
  ├── migrations/    # Database migrations
  ├── schemas/       # Tables schemas
  └── seeds/         # Seed sql files

🛠️ Development

  • Run yarn dev to start the development server
  • Run yarn build to create a production build
  • Run yarn start to start the production server

📄 License

This project is under the MIT License. See the LICENSE file for details.

👥 Contributing

Contributions are always welcome! Please read CONTRIBUTING.md first.


Made with 💜 and Next.js

About

A realtime turn-based battle game inspired by Pokémon's combat system, featuring Brainrot characters.

Topics

Resources

License

Contributing

Stars

Watchers

Forks