Skip to content

Commit c7908ff

Browse files
authored
✨ [feat]: add GuessingGame program
1 parent d9b8924 commit c7908ff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

GuessingGame.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
public interface GuessingGame {
2+
3+
void setAnswer(String ans);
4+
void guess(String s);
5+
String getOutput();
6+
boolean isWon();
7+
boolean isLost();
8+
}

0 commit comments

Comments
 (0)