Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
playRandom
Method · 0.80
Calls
3
getInstance
Method · 0.95
placeColor
Method · 0.80
getBoard
Method · 0.80
Tested by
no test coverage detected