mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-25 12:25:10 -08:00
Implemented Possible printBoard
Doing this through web browser, so unsure if this will work or compile.. Will check later
This commit is contained in:
@@ -71,7 +71,12 @@ public class HighIQ {
|
||||
}
|
||||
|
||||
public void printBoard() {
|
||||
|
||||
for(int i = 0; i < 7; i++) {
|
||||
for(int j = 11; j < 18; j++) {
|
||||
out.print(getChar(j + 9 * i));
|
||||
}
|
||||
out.println();
|
||||
}
|
||||
}
|
||||
|
||||
private char getChar(int position) {
|
||||
|
||||
Reference in New Issue
Block a user