I found when testing the Hangman sample that the game state description contained some random letters and symbols instead of underscores:
This appears to be because the Game.filled CArray wasn't properly initialized, so it contained garbage data. This change fixes the game so the blanks appear as intended.
Note that I'm very new to Kit, so if there's a better way to fix this, I'd be curious to learn what the solution is. :)
I found when testing the Hangman sample that the game state description contained some random letters and symbols instead of underscores:
This appears to be because the
Game.filled
CArray wasn't properly initialized, so it contained garbage data. This change fixes the game so the blanks appear as intended.Note that I'm very new to Kit, so if there's a better way to fix this, I'd be curious to learn what the solution is. :)