X-Git-Url: https://git.r.bdr.sh/rbdr/sumo/blobdiff_plain/43413defcb854c8706a84a6a54a61c7977b52614..3100e0533cb89a185ea021dfb83c4f364750180f:/lib/config.js?ds=sidebyside diff --git a/lib/config.js b/lib/config.js index 856fc18..c39fedf 100644 --- a/lib/config.js +++ b/lib/config.js @@ -28,14 +28,22 @@ const config = { * @property {number} verticalResolution * @memberof Config */ - verticalResolution: 224 + verticalResolution: 224, + + /** + * The points needed to win + * + * @property {number} maxPoints + * @memberof Config + */ + maxPoints: 200 }; /** - * How many pixels to use per meter + * The horizontal resolution of the screen * - * @property {number} meterSize + * @property {number} horizontalResolution * @memberof Config */ config.horizontalResolution = Math.round(config.verticalResolution * config.aspectRatio[0] / config.aspectRatio[1]);