fixed some silly mistakes and bugs

This commit is contained in:
gabe farrell 2022-02-21 00:23:12 -05:00
parent 0045790ec4
commit 23cc2b374f
4 changed files with 11 additions and 5 deletions

View file

@ -242,6 +242,9 @@ func (a *AI) getGuess() (c board.Point) {
}
func (a *AI) Guess(p *Player, debug bool) bool {
board.ClearScreen()
p.PrintEnemy()
p.PrintFriendly()
c := a.getGuess()
a.Guesses = append(a.Guesses, c)
cprint.Printf["White"]("Now the AI's time to strike...\n")