Skip to content

increasinglyHuman/PhuzzyThinkTank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

59 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿป Phuzzy's Think Tank

Where Bears Balance Brain & Heart
A critical thinking game that helps you navigate the delicate balance between logic and emotion

Live Demo License: MIT

Phuzzy Think Tank Game Screenshot


๐Ÿง ๐Ÿ’– What is Phuzzy's Think Tank?

In our age of information overload, the ability to think critically has never been more important. Phuzzy's Think Tank is an interactive web game where adorable bears help you develop the superpower of balanced thinking.

The Challenge

Every day, we're bombarded with arguments designed to persuade us. Some rely on solid logic and evidence. Others manipulate our emotions. The best arguments thoughtfully combine both. But how do you tell the difference?

The Solution

Meet Logic Bear ๐Ÿง  and Emotion Bear ๐Ÿ’– - your thinking companions who analyze arguments from both perspectives. Through 10 carefully crafted scenarios, you'll learn to:

  • ๐Ÿ” Spot weak evidence and logical fallacies
  • ๐ŸŽญ Recognize emotional manipulation tactics
  • โš–๏ธ Appreciate well-balanced arguments
  • ๐ŸŽฏ Detect hidden agendas and bias

โœจ Features

๐ŸŽฎ Interactive Gameplay

  • 65+ Real-World Scenarios: From supplement claims to school safety emails
  • 0-3 Point Scoring: Nuanced feedback beyond simple right/wrong
  • Honey Pot Hints: Get stuck? Use your honey pots for strategic clues
  • Progress Tracking: Visual progress bar and score display

๐Ÿป Dual Bear Analysis System

  • Logic Bear: Analyzes evidence quality, source reliability, and logical consistency
  • Emotion Bear: Identifies fear appeals, identity triggers, and manipulation tactics
  • Wisdom Bear: Synthesizes insights and shows the logic-emotion balance

๐Ÿ“ฑ Social Sharing

  • Screenshot Generation: Beautiful canvas-based results images
  • Multi-Platform Sharing: Facebook, Instagram, LinkedIn integration
  • Copy & Share: Easy text and image copying for any platform

๐ŸŽ™๏ธ Voice Narration (NEW!)

  • ElevenLabs Integration: Professional voice narration for all scenarios
  • Intelligent Voice Selection: Gender-aware character voice assignment
  • Math Symbol Support: Converts technical symbols to speakable text
  • Memory-Safe Processing: Handles large batches on Raspberry Pi

๐ŸŽจ Polished Experience

  • Purple Gradient Design: Beautiful, modern interface
  • Smooth Animations: Curved trajectory rewards, confetti celebrations
  • Mobile Responsive: Works perfectly on all devices
  • Developer Easter Eggs: Type "party" for a surprise! ๐ŸŽ‰

๐Ÿš€ Quick Start

Play Online

Visit p0qp0q.com/thinkTank to start playing immediately!

Run Locally

# Clone the repository
git clone https://github.com/increasinglyHuman/PhuzzyThinkTank.git
cd PhuzzyThinkTank

# Serve locally (any HTTP server works)
python -m http.server 8000
# Or use Node.js: npx serve
# Or PHP: php -S localhost:8000

# Open http://localhost:8000 in your browser

๐ŸŽ™๏ธ Voice Generation (NEW!)

# Generate voices for all scenarios with memory safety
./voice-generation-safe.sh

# View analytics dashboards
firefox voice-analytics-dashboard.html voice-analytics-advanced.html

# Update analytics in real-time
node update-analytics-realtime.js --watch

๐Ÿ—๏ธ Architecture

Technology Stack

  • Frontend: Pure JavaScript (ES5 compatible), HTML5, CSS3
  • Canvas API: For screenshot generation and social sharing
  • Modular Design: Clean separation of concerns
  • No Dependencies: Runs anywhere without build tools

Core Components

๐Ÿ“ js/
โ”œโ”€โ”€ ๐ŸŽฎ core/
โ”‚   โ”œโ”€โ”€ game-engine.js      # Main game orchestration
โ”‚   โ”œโ”€โ”€ scenario-manager.js # Scenario loading and shuffling
โ”‚   โ”œโ”€โ”€ scoring-system.js   # 0-3 point evaluation logic
โ”‚   โ””โ”€โ”€ honey-pot-manager.js # Hint system management
โ”œโ”€โ”€ ๐ŸŽจ ui/
โ”‚   โ”œโ”€โ”€ quiz-interface.js   # Main game interface
โ”‚   โ”œโ”€โ”€ bear-analysis.js    # Dual bear analysis display
โ”‚   โ”œโ”€โ”€ feedback-animator.js # Reward animations and feedback
โ”‚   โ””โ”€โ”€ social-sharing.js   # Screenshot and sharing features
โ””โ”€โ”€ ๐Ÿ“Š utils/
    โ””โ”€โ”€ analytics-tracker.js # Game analytics

๐Ÿ“ tools/
โ”œโ”€โ”€ elevenlabs-voice-generator.js # Voice generation with character detection
โ”œโ”€โ”€ scenario-builder-tool.html    # Web-based scenario creation
โ””โ”€โ”€ update-analytics-realtime.js  # Real-time voice analytics tracker

๐Ÿ“ analytics/
โ”œโ”€โ”€ voice-analytics-dashboard.html     # Basic voice usage dashboard
โ””โ”€โ”€ voice-analytics-advanced.html      # Advanced analytics with Chart.js

Data Structure

๐Ÿ“ data/
โ”œโ”€โ”€ scenario-generated-*.json           # 65+ carefully crafted scenarios
โ”œโ”€โ”€ scenario-schema.json                # Validation schema for new content
โ””โ”€โ”€ audio-recording-voices-for-scenarios-from-elevenlabs/
    โ”œโ”€โ”€ scenario-000/                   # Voice files for each scenario
    โ”‚   โ”œโ”€โ”€ title.mp3
    โ”‚   โ”œโ”€โ”€ content.mp3
    โ”‚   โ””โ”€โ”€ claim.mp3
    โ””โ”€โ”€ voice-analytics.json            # Voice usage statistics

Each scenario includes:

  • Narrative text and claim to evaluate
  • Correct answer with weighted alternatives
  • Detailed analysis from both logic and emotion perspectives
  • Educational metadata and difficulty ratings

๐ŸŽฏ Game Mechanics

Scoring System

  • 3 Points: Perfect understanding (100% weight match)
  • 2 Points: Close reasoning (80%+ weight match)
  • 1 Point: Partial insight (50%+ weight match)
  • 0 Points: Needs more practice (<50% match)

Answer Categories

  • ๐Ÿง  Logic: Focus on evidence quality and reasoning
  • ๐Ÿ’– Emotion: Emphasis on emotional appeals and manipulation
  • โš–๏ธ Balanced: Well-reasoned arguments with appropriate emotional elements
  • ๐ŸŽฏ Agenda: Hidden bias, sales tactics, or ulterior motives

Learning Progression

  1. Answer the primary question about argument weaknesses
  2. Receive immediate feedback with points earned
  3. Explore detailed bear analysis with animated meters
  4. Understand the balance between logic and emotion
  5. Apply insights to the next scenario

๐Ÿ”ฎ Roadmap

๐ŸŽจ Content Expansion

  • Scenario Library: Expanded from 10 to 65+ scenarios
  • Topic Categories: Politics, health, science, social issues
  • Difficulty Levels: Beginner to expert tracks
  • Visual Icons: Unique imagery for each scenario

๐Ÿ› ๏ธ Technical Enhancements

  • Voice Narration: ElevenLabs integration for all scenarios
  • Analytics Dashboards: Track voice usage and performance
  • Scenario Builder: Web-based tool for community contributions
  • User Accounts: Save progress and track improvement
  • Leaderboards: Community challenges and rankings
  • API Integration: Dynamic scenario loading

๐ŸŒ Community Features

  • Scenario Submissions: Community-created content
  • Discussion Forums: Debate and analysis
  • Educational Resources: Critical thinking guides
  • Teacher Dashboard: Classroom integration tools

๐Ÿค Contributing

We'd love your help making Phuzzy's Think Tank even better!

Adding Scenarios

  1. Check out the scenario schema
  2. Use the Scenario Builder tool
  3. Submit a pull request with your new scenario

Code Contributions

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes and test thoroughly
  4. Submit a pull request with a clear description

Ideas & Feedback

  • ๐Ÿ› Found a bug? Open an issue with reproduction steps
  • ๐Ÿ’ก Have an idea? Start a discussion in Issues
  • ๐ŸŽจ Design suggestions? We'd love to see your mockups

๐Ÿ“š Educational Philosophy

Why Critical Thinking Matters

In our polarized world, the ability to evaluate arguments fairly is crucial for:

  • Democratic participation - Making informed voting decisions
  • Personal wellbeing - Avoiding scams and misinformation
  • Professional success - Making sound business judgments
  • Relationship health - Communicating with empathy and logic

Our Approach

  • Non-partisan: Equal focus on logic and emotion manipulation across all political spectrums
  • Practical: Real-world scenarios you encounter daily
  • Engaging: Game mechanics make learning fun and memorable
  • Balanced: Respect for both rational analysis and emotional intelligence

๐Ÿ† Achievements & Recognition

  • ๐ŸŽจ Design Excellence: Beautiful purple gradient theme with smooth animations
  • ๐Ÿง  Educational Impact: Sophisticated dual-analysis system
  • ๐Ÿ“ฑ Technical Innovation: Canvas-based social sharing without external dependencies
  • ๐Ÿป Unique Concept: First critical thinking game featuring bear analysts

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

Attribution

Built with โค๏ธ and ๐Ÿค– assistance from Claude Code. The bears approve! ๐Ÿป


๐Ÿ”— Links


"In a world full of strong opinions, be the person who thinks clearly." ๐Ÿป๐Ÿง ๐Ÿ’–

About

๐Ÿป Critical thinking game where bears help you balance logic and emotion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors