UNPKG

ymir-js

Version:

This toolkit is created to make it easier for you to develop games like chess, checkers, go, match 3 puzzle and more. It is still under development.

7 lines (6 loc) 221 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var parseCoord = function (coord) { return coord.split('|').map(function (n) { return parseInt(n, 10); }); }; exports.default = parseCoord;