UNPKG

jocly

Version:

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

1 lines 3.37 kB
exports.config = {"status":true,"model":{"title-en":"Alea Evangelii","summary":"19x19 board (from England)","rules":{"en":"rules-alea-evangelii.html","fr":"rules-alea-evangelii-fr.html"},"js":["tafl-model.js"],"plazza":"true","thumbnail":"thumb-alea-evangelii.png","module":"tafl","description":{"en":"description.html","fr":"description-fr.html"},"credits":{"en":"credits.html","fr":"credits-fr.html"},"gameOptions":{"preventRepeat":true,"uctTransposition":"states","levelOptions":{"attackersCountFactor":10,"defendersCountFactor":-10,"kingPathFactor":-20,"kingFreedomFactor":-0.1,"distKingFactor":-0.05},"exclude":[0,18,342,360],"attackers":1,"longMove":true,"initial":{"attackers":[2,5,13,16,38,43,51,56,95,113,97,111,344,347,358,355,304,309,317,322,247,249,265,263,64,66,68,136,174,212,148,186,224,292,294,296,82,100,118,88,108,128,242,260,278,232,252,272],"defenders":{"king":180,"soldiers":[84,86,156,194,166,204,274,276,123,141,143,159,161,163,177,179,181,183,197,199,201,217,219,237]}},"homeCatch":true,"privateHome":true,"centerDistance":9},"demoRandom":true,"visuals":["res/visuals/alea-evangelii-600x600-3d.jpg","res/visuals/alea-evangelii-600x600-2d.jpg"],"levels":[{"name":"easy","label":"Easy","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.65,"uncertaintyFactor":3,"useAlphaBeta":true,"maxNodes":1000},{"name":"fast","label":"Fast [1sec]","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.65,"uncertaintyFactor":3,"useAlphaBeta":true,"maxDuration":1,"isDefault":true},{"name":"strong","label":"Strong","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.65,"uncertaintyFactor":3,"useAlphaBeta":true,"maxNodes":10000,"maxDuration":10}]},"view":{"title-en":"Tafl view","visuals":{"600x600":["res/visuals/alea-evangelii-600x600-3d.jpg","res/visuals/alea-evangelii-600x600-2d.jpg"]},"js":["tafl-xd-view.js"],"xdView":true,"css":["tafl.css"],"preferredRatio":1,"switchable":true,"module":"tafl","useNotation":true,"sounds":{"death1":"death1","death2":"death2","death3":"death3","move1":"move1","move3":"move3"},"defaultOptions":{"sounds":true,"moves":true,"notation":false},"skins":[{"name":"tafl3d","title":"3D Classic","3d":true,"camera":{"limitCamMoves":true,"radius":14,"rotationAngle":90,"elevationAngle":89.9,"elevationMin":2,"elevationMax":89.9},"world":{"lightIntensity":0.8,"skyLightIntensity":0.5,"lightCastShadow":false,"fog":false,"color":1118481,"lightPosition":{"x":10,"y":5,"z":0},"lightShadowDarkness":0.55,"ambientLightColor":4473924},"preload":["image|/res/xd-view/meshes/woodtoken-diffuse-black.jpg","image|/res/xd-view/meshes/woodtoken-diffuse.jpg","image|/res/images/ardriboard_bgx1024.jpg","image|/res/images/ardricellborders.png","image|/res/images/ardriblackcell.png","image|/res/images/ardrikingcell.png","image|/res/images/blackcell.png","image|/res/images/whitecell.png","smoothedfilegeo|0|/res/xd-view/meshes/taflboard.js","smoothedfilegeo|0|/res/xd-view/meshes/ring-target.js","smoothedfilegeo|0|/res/xd-view/meshes/woodtoken.js"]},{"name":"tafl2d","title":"2D Classic","3d":false,"preload":["image|/res/xd-view/meshes/ardri-sprites.png","image|/res/images/ardriboard_bgx1024.jpg","image|/res/images/ardricellborders.png","image|/res/images/ardriblackcell.png","image|/res/images/ardrikingcell.png","image|/res/images/blackcell.png","image|/res/images/whitecell.png"]}],"animateSelfMoves":false,"useShowMoves":false}}