Battle Arena
Choose your challenge and prove your prompting skills
Showing 20 battles
B-Tree Index
Implement a B-tree data structure with disk-based persistence suitable for database indexing.
Bytecode Virtual Machine
Build a stack-based bytecode VM with instruction set, execution engine, and simple compiler.
JSON Database
Build a document-oriented database engine that stores JSON documents with querying and indexing.
WebSocket Server
Build a WebSocket server from raw TCP with handshake, framing, and pub/sub rooms.
Shell Interpreter
Build a Unix-like shell with pipes, redirection, job control, and scripting.
Pub/Sub Message Broker
Build a publish/subscribe message broker with topics, consumer groups, and persistence.
DNS Resolver
Build a recursive DNS resolver that queries root servers and caches results.
Git Internals
Implement git's core object model — blob, tree, commit storage with refs and basic commands.
Package Manager
Build a package manager with dependency resolution, lockfile, and registry client.
CSS Selector Engine
Build a CSS selector matching engine that queries a DOM tree.
Rate Limiter Service
Build a distributed-ready rate limiter with multiple algorithms and HTTP middleware.
Event Sourcing Engine
Build an event sourcing system with event store, projections, and snapshots.
Container Runtime
Build a minimal container runtime using Linux namespaces and cgroups.
Terminal Text Editor
Build a terminal-based text editor with syntax highlighting, search, and multiple buffers.
In-Memory File System
Build a POSIX-like in-memory file system with directories, permissions, and hard/soft links.
Protocol Buffer Serializer
Build a Protocol Buffers serializer/deserializer with schema compilation.
Cron Scheduler
Build a cron daemon that parses cron expressions and executes scheduled jobs.
Blockchain
Build a basic blockchain with proof-of-work mining, transactions, and P2P networking.
Distributed Hash Table
Build a Kademlia-style DHT for decentralized key-value storage.
Database From Scratch
Build a simple key-value database engine with a CLI, WAL persistence, transactions, and a query language.