FINISHED HUFFMAN FINALLLLLLYLYLLY
This commit is contained in:
@@ -386,6 +386,7 @@ class Game extends World {
|
||||
}
|
||||
|
||||
public Game onKeyEvent(String key) {
|
||||
if (this.guessesLeft <= 0) throw new Error("Done.");
|
||||
if ("123456789".contains(key)) { // User has entered a number.
|
||||
int choice = Integer.valueOf(key);
|
||||
if (choice <= this.conf.options.len()) return this.addDot(
|
||||
|
Reference in New Issue
Block a user