Compare commits
2 Commits
3695f2704b
...
main
Author | SHA1 | Date | |
---|---|---|---|
faacb1d4a0
|
|||
52684daefe
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
main/main.exe
|
@ -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)
|
||||
|
Reference in New Issue
Block a user