UNPKG

jocly

Version:

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

1 lines 3.1 kB
exports.config = {"status":true,"model":{"title-en":"Tablut","summary":"9x9 board (from Laponia)","rules":{"en":"rules-tafl-tablut.html","fr":"rules-tafl-tablut-fr.html"},"js":["tafl-model.js"],"plazza":"true","thumbnail":"thumb-tafl-tablut.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":[],"attackers":1,"longMove":true,"initial":{"attackers":[3,4,5,13,27,36,45,37,35,44,53,43,75,76,77,67],"defenders":{"king":40,"soldiers":[22,31,38,39,41,42,49,58]}},"homeCatch":true,"privateHome":true,"centerDistance":4},"demoRandom":true,"visuals":["res/visuals/tablut-600x600-3d.jpg","res/visuals/tablut-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/tablut-600x600-3d.jpg","res/visuals/tablut-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}}