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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/akhmittra/rpsls-gameRock 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:
- Decorated Terminal Mode - Beautiful ASCII art UI with colors and animations
- Interactive GUI Mode - HTML/JavaScript artifact with click-based gameplay
- 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-akhmittra-rpsls-game": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
Thesaurus
Look up synonyms, antonyms, and related words with history and export. Use when finding alternatives, checking usage, running drills, analyzing frequency.
harmonia
Check PyTorch, Transformers, and CUDA compatibility. Detect GPU, driver mismatches, and version conflicts in ML environments. Use when the user sets up ML/AI tools, installs torch or transformers, hits dependency errors, or asks about compatible versions.
auto-doc-ai
基于 AST 和 LLM 自动生成 Python 代码文档(Google Style docstring)。 自动分析代码结构,生成符合 Google Style 的 docstring。
xcloud-docker-deploy
Deploy any project to xCloud hosting — auto-detects stack (WordPress, Laravel, PHP, Node.js, Next.js, NestJS, Python, Go, Rust), routes to native or Docker deployment, generates production-ready Dockerfile, docker-compose.yml, GitHub Actions CI/CD, and .env.example. Works from zero Docker setup.
aethercore
AetherCore v3.3.4 - Security-focused final release. High-performance JSON optimization with universal smart indexing for all file types. All security review issues fixed, ready for production.