goda-rogue.vim: a roguelike for Vim and Neovim, released as v0.1.0
goda-rogue.vim is a roguelike[1] game that runs in Vim and Neovim, and version 0.1.0 was released on 30 November 2026. The map is drawn with full-width characters: the player is shown as a single character, enemies are kanji, and their rank is shown by color, with no images or sound. The game is built on goda.vim[2], a framework for calling Go binaries from Vim and Neovim, so the game logic is in Go (about 23,000 lines) and the Vim script only draws the screen (about 1,300 lines).
Currently only はじまりの洞窟 (30 floors) is ready to play from start to finish, as it is balanced for the whole run. 奈落の洞窟 (50 floors) and 果ての洞窟 (99 floors) are implemented, but their balance is still being adjusted. The game has no default keymaps, so each user assigns keys themselves. The same seed[3] always produces the same floors, and a run can be paused and resumed from a replay file.
The author used a Bot that plays only with what a player can see to tune the balance. The Bot's clear rate in はじまりの洞窟 is 68% in the careful style and 49% in the reckless style, against targets of 65–75% and 45–55%. The author also notes that changing the hash from FNV to SHA-256 was necessary, because similar seeds gave the Bot clear rates from 44% to 57%.
Repository goda-rogue.vim github.com
A roguelike game that runs inside Vim and Neovim, built on goda.vim with the game logic written in Go.
Sources
-
JPZenn JA
Vim と Neovim で遊べるローグライクゲーム goda-rogue.vim を作った





