Compare commits

...

2 Commits

Author SHA1 Message Date
faacb1d4a0 Ignore main.exe if I'm lazy about go build 2023-11-18 18:59:40 -08:00
52684daefe actually fix text separators 2023-11-18 18:54:39 -08:00
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
main/main.exe

View File

@ -53,12 +53,12 @@ type textEmitter struct {
}
func (t *textEmitter) Emit(summary *auctionsim.ResultSummary) {
if !t.notFirst {
if t.notFirst {
fmt.Println()
fmt.Println("-----------------")
fmt.Println()
t.notFirst = true
}
t.notFirst = true
fmt.Printf("The auction winner paid ¤%f. They have %s.\n", summary.Price, deltaStr(summary.WinnerProfit))
fmt.Printf("The item was worth ¤%f to them.\n", summary.WinnerValue)
fmt.Printf("They would have paid up to ¤%f for it.\n", summary.WinnerMaxBid)