battleship-go

Terminal-based battleship written in Go (WIP).
Log | Files | Refs | README | LICENSE

commit 2a12730d95ef38d3c8b8c441f46d4ae296ebada7
parent 42948584297d0986c55cdff4c0139017b707b57d
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Fri, 10 Jan 2020 15:32:03 -0500

Descriptive print in prep for Phil

Diffstat:
Mmain.go | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/main.go b/main.go @@ -67,8 +67,10 @@ func main() { playerOne.Hit(9, 2) // (I,2) // Display both primary boards in stdout - fmt.Println("Player One:", playerOne.DisplayPrimary()) - fmt.Println("Player Two:", playerTwo.DisplayPrimary()) + fmt.Println("Player One (vue de ses propres pièces):", playerOne.DisplayPrimary()) + fmt.Println("Player Two (vue de ses propres pièces):", playerTwo.DisplayPrimary()) + fmt.Println("Player One (vue des pièces de son ennemi):", playerOne.DisplayTarget()) + fmt.Println("Player Two (vue des pièces de son ennemi):", playerTwo.DisplayTarget()) /* TVIEW UI SETUP: ┌------------------------------------------------------┐