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

Method getInstance

java/Chapter 8/Question8_8/Game.java:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 }
17
18 public static Game getInstance() {
19 if (instance == null) {
20 instance = new Game();
21 }
22 return instance;
23 }
24
25 public Board getBoard() {
26 return board;

Callers 4

playRandomMethod · 0.95
mainMethod · 0.95
getScoreMethod · 0.95
playPieceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected