//Find a start position in the first column that does not contain a bomb. There is no fun starting life sat on a bomb, after all. //The maximum allowed bomb count must be at least one less than the size of a board axis (Typically 8) //Otherwise, additional check would have been required in more columns than just the first. private void SetStartPosition() { //set start point where no bomb exists var firstColumn = Game.Board[0]; for (int i = 0; i < firstColumn.Length; i++) { if (firstColumn[i] > -1) //no bomb, place user here { Game.XPosition = 0; Game.YPosition = i; break; } } //Set messaging _messageProcessor.PrintMessage($"Game started. Use arrow keys to navigate. Please escape key to exit, or 'R' to restart.", ConsoleColor.Magenta); _messageProcessor.PrintMessage($"(Bomb free) start position is: {GameHelper.CurrentXPositionLetter(Game.XPosition)}{Game.YPosition + 1}", ConsoleColor.White); }