oppwars/main.go

33 lines
980 B
Go

package main
import (
"fmt"
"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/lipgloss/table"
)
var border = lipgloss.NewStyle().
BorderStyle(lipgloss.NormalBorder()).
BorderForeground(lipgloss.Color("63"))
func main() {
aqua := lipgloss.NewStyle().Foreground(lipgloss.Color("86")).Render
pink := lipgloss.NewStyle().Foreground(lipgloss.Color("201")).Render
fmt.Println(border.Render("OPP Wars - Organized Crime Edition"))
t := table.New()
t.Row(border.Render("MAIN MENU"), border.Render("PLAYER STATS"))
t.Row("1. Locker", aqua("Money"))
t.Row("2. Aqcuire Drugs", aqua(""))
t.Row("3. Buy Condoms", aqua("Condoms"))
t.Row("4. Hit the Streets", aqua("Experience"))
t.Row("5. Find Whore", pink("Whores"))
t.Row("6. Pay off Judge", aqua("Bribes Rating"))
t.Row("7. Union", aqua("Rank"))
t.Row("8. Doctor", aqua("Diseases"))
t.Row("9. View High Score", aqua("Milky as well"))
t.Row("10. Clock Out", aqua("Also milky"))
fmt.Println(t.Render())
}