package main

import (
	"github.com/Nightgunner5/agwycctmiatstsycbmrm/util"
	"github.com/nsf/termbox-go"
)

var (
	mainmenuTitle = util.SplitForUI("a game where you command crafters to make items and then sell them so you can buy more raw materials")

	mainmenuVersion = []rune("v" + util.Version)

	/*
		13:41 < Nightgunner5> guys I need a word that means the same thing as "normal difficulty" but is moderately funny
		13:42 < Nightgunner5> I'll even take punny if that's all you can do
		13:42 < avagrant> Average
		13:42 < Nightgunner5> so far my difficulties are "boring", , "rude", and "the game mode that sets everything on fire"
		13:42 < Zed_Beeonova> vanilla
		13:43 < avagrant> 6 inches
		13:43 < avagrant> (it's normal)
		13:43 < Nightgunner5> should I call it autistic to mess with everyone?
		13:43 < Broodlines> 6 inches
		13:44 < Nightgunner5> okay, it looks like 6 inches is winning
		13:44 <@AngriestIBM> autist and non-autist modes
		13:44 < Chase_Mobile> Autustic should be hard
		13:44 < Nightgunner5> autistic before or after rude?
		13:44 < Chase_Mobile> Or the highest difficulty
		13:44 <@AngriestIBM> grump difficulty
	*/
	mainmenuGameModes = [][][]rune{
		util.SplitForUI("grump"),
package main

import (
	"fmt"
	"github.com/Nightgunner5/agwycctmiatstsycbmrm/state"
	"github.com/Nightgunner5/agwycctmiatstsycbmrm/util"
	"github.com/nsf/termbox-go"
	"time"
)

var (
	difficultyDescription = [][][]rune{
		util.SplitForUI("Grump mode, for when you're down in the grumps. Alternatively, it can be used for your gramps. Grandpa! No! That is not the right button. Grandpa, stop. You're horrible at this. No Grandpa, you can't check your AOL on this. It's a video game. No, that is not a film projector."),
		util.SplitForUI("Six inches is a normal mode for normal people. Alternatively, you can replace 'normal' with 'boring'. Six inches is a boring mode for boring people. See what I did there? Get it? Wh- why are you walking away? Guys?"),
		util.SplitForUI("This game mode is rude. It does rude things and brings its rude friends to be rude near you. Recommended for torture-seekers. And rude people."),
		util.SplitForUI("AAAAAAAAAAAAAAAAAAAAAAAAA PUT IT OUT PUT IT OUT PUT IT OUT AAAAAAAAAAAAAAAAAA MAKE IT STOP IT BURNS AAAAAAAAAAAAAAAAAAAA HELP ME SOMEONE HELP AAAAAAAAAAAAAAAA HELP ME EVERYTHING IS ON FIRE"),
		util.SplitForUI("Hey guys let's make a game where you play a game and then there's space and stuff and then you get items or something but really the whole thing is a metaphor for the triviality of life. Ooh, the pizza is here."),
	}

	difficultyStartingMoney = []rune("Starting Cash")
	difficultyGimmick       = []rune("Gimmick")
	difficultyDayLength     = []rune("Day Length")

	difficultyTuning = []struct {
		startingmoney uint64
		gimmick       [][]rune
		dayLength     time.Duration
	}{
		{
			startingmoney: 1000000000,
			gimmick:       util.SplitForUI("grandpa-friendly"),