An interactive 8-bit arena duel between two fighters with retro HP health bars, turn-based hit mechanics, randomized damage and battle messages, a winner state with rematch, all wrapped in pixel-art alert and badge primitives.
"use client"; import DuelBlock from "@/components/ui/8bit-duel-block"; export default function Default() { return ( <div className="flex w-full min-h-screen items-center justify-center bg-background p-8 retro"> <DuelBlock /> </div> ); }
Part of 8bitcn — browse the full library on 21st.dev.