MCPcopy Create free account
hub / github.com/codemistic/Web-Development / getChar

Function getChar

bot-human-tictactoe/script.js:167–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165
166 }
167 const getChar = ()=>{
168 if(_currPlayer==PLAYER_X) return 'X'
169 else return 'O'
170 }
171
172 const validateBoard = ()=>{
173 //check rows

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected