Main Menu Experiments
This commit is contained in:
parent
049a3e639b
commit
b54519dd8e
3 changed files with 85 additions and 0 deletions
31
main.go
Normal file
31
main.go
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
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
|
||||
//orange := lipgloss.NewStyle().Foreground(lipgloss.Color("202")).Render
|
||||
|
||||
t := table.New()
|
||||
t.Row(border.Render("OPP Wars"), aqua("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", aqua("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())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue