txtelite Implemented in Go. Including a terminal UI for playing the trading game.
Based off of Ian Bell's Text Elite
NOTE: txtelite looks best when run in a terminal with a dark background. In future I will add colour schemes to suit light terminals as well.
This version of txtelite has been tested on macOS versions 13 (Ventura) and 12 (Monterey) and on Ubuntu Linux 22.04.
It will also compile and run on Windows, however the terminal UI doesnt work well in the Windows shell. There is bound to be a fix for this, and I will get to it eventually.
To build from source, ensure the latest version of go
is installed. Any versions > go v1.18
will work.
- Clone this repo:
git clone https://github.com/andrewsjg/GoElite.git
- Run
make build
- The binary is:
.\bin\txtelite
Go to the releases page in this repo, download the binary for your system, place it in the path and run txtelite
- Add my TAP to homebrew:
brew tap andrewsjg/tap
- Install txtelite:
brew install txtelite
Type 'help' after running it to see the available commands.
Market CommandLocal CommandBuy CommandSell CommandFuel CommandJump CommandInfo CommandLocal CommandHyperspace commandHelp CommandTUI Status barAdd ship info panelAdd ships hold tableTidy up basic TUIFix bug that means market isnt generated on hyperspace jumpFix fuel bug that allows a player to buy more than max fuelFix buy/sell commands where the commodity has a space in its nameCheck Fuel maths. Strange things happen when buying fuel- Tidy up the game title. Styling with Lipgloss? - Sort of done. Not sure I like it yet
Fix variadic buy functions. Used incorrectly.- Basic Commander rank info
- Basic Commander name function
- Styling for light terminals
- Check for terminal width
Fix Local cmd output displayAdd webpage for homebrewAdd version option. Do I need Cobra?- Fix TUI when running on windows
- Improved TUI
- Render the galaxy
- Game saves
- Score
- "Improved" economy
- 2D game engine
- Basic combat