UNPKG

jocly

Version:

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

1 lines 3.11 kB
exports.config = {"status":true,"model":{"title-en":"Ardri","summary":"7x7 board (from Scotland)","rules":{"en":"rules-tafl-ardri.html","fr":"rules-tafl-ardri-fr.html"},"js":["tafl-model.js"],"plazza":"true","thumbnail":"thumb-tafl-ardri.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,6,42,48],"attackers":-1,"longMove":false,"initial":{"attackers":[2,3,4,10,14,21,28,22,20,27,34,26,44,45,46,38],"defenders":{"king":24,"soldiers":[16,17,18,23,25,30,31,32]}},"homeCatch":true,"privateHome":true,"centerDistance":3},"demoRandom":true,"visuals":["res/visuals/ardri-600x600-3d.jpg","res/visuals/ardri-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/ardri-600x600-3d.jpg","res/visuals/ardri-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}}