MCPcopy Create free account
hub / github.com/code100x/chess / PlayerStrip

Function PlayerStrip

apps/native/app/game/index.tsx:98–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96export default ChessBoard;
97
98const PlayerStrip = () => {
99 return (
100 <View style={styles.playerStrip}>
101 <View style={styles.playerAvatar}></View>
102 <View>
103 <Text style={styles.name}>Player 1</Text>
104 </View>
105 </View>
106 );
107};
108
109function get_captured_pieces(moves: Move[], color: string) {
110 const captured = { p: 0, n: 0, b: 0, r: 0, q: 0 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected