mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-02 16:20:18 -08:00
Spacing.
This commit is contained in:
@@ -13,7 +13,6 @@ def print_instructions
|
||||
end
|
||||
|
||||
def generate_target
|
||||
|
||||
# pick a three digit number with no repeating numbers.
|
||||
# gien that, 102-987 is a reasonable starting point!
|
||||
target = rand(102..987) while target.to_s.split('').uniq.size < 3
|
||||
|
||||
Reference in New Issue
Block a user