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

Method playPiece

java/Chapter 8/Question8_8/Player.java:13–15  ·  view source on GitHub ↗
(int row, int column)

Source from the content-addressed store, hash-verified

11 }
12
13 public boolean playPiece(int row, int column) {
14 return Game.getInstance().getBoard().placeColor(row, column, color);
15 }
16
17 public Color getColor() {
18 return color;

Callers 1

playRandomMethod · 0.80

Calls 3

getInstanceMethod · 0.95
placeColorMethod · 0.80
getBoardMethod · 0.80

Tested by

no test coverage detected