updated games

This commit is contained in:
mig 2017-05-05 17:38:53 +02:00
parent 83abf8e0cf
commit 09c5d9fc7d
19 changed files with 196 additions and 0 deletions

View file

@ -0,0 +1 @@
exports.config = {"status":true,"model":{"title-en":"Halloween Draughts","summary":"Same as international checkers on a 8x8 board.","thumbnail":"halloweenthumb.png","module":"checkers","maxLevel":20,"obsolete":true,"plazza":"broken","rules":"rules-brazilian-draughts.html","description":"description.html","credits":"credits.html","js":["checkersbase-model.js","draughts-model.js"],"gameOptions":{"preventRepeat":true,"width":4,"height":8,"initial":{"a":[[0,0],[0,1],[0,2],[0,3],[1,0],[1,1],[1,2],[1,3],[2,0],[2,1],[2,2],[2,3]],"b":[[7,0],[7,1],[7,2],[7,3],[6,0],[6,1],[6,2],[6,3],[5,0],[5,1],[5,2],[5,3]]},"variant":{"mustMoveForwardStrict":true,"lastRowCrown":true,"captureLongestLine":true,"lastRowFactor":0.001},"uctTransposition":"state"},"levels":[{"label":"Fast","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.5,"maxDuration":1,"isDefault":true},{"label":"Beginner","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.5,"maxDuration":0.5,"maxNodes":100,"maxLoops":200},{"label":"Easy","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.5,"maxDuration":1,"maxNodes":2500,"maxLoops":500},{"label":"Medium","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.5,"maxDuration":2,"maxNodes":5500,"maxLoops":500},{"label":"Hard","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.5,"maxDuration":5,"maxNodes":2000,"maxLoops":3500},{"label":"Expert","maxLoops":8000,"c":0.8,"playoutDepth":0,"minVisitsExpand":1,"ai":"uct","uncertaintyFactor":5,"propagateMultiVisits":false,"maxDuration":60,"maxNodes":15000,"ignoreLeaf":false}]},"view":{"title-en":"Draughts View","preferredRatio":1,"js":["checkersbase-view.js","draughts-view.js"],"skins":[{"name":"halloween","title":"Halloween"}],"visuals":{"600x600":["res/visuals/halloween-draughts-600x600-2d.jpg","res/visuals/halloween-draughts-b-600x600-2d.jpg"]},"module":"checkers","css":["checkersbase.css","draughts.css"],"switchable":true,"animateSelfMoves":false,"useNotation":true,"useShowMoves":true,"defaultOptions":{"sounds":true,"notation":false,"moves":true},"preloadImages":{"pieces":"res/images/pieces.png"}}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 8 KiB

View file

@ -0,0 +1 @@
exports.config = {"status":true,"model":{"title-en":"Basic Chess","summary":"Basic Chess","rules":{"en":"rules.html"},"module":"chessbase","plazza":"true","thumbnail":"knight-thumbnail.png","released":1389887778,"credits":{"en":"credits.html"},"gameOptions":{"preventRepeat":true,"uctTransposition":"state","uctIgnoreLoop":false,"levelOptions":{"checkFactor":0.2,"pieceValueFactor":1,"posValueFactor":0.1,"averageDistKingFactor":-0.01,"castleFactor":0.1,"minorPiecesMovedFactor":0.1,"pieceValueRatioFactor":1,"endingKingFreedomFactor":0.01,"endingDistKingFactor":0.05,"distKingCornerFactor":0.1,"distPawnPromo1Factor":0.3,"distPawnPromo2Factor":0.1,"distPawnPromo3Factor":0.05}},"obsolete":true,"js":["base-model.js","grid-geo-model.js","basic-model.js"],"levels":[{"name":"easy","label":"Easy","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":1000},{"name":"fast","label":"Fast [1sec]","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxDuration":1,"isDefault":true},{"name":"medium","label":"Medium","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":10000,"maxDuration":10},{"name":"strong","label":"Strong","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":20000,"maxDuration":15}]},"view":{"title-en":"Chessbase view","js":["base-view.js","grid-board-view.js","staunton-set-view.js","basic-view.js"],"xdView":true,"css":["chessbase.css"],"preferredRatio":1,"useShowMoves":true,"useNotation":true,"module":"chessbase","defaultOptions":{"sounds":true,"moves":true,"notation":false,"autocomplete":false},"skins":[{"name":"skin3d","title":"3D Classic","3d":true,"preload":[],"world":{"lightIntensity":1.3,"skyLightIntensity":1.2,"lightCastShadow":true,"fog":false,"color":4686804,"lightPosition":{"x":-9,"y":9,"z":9},"skyLightPosition":{"x":9,"y":9,"z":9},"lightShadowDarkness":0.55,"ambientLightColor":2236962},"camera":{"fov":45,"distMax":50,"radius":18,"elevationAngle":60,"elevationMin":0}},{"name":"skin2d","title":"2D Classic","3d":false,"preload":[]}],"animateSelfMoves":false,"switchable":true,"sounds":{"move1":"alq_move1","move2":"alq_move2","move3":"alq_move3","move4":"alq_move2","tac1":"alq_tac1","tac2":"alq_tac2","tac3":"alq_tac1","promo":"promo","usermove":null},"useAutoComplete":true}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
exports.config = {"status":true,"model":{"title-en":"360 Chess Authoring","summary":"Inventing the 360 Chess variant on a cube","rules":{"en":"rules.html"},"module":"chessbase","plazza":"true","thumbnail":"cubic-chess-thumb.png","released":1395590178,"credits":{"en":"credits.html"},"gameOptions":{"preventRepeat":true,"uctTransposition":"state","uctIgnoreLoop":false,"levelOptions":{"checkFactor":0.2,"pieceValueFactor":1,"posValueFactor":0.1,"averageDistKingFactor":-0.01,"castleFactor":0.1,"minorPiecesMovedFactor":0.1,"pieceValueRatioFactor":1,"endingKingFreedomFactor":0.01,"endingDistKingFactor":0.05,"distKingCornerFactor":0.1,"distPawnPromo1Factor":0.3,"distPawnPromo2Factor":0.1,"distPawnPromo3Factor":0.05}},"obsolete":true,"js":["base-model.js","cubic-geo-model.js","cubic-model.js"],"levels":[{"name":"easy","label":"Easy","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":1000},{"name":"fast","label":"Fast [1sec]","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxDuration":1,"isDefault":true},{"name":"medium","label":"Medium","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":10000,"maxDuration":10},{"name":"strong","label":"Strong","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":20000,"maxDuration":15}]},"view":{"title-en":"Chessbase view","js":["base-view.js","cubic-board-view.js","staunton-set-view.js","cubic-view.js"],"xdView":true,"css":["chessbase.css"],"preferredRatio":1.3333333333333,"useShowMoves":false,"useNotation":true,"module":"chessbase","defaultOptions":{"sounds":true,"moves":false,"notation":false,"autocomplete":false},"skins":[{"name":"skin3d","title":"3D Classic","3d":true,"preload":[],"world":{"lightIntensity":0,"skyLightIntensity":0,"lightCastShadow":false,"fog":false,"color":4686804,"lightPosition":{"x":9,"y":14,"z":9},"skyLightPosition":{"x":9,"y":9,"z":9},"lightShadowDarkness":0.55,"ambientLightColor":16777215},"camera":{"fov":45,"distMax":200,"radius":25,"elevationAngle":45,"elevationMin":-89,"rotationAngle":-45,"target":[0,0,0],"targetBounds":[3000,3000,6000]}},{"name":"skin2d","title":"2D Classic","3d":false,"preload":[]}],"animateSelfMoves":false,"switchable":false,"sounds":{"move1":"alq_move1","move2":"alq_move2","move3":"alq_move3","move4":"alq_move2","tac1":"alq_tac1","tac2":"alq_tac2","tac3":"alq_tac1","promo":"promo","usermove":null},"useAutoComplete":false}}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

180
dist/browser/games/scrum/scrum.css vendored Normal file
View file

@ -0,0 +1,180 @@
.cell {
position: absolute;
z-index: 0;
}
.cell-black {
background-color: #707070;
}
.cell-white {
background-color: #909090;
}
.cell-black.choice-view {
background-color: rgba(255,255,255,0.5);
}
.cell-black.choice-view.default {
background-color: #709070;
}
.cell-white.choice-view {
background-color: rgba(255,255,255,0.3);
}
.cell-white.choice-view.default {
background-color: #90B090;
}
/* same color */
.cell-white.choice-view,.cell-black.choice-view {
background-color: rgba(255,255,255,0.5);
}
/*
.cell-black.scrum {
background-color: #707090;
}
.cell-white.scrum {
background-color: #9090B0;
}
*/
.piece-white.choice-view:hover {
border: 2px solid Black;
}
.piece-black.choice-view:hover {
border: 2px solid White;
}
.piece-ball.choice-view:hover {
border: 2px solid Green;
}
.cell.choice-view:hover {
border: 2px solid Green;
}
.cell.chosen {
background-color: rgba(69,139,211,1.0);
}
.front {
position: absolute;
z-index: 200;
background: rgba(255,255,255,0);
}
.front.choice:hover {
border: 1px solid #d3ff00;
}
.piece,
.anim {
position: absolute;
z-index: 100;
font-family: Arial, sans-serif;
}
.piece-white {
background-color: White;
}
.piece-black {
background-color: Black;
}
.piece-ball {
background-color: Yellow;
}
.notation {
position: absolute;
font-family: Arial, sans-serif;
color: White;
top: 2px;
left: 2px;
z-index: 10;
}
.cancel-panel {
position: absolute;
top: 0px;
left: 0px;
z-index: 1;
}
/* // JCFROGCODE /////////////////////// */
.cell-white-rugby {
background-color: rgba(255, 255, 255, 0.0);
border-radius:50%;
}
.cell-black-rugby {
background-color: rgba(255, 255, 255, 0.0);
border-radius:50%;
}
.piece-rugby {
background: none;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
.piece-ball-rugby {
background-image: url(res/images/ballffr.png);
}
.piece-white-rugby {
background-image: url(res/images/playerf.png);
}
.piece-black-rugby {
background-image: url(res/images/playerf-b.png);
}
.piece-white-crab {
background-image: url(res/images/playerd.png);
}
.piece-black-crab {
background-image: url(res/images/playerd-b.png);
}
.piece-rugby-toulouse{
background-image: url(res/images/stade_toulousain_logo_125.png);
}
.piece-rugby-stadefr{
background-image: url(res/images/logo-stade-francais-paris.png);
}
.piece-ball-rugby-ffr {
background-image: url(res/images/ballffr.png);
}
.piece-rugby-tshirthtml5{
background-image: url(res/images/playere.png);
}
.piece-rugby-tshirtjocly{
background-image: url(res/images/playere-b.png);
}
.scrumarrow {
background-size: contain;
background-position: center;
background-repeat: no-repeat;
background-image: url(res/images/scrumarrow.png);
}
.undo{
background-size: contain;
background-position: center;
background-repeat: no-repeat;
background-image: url(res/images/undo.png);
}
.choice-cancel {
background-color: rgba(255,125,0,1.0);
border-radius:50%;
}
.xd-notation {
font-family: Arial, sans-serif;
color: White;
}
/* // /////////////////////// JCFROGCODE */

View file

@ -0,0 +1 @@
exports.config = {"status":true,"model":{"title-en":"Halloween Draughts","summary":"Same as international checkers on a 8x8 board.","thumbnail":"halloweenthumb.png","module":"checkers","maxLevel":20,"obsolete":true,"plazza":"broken","rules":"rules-brazilian-draughts.html","description":"description.html","credits":"credits.html","js":["checkersbase-model.js","draughts-model.js"],"gameOptions":{"preventRepeat":true,"width":4,"height":8,"initial":{"a":[[0,0],[0,1],[0,2],[0,3],[1,0],[1,1],[1,2],[1,3],[2,0],[2,1],[2,2],[2,3]],"b":[[7,0],[7,1],[7,2],[7,3],[6,0],[6,1],[6,2],[6,3],[5,0],[5,1],[5,2],[5,3]]},"variant":{"mustMoveForwardStrict":true,"lastRowCrown":true,"captureLongestLine":true,"lastRowFactor":0.001},"uctTransposition":"state"},"levels":[{"label":"Fast","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.5,"maxDuration":1,"isDefault":true},{"label":"Beginner","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.5,"maxDuration":0.5,"maxNodes":100,"maxLoops":200},{"label":"Easy","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.5,"maxDuration":1,"maxNodes":2500,"maxLoops":500},{"label":"Medium","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.5,"maxDuration":2,"maxNodes":5500,"maxLoops":500},{"label":"Hard","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.5,"maxDuration":5,"maxNodes":2000,"maxLoops":3500},{"label":"Expert","maxLoops":8000,"c":0.8,"playoutDepth":0,"minVisitsExpand":1,"ai":"uct","uncertaintyFactor":5,"propagateMultiVisits":false,"maxDuration":60,"maxNodes":15000,"ignoreLeaf":false}]},"view":{"title-en":"Draughts View","preferredRatio":1,"js":["checkersbase-view.js","draughts-view.js"],"skins":[{"name":"halloween","title":"Halloween"}],"visuals":{"600x600":["res/visuals/halloween-draughts-600x600-2d.jpg","res/visuals/halloween-draughts-b-600x600-2d.jpg"]},"module":"checkers","css":["checkersbase.css","draughts.css"],"switchable":true,"animateSelfMoves":false,"useNotation":true,"useShowMoves":true,"defaultOptions":{"sounds":true,"notation":false,"moves":true},"preloadImages":{"pieces":"res/images/pieces.png"}}}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
exports.config = {"status":true,"model":{"title-en":"Basic Chess","summary":"Basic Chess","rules":{"en":"rules.html"},"module":"chessbase","plazza":"true","thumbnail":"knight-thumbnail.png","released":1389887778,"credits":{"en":"credits.html"},"gameOptions":{"preventRepeat":true,"uctTransposition":"state","uctIgnoreLoop":false,"levelOptions":{"checkFactor":0.2,"pieceValueFactor":1,"posValueFactor":0.1,"averageDistKingFactor":-0.01,"castleFactor":0.1,"minorPiecesMovedFactor":0.1,"pieceValueRatioFactor":1,"endingKingFreedomFactor":0.01,"endingDistKingFactor":0.05,"distKingCornerFactor":0.1,"distPawnPromo1Factor":0.3,"distPawnPromo2Factor":0.1,"distPawnPromo3Factor":0.05}},"obsolete":true,"js":["base-model.js","grid-geo-model.js","basic-model.js"],"levels":[{"name":"easy","label":"Easy","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":1000},{"name":"fast","label":"Fast [1sec]","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxDuration":1,"isDefault":true},{"name":"medium","label":"Medium","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":10000,"maxDuration":10},{"name":"strong","label":"Strong","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":20000,"maxDuration":15}]},"view":{"title-en":"Chessbase view","js":["base-view.js","grid-board-view.js","staunton-set-view.js","basic-view.js"],"xdView":true,"css":["chessbase.css"],"preferredRatio":1,"useShowMoves":true,"useNotation":true,"module":"chessbase","defaultOptions":{"sounds":true,"moves":true,"notation":false,"autocomplete":false},"skins":[{"name":"skin3d","title":"3D Classic","3d":true,"preload":[],"world":{"lightIntensity":1.3,"skyLightIntensity":1.2,"lightCastShadow":true,"fog":false,"color":4686804,"lightPosition":{"x":-9,"y":9,"z":9},"skyLightPosition":{"x":9,"y":9,"z":9},"lightShadowDarkness":0.55,"ambientLightColor":2236962},"camera":{"fov":45,"distMax":50,"radius":18,"elevationAngle":60,"elevationMin":0}},{"name":"skin2d","title":"2D Classic","3d":false,"preload":[]}],"animateSelfMoves":false,"switchable":true,"sounds":{"move1":"alq_move1","move2":"alq_move2","move3":"alq_move3","move4":"alq_move2","tac1":"alq_tac1","tac2":"alq_tac2","tac3":"alq_tac1","promo":"promo","usermove":null},"useAutoComplete":true}}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
exports.config = {"status":true,"model":{"title-en":"360 Chess Authoring","summary":"Inventing the 360 Chess variant on a cube","rules":{"en":"rules.html"},"module":"chessbase","plazza":"true","thumbnail":"cubic-chess-thumb.png","released":1395590178,"credits":{"en":"credits.html"},"gameOptions":{"preventRepeat":true,"uctTransposition":"state","uctIgnoreLoop":false,"levelOptions":{"checkFactor":0.2,"pieceValueFactor":1,"posValueFactor":0.1,"averageDistKingFactor":-0.01,"castleFactor":0.1,"minorPiecesMovedFactor":0.1,"pieceValueRatioFactor":1,"endingKingFreedomFactor":0.01,"endingDistKingFactor":0.05,"distKingCornerFactor":0.1,"distPawnPromo1Factor":0.3,"distPawnPromo2Factor":0.1,"distPawnPromo3Factor":0.05}},"obsolete":true,"js":["base-model.js","cubic-geo-model.js","cubic-model.js"],"levels":[{"name":"easy","label":"Easy","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":1000},{"name":"fast","label":"Fast [1sec]","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxDuration":1,"isDefault":true},{"name":"medium","label":"Medium","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":10000,"maxDuration":10},{"name":"strong","label":"Strong","ai":"uct","playoutDepth":0,"minVisitsExpand":1,"c":0.6,"ignoreLeaf":false,"uncertaintyFactor":3,"maxNodes":20000,"maxDuration":15}]},"view":{"title-en":"Chessbase view","js":["base-view.js","cubic-board-view.js","staunton-set-view.js","cubic-view.js"],"xdView":true,"css":["chessbase.css"],"preferredRatio":1.3333333333333,"useShowMoves":false,"useNotation":true,"module":"chessbase","defaultOptions":{"sounds":true,"moves":false,"notation":false,"autocomplete":false},"skins":[{"name":"skin3d","title":"3D Classic","3d":true,"preload":[],"world":{"lightIntensity":0,"skyLightIntensity":0,"lightCastShadow":false,"fog":false,"color":4686804,"lightPosition":{"x":9,"y":14,"z":9},"skyLightPosition":{"x":9,"y":9,"z":9},"lightShadowDarkness":0.55,"ambientLightColor":16777215},"camera":{"fov":45,"distMax":200,"radius":25,"elevationAngle":45,"elevationMin":-89,"rotationAngle":-45,"target":[0,0,0],"targetBounds":[3000,3000,6000]}},{"name":"skin2d","title":"2D Classic","3d":false,"preload":[]}],"animateSelfMoves":false,"switchable":false,"sounds":{"move1":"alq_move1","move2":"alq_move2","move3":"alq_move3","move4":"alq_move2","tac1":"alq_tac1","tac2":"alq_tac2","tac3":"alq_tac1","promo":"promo","usermove":null},"useAutoComplete":false}}

File diff suppressed because one or more lines are too long