UNPKG

jocly

Version:

Board games 3D/2D UI and AI web library

1 lines 2.58 kB
exports.config = {"status":true,"model":{"title-en":"Annexation 4","summary":"Reversi/Othello rules on a 4x4 board","thumbnail":"thumb-reversi4.png","js":["reversi-model.js"],"module":"reversi","released":1409239768,"plazza":"true","rules":{"en":"rules-reversi4.html"},"credits":{"en":"credits.html"},"description":{"en":"description.html"},"gameOptions":{"preventRepeat":true,"uctTransposition":"state","levelOptions":{"stableFactor":20,"aboutStableFactor":-20,"aboutStableBorderFactor":-15,"borderFactor":5,"aboutBorderFactor":-4,"countFactor":1,"mobilityFactor":5},"width":4,"height":4,"initial":{"1":["1:2","2:1"],"-1":["1:1","2:2"]}},"debugEval":true,"levels":[{"name":"easy","label":"Easy","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.65,"ignoreLeaf":false,"log":true,"uncertaintyFactor":3,"maxNodes":1000},{"name":"fast","label":"Fast [1sec]","log":true,"c":0.65,"ignoreLeaf":false,"playoutDepth":0,"uncertaintyFactor":3,"ai":"uct","minVisitsExpand":1,"maxDuration":1,"isDefault":true},{"name":"medium","label":"Medium","log":true,"c":0.65,"ignoreLeaf":false,"playoutDepth":0,"uncertaintyFactor":3,"ai":"uct","minVisitsExpand":1,"maxNodes":10000,"maxDuration":10},{"name":"strong","label":"Strong","log":true,"c":0.65,"ignoreLeaf":false,"playoutDepth":0,"uncertaintyFactor":3,"ai":"uct","minVisitsExpand":1,"maxNodes":20000,"maxDuration":15}]},"view":{"title-en":"Annex View","js":["reversi-xd-view.js"],"xdView":true,"useNotation":true,"useShowMoves":true,"module":"reversi","skins":[{"name":"classic3d","title":"3D Classic","3d":true,"camera":{"radius":14,"elevationAngle":45,"distMax":39.5,"distMin":10.1,"elevationMin":-89.9,"elevationMax":89.9,"limitCamMoves":true,"fov":45},"world":{"lightIntensity":0.7,"skyLightIntensity":0.3,"lightPosition":{"x":10,"y":18,"z":0},"lightShadowDarkness":0.35,"color":4686804,"ambientLightColor":5592405,"fog":false},"preload":["image|/res/xd-view/pass-dark.png","image|/res/xd-view/pass-light.png","image|/res/images/wood-chipboard-5.jpg","image|/res/xd-view/reversi-pieces-2-textures.png","image|/res/xd-view/reversi-pieces-2-textures-bump.png","smoothedfilegeo|0|/res/xd-view/ring-target.js","smoothedfilegeo|0|/res/xd-view/reversi-pieces-6.js"]},{"name":"classic2d","title":"2D Classic","preload":["image|/res/xd-view/pass-dark.png","image|/res/xd-view/pass-light.png","image|/res/xd-view/boardtexture.jpg","image|/res/xd-view/cellshadows.png","image|/res/xd-view/sprites.png","image|/res/xd-view/select-target-2d.png"]}],"visuals":{"600x600":["res/visuals/reversi4-600x600-3d.jpg","res/visuals/reversi4-600x600-2d.jpg"]}}}