Sumit Kumar

TIc Tac Toe

Buttons

About

Features: ✨ 3x3 interactive game board 🎮 Two-player gameplay (X and O take turns) 🏆 Automatic winner detection with visual highlighting of winning line 🤝 Draw detection when board is full 🔄 Reset button to start a new game 📱 Responsive design that works on all screen sizes 🎨 Clean UI with hover effects and smooth transitions 🎯 Color-coded players (X in chart-1 color, O in chart-2 color)

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds TIc Tac Toe to your project and fits it to your theme.

Code

How TIc Tac Toe is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Component } from "@/components/ui/tic-tac-toe";

export default function DemoOne() {
  return <Component />;
}

More in Buttons

View all
  • Button

    Button

    37
  • Button

    Button

    20
  • Texture Button

    Texture Button

    113
  • Icon Label Subtext Button

    Icon Label Subtext Button

    68
  • Astryx Chat Send Button

    Astryx Chat Send Button

    5
  • Button

    Button

    16
  • Minimal Button

    Minimal Button

    15
  • Button

    Button

    146