From 0bb8fee9a3a37ecf9879ab97577bbbb93d9f83ee Mon Sep 17 00:00:00 2001 From: raul Date: Thu, 15 Feb 2024 09:12:34 +0000 Subject: [PATCH] Testing pushing to another branch --- main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.go b/main.go index 1c0cfc5..4d9c412 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,8 @@ import ( "time" ) +// This is a branch testing comment + var ( player PlayerStats names []string @@ -93,6 +95,7 @@ func getLetter(letter string) (isFound bool) { return isFound } +// TODO: Make gameStatus() prettier func gameStatus() { clear() fmt.Println("Player:", player.name) @@ -125,6 +128,7 @@ func game() { fmt.Printf("Guess: ") fmt.Scanln(&guess) + // TODO: Add checking for both wrong and correct characters if getLetter(guess) != true { var isAlreadyWrong bool = false for _, v := range wrongChars { @@ -170,6 +174,7 @@ func getWord(path string) (word string) { return randName } +// TODO: Add OS agnostic clearing func clear() { fmt.Print("\033[H\033[2J") }