惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
Engineering at Meta
Engineering at Meta
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
H
Hackread – Cybersecurity News, Data Breaches, AI and More
WordPress大学
WordPress大学
博客园_首页
美团技术团队
H
Help Net Security
MongoDB | Blog
MongoDB | Blog
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
J
Java Code Geeks
A
About on SuperTechFans
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog
雷峰网
雷峰网
爱范儿
爱范儿

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
how I revived and scaled Vim Royale, a pvp vim based mult...
Jitesh Kumar · 2026-05-29 · via DEV Community

Vim Royale: The Project I Kept Postponing Until I Finally Shipped It

This is a submission for the GitHub Finish-Up-A-Thon Challenge

What I Built

Vim Royale is a competitive PvP Vim editor game where you can practice, improve, and go head-to-head with friends.

The idea is straightforward: two players get the same broken code snippet and race to fix it using Vim motions in a real editor. First one to finish wins.
What started as "just a Vim game" turned into a full competitive platform with:

  • Realtime gameplay
  • Match replays
  • Tournament creation and invites
  • Live spectator mode
  • Vim keybindings import (including .vimrc-style mappings)

The stack under the hood:

Layer Tech
Frontend React + TypeScript (Vite) + CodeMirror + Vim mode
Backend Go + Gin + WebSockets/SSE
Database PostgreSQL
Infra Docker

The Comeback Story

I had this idea sitting in my head since last year.

My first attempt was in Elixir/Phoenix, and I actually got pretty far by February. But integrating npm-heavy editor tooling in that stack kept slowing me down. I was writing too many JS hooks just to make basic UI and editor pieces work. Slowly, momentum faded.

A few weeks ago I made a decision: stop overthinking and just finish it.

I switched to a stack that had less friction for this kind of project:

  • React for frontend flexibility and the npm ecosystem
  • Go + Gin for a clean and predictable backend
  • Postgres for match, tournament, and user data
  • Docker to keep setup simple and reproducible

That switch changed everything.

React made npm integration painless. CodeMirror became a huge unlock for the editor-focused gameplay. Once that foundation was solid, I could actually focus on building features instead of fighting the framework:

  • WebSocket-based realtime match flow
  • Match replay playback from stored keystroke data
  • Live spectate streams
  • Tournament lobbies, seeding, and event updates
  • Custom Vim keymap import, preview, and save

Vim Royale finally became the game I had pictured from day one.

Working with GitHub Copilot

Copilot helped me most in the places where momentum usually dies: repetitive scaffolding, context switching, and debugging confusing errors.

A few places it genuinely made a difference:

Day-to-day autocomplete

It sped up implementation across React components and Go handlers, especially when I was wiring similar state, props, or API shapes over and over again.

Generating boilerplate

Scaffolding component structures and helper logic got faster, which made it easier to go from an idea to a working version without losing steam.

Single-player mode starter code

Copilot gave me useful snippets I could adapt instead of building everything from scratch.

Understanding unfamiliar React patterns

This was my first serious React project. Copilot helped me understand new patterns and debug errors without constantly breaking flow to dig through documentation.

The useEffect double-fire mystery

This one was a real time sink. useEffect was running twice in development but not in production. Copilot pointed me toward React Strict Mode behavior, which saved me from chasing completely the wrong bug for hours.

Copilot did not build it for me. But it kept me moving when I would have otherwise slowed down or stopped.

Closing Thoughts

Vim Royale means something to me because I've been using vim for the last 4 years and always wanted to make a game around it.

Stack indecision and life getting in the way delayed this for a long time. Finishing it taught me something simple: the best stack is usually the one that keeps you moving. Once I accepted that, everything clicked.

If you enjoy Vim, competition, and coding games, give it a try and let me know what to build next.