~/projects/terminal-quest

$ ls tech-stack/

nextjstypescripttailwindsupabase

$ ls links/

$ cat overview.md

Terminal Quest

A web-based terminal emulator that brings classic arcade games to life through a command-line interface.

Terminal Quest

Overview

Terminal Quest reimagines classic games through a terminal interface, combining nostalgic gaming with command-line functionality. Games are launched through familiar terminal commands while maintaining authentic arcade gameplay.

Interface

The platform uses standard terminal commands for navigation:

bash
help # Display available commands ls # List available games [game] # Launch specified game q # Exit current game clear # Clear terminal

Game Collection

Snake

Classic snake implementation with terminal graphics. Uses arrow keys for directional control and features collision detection and score tracking.

Snake Game

Tetris

Terminal-based Tetris with full rotation systems and piece preview:

  • Arrow keys for movement and rotation
  • Score multipliers for line clears
  • Next piece preview
  • Level progression

Tetris Game

Pong

Terminal rendition of Pong featuring:

  • AI opponent with predictive movement
  • Physics-based ball mechanics
  • Score tracking

Pong Game

Space Invaders

Classic arcade action:

  • Wave-based enemy formations

Space Invaders Game

Technical Implementation

Built using modern web technologies:

  • Next.js for the application framework
  • TypeScript for type safety and code reliability
  • React for component architecture
  • Tailwind CSS for styling
  • Supabase for backend services and leaderboards

Interesting Challenges

  • Implementing collision detection within terminal constraints
  • Maintaining consistent game loop timing
  • Handling keyboard input with minimal latency
  • Rendering smooth animations in ASCII

Planned Features

Currently developing:

  • Global leaderboard system
  • Customizable control schemes
  • Mobile-responsive controls
  • Achievement tracking
  • Daily challenges
  • Easter eggs and hidden commands

$ cat features.txt

  • Classic games including Snake, Tetris, Pong, and Space Invaders
  • Authentic terminal experience with command-line navigation
  • Global leaderboards and high score tracking
  • Responsive design with keyboard controls
  • Terminal-style green-on-black theme for nostalgia