Hacker News new | ask | show | jobs
by kabirgoel 1416 days ago
Fantastic game! Have you considered using the Bubble Tea [1] library?

I recently used Bubble Tea to write a Flappy Bird-like game [2] and it was incredibly fun. It splits your app up into a Model (state), a View function (that uses the model to return a string), and an Update function (that updates the model), like Elm. Plus the other Charm libraries are great for styling terminal output, spring physics, etc.

[1] https://github.com/charmbracelet/bubbletea [2] https://github.com/kbrgl/flapioca