Inspiration

In today's digital age, there's a noticeable gap between educational games and social platforms. While vocabulary games exist, they often lack the fun and community engagement that makes modern social platforms addictive. Conversely, social platforms excel at bringing people together but lack the personal growth opportunities that educational games provide.

WordLink was born from a simple yet powerful idea: What if learning vocabulary and trivia could be as engaging as scrolling through Reddit?

WordLink is an engaging vocabulary trivia word game that challenges players to create chains of topic-related words. It tests your vocabulary, quick thinking, and word association skills through both regular games and daily challenges.

We drew inspiration from:

  • The viral nature of Wordle's daily challenges
  • The community-building power of Reddit
  • The educational value of classic word chain games

What It Does

WordLink transforms the classic word chain game into a dynamic, community-driven experience. Here's what makes WordLink special:

Core Gameplay

  • Topic-Based Chains: Players build word chains within specific topics. Topics change after every word submission, adding depth to the traditional word chain mechanic. This rapid topic-switching challenges players to think ahead and choose words strategically. Keeping the last letter in mind can lead to rewarding or disastrous outcomes, making the experience challenging yet fun.
  • Smart Word Validation: Real-time validation ensures submitted words are both English and topic-relevant.
  • Dynamic Difficulty: The game adapts to player skill through an innovative combo system.

Game Modes

  1. Normal Game (60-Second Sprint)

    • Fast-paced gameplay
    • Unlimited attempts to score the highest in a subreddit-specific leaderboard
    • Strategic topic skips (costs 10 points) to avoid wasting time
  2. Daily Challenge

    • Same topic and conditions for all players
    • One attempt per day for fair competition
    • Strategic hints (costs 10 points) to help with difficult topics
    • Daily challenge-specific leaderboard for added competition

Special Features

  • Multi-Level Leaderboards
    • Subreddit-specific rankings
    • Daily challenge rankings
  • Community Competition
    • Players compete for top spots
    • Daily refresh of challenges keeps competition fresh

How We Built It

Technical Architecture

The architecture is designed for scale, real-time performance, and seamless user experience.

Frontend

  • Core Game Engine
    • TypeScript for type-safe game logic
    • Real-time word validation
    • Smooth animations and transitions
    • Responsive design
  • State Management
    • Efficient local storage for game progress
    • Real-time score tracking
    • Optimistic UI updates for instant feedback

Backend

  • Game Service
    • Handles core game logic and state
    • Manages topic rotation and daily challenges
    • Implements scoring algorithms
  • Leaderboard Service
    • Redis-powered real-time leaderboards
    • Efficient sorting and ranking algorithms
    • Separate handling for different game modes
  • Word Validation Service
    • Smart caching for quick word lookups
    • Topic relevance checking
    • Chain rule validation

Data

  • Redis Implementation
    • Sorted sets for real-time leaderboard updates
    • Hash maps for user data storage
    • Atomic operations for concurrent score updates
  • Topic Management
    • Curated topic database
    • Dynamic word lists
    • Regular content updates

Integration with Reddit

  • Seamless embedding via WebView
  • Native-like user experience
  • Community-specific customization

Challenges We Faced

  1. Performance at Scale

    • Challenge: Handling concurrent score updates without leaderboard lag
    • Solution: Redis sorted sets with atomic operations and smart caching
  2. Word Validation Complexity

    • Challenge: Balancing speed vs accuracy in word validation
    • Solution: Multi-layer validation system:
      1. Local quick checks
      2. Topic relevance verification
      3. Chain rule validation
  3. Fair Competition

    • Challenge: Ensuring daily challenges are global and fair
    • Solution: Time zone-aware challenge system with anti-cheat measures
  4. User Experience

    • Challenge: Making complex game mechanics intuitive
    • Solution: Progressive difficulty curve and visual feedback systems

Accomplishments

  1. Sophisticated Scoring System

    • Dynamic combo multipliers
    • Strategic point deductions for invalid words
    • Balanced hint and skip mechanics
  2. Community Features

    • Multi-level leaderboard system
    • Subreddit-specific scoring
    • Daily Challenges for community engagement
  3. Technical Achievements

    • Efficient Redis implementation for leaderboards
    • Robust word validation system
    • Seamless Reddit integration
    • Clean, maintainable codebase

What We Learned

  1. Technical Insights

    • Redis optimization techniques for real-time applications
    • Efficient TypeScript patterns for game development
    • WebView optimization for Reddit integration
  2. Game Design Psychology

    • Balancing challenge vs reward
    • Creating "just one more try" hooks
    • Fostering healthy, family-friendly competition
  3. Community Building

    • Subreddit engagement strategies
    • Balancing competition and collaboration
    • Encouraging positive community interaction

What's Next for WordLink

  1. Community Features

    • Custom topic creation for players
    • Community challenge creation
    • Inter-subreddit tournaments
  2. Technical Improvements

    • Advanced caching strategies
    • Performance optimizations

Tools

  • Reddit via Devvit
  • an-array-of-english-words (Word Validation)
Share this project:

Updates