A Space Shooter in Curses
Some of you who follow me may know that I have recently built a pretty nifty framework for working with terminals. ANSI, ASCII, VT100, Windows Console, etc. Its called Tcell , and located on github. (Its a Go framework though.) It offers many of the same features as curses, though it is most definitely not a clone of curses. Anyway, I decided it should be possible to write a game in this framework, so I wrote one. I give you Escape From Proxima 5 , a 2D multi-axis scrolling space shooter written entirely in Go, designed to operate in your text terminal The game is fairly primordial, but there is a playable level complete with enemies and hazards. It's actually reasonably difficult to get past just this first level. Mostly the idea here is that you can get a sense of what the game engine is capable of, and see Tcell in action. As part of this, I wrote a pretty complete 2D game engine. Its got rich sprite management with collision detection, palettes, an events subsy