Skip to content

Commit

Permalink
Added a reminder of how many tries are left
Browse files Browse the repository at this point in the history
  • Loading branch information
AloneAlexandros committed Jul 6, 2024
1 parent 14658d1 commit b8ca75e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repeat
//game loop
repeat
{
print("Try \(tries+1)")
if AwaitAnswer()
{
print("You broke the code! Congratulations!") //add how many tries it took
Expand Down

0 comments on commit b8ca75e

Please sign in to comment.