MCPcopy Index your code
hub / github.com/careercup/ctci / main

Method main

java/Chapter 8/Question8_8/Question.java:9–17  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

7public class Question {
8
9 public static void main(String[] args) {
10 Game game = Game.getInstance();
11 game.getBoard().initialize();
12 game.getBoard().printBoard();
13 Automator automator = Automator.getInstance();
14 while (!automator.isOver() && automator.playRandom()) {
15 }
16 automator.printScores();
17 }
18}

Callers

nothing calls this directly

Calls 8

getInstanceMethod · 0.95
getBoardMethod · 0.95
getInstanceMethod · 0.95
isOverMethod · 0.95
playRandomMethod · 0.95
printScoresMethod · 0.95
initializeMethod · 0.45
printBoardMethod · 0.45

Tested by

no test coverage detected