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) 209 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function useCoord(coord) { return coord.split('|').map(function (n) { return parseInt(n, 10); }); } exports.default = useCoord;