projects
/
vchess.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Draft of problems section
[vchess.git]
/
client
/
src
/
data
/
problemCheck.js
Commit
Line
Data
89021f18
BA
1
export function checkProblem(p)
2
{
3
const vid = parseInt(p.vid);
4
if (isNaN(vid) || vid <= 0)
5
return "Please select a variant";
6
7
if (!V.IsGoodFen(p.fen))
8
return "Bad FEN string";
9
}