Skip to content

Commit

Permalink
fix: hit/stand prompt new line
Browse files Browse the repository at this point in the history
  • Loading branch information
jll38 committed Feb 8, 2024
1 parent 53d8b92 commit fe20da5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Games.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ export class Blackjack extends Game {
}

protected hitOrStand() {
let response = prompt("\nHit or Stand? (h/s): ");
console.log("")
let response = prompt("Hit or Stand? (h/s): ");
console.log("")
switch (response) {
default:
Expand Down

0 comments on commit fe20da5

Please sign in to comment.