ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Rock Paper Scissors Lizard Spock

Play the classic Rock Paper Scissors Lizard Spock game (popularized by The Big Bang Theory) with an AI opponent. Includes both decorated terminal and interactive GUI modes with score tracking, statistics, and animations.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/akhmittra/rpsls-game
Or

Rock Paper Scissors Lizard Spock Game

An enhanced implementation of Rock Paper Scissors Lizard Spock with beautiful UI, statistics tracking, and multiple play modes.

Game Rules

Classic RPSLS Rules (from The Big Bang Theory):

  • 🪨 Rock crushes Scissors and crushes Lizard
  • 📄 Paper covers Rock and disproves Spock
  • ✂️ Scissors cuts Paper and decapitates Lizard
  • 🦎 Lizard eats Paper and poisons Spock
  • 🖖 Spock smashes Scissors and vaporizes Rock

Each choice defeats exactly 2 others and loses to exactly 2 others.

Skill Capabilities

This skill provides three ways to play:

  1. Decorated Terminal Mode - Beautiful ASCII art UI with colors and animations
  2. Interactive GUI Mode - HTML/JavaScript artifact with click-based gameplay
  3. Quick Play Mode - Single command for fast games

Usage

Start a Game

Terminal Mode (Recommended):

"Let's play Rock Paper Scissors Lizard Spock"
"Play RPSLS in terminal mode"
"Start a decorated RPSLS game"

GUI Mode:

"Show me the RPSLS GUI"
"Play RPSLS with a visual interface"
"Create an interactive RPSLS game"

Quick Commands

"Play rock" / "Choose rock" → Makes a move
"RPSLS stats" → View game statistics
"RPSLS rules" → Display game rules
"Best of 3" / "Best of 5" → Start tournament mode

Implementation

When the user requests to play Rock Paper Scissors Lizard Spock, follow these steps:

Step 1: Determine Mode

Ask which mode they prefer (or default to terminal if not specified):

  • Terminal mode (decorated, colorful CLI)
  • GUI mode (interactive HTML artifact)
  • Quick play (single round)

Step 2: Create the Game

For Terminal Mode:

Create a Python script using rich library for beautiful terminal UI:

#!/usr/bin/env python3
"""
Rock Paper Scissors Lizard Spock - Decorated Terminal Edition
Beautiful ASCII art game with colors, animations, and statistics
"""

from rich.console import Console
from rich.table import Table
from rich.panel import Panel
from rich.text import Text
from rich.prompt import Prompt
from rich import box
import random
import json
import os
from datetime import datetime

console = Console()

# Game rules: what each choice defeats
DEFEATS = {
    "rock": {"scissors": "crushes", "lizard": "crushes"},
    "paper": {"rock": "covers", "spock": "disproves"},
    "scissors": {"paper": "cuts", "lizard": "decapitates"},
    "lizard": {"paper": "eats", "spock": "poisons"},
    "spock": {"scissors": "smashes", "rock": "vaporizes"}
}

# Emojis for choices
EMOJIS = {
    "rock": "🪨",
    "paper": "📄",
    "scissors": "✂️",
    "lizard": "🦎",
    "spock": "🖖"
}

# Colors for choices
COLORS = {
    "rock": "red",
    "paper": "blue",
    "scissors": "yellow",
    "lizard": "green",
    "spock": "cyan"
}

Metadata

Author@akhmittra
Stars3917
Views0
Updated2026-04-08
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-akhmittra-rpsls-game": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#game#entertainment#interactive#python#gui#terminal
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.