update on alquerque

This commit is contained in:
mig 2017-05-06 01:21:49 +02:00
parent 5e77e63b7a
commit 88e2b1119c
12 changed files with 77 additions and 26 deletions

View file

@ -46,6 +46,4 @@ Model.Game.BuildGraphCoord = function() {
}
this.g.Graph=g;
this.g.Coord=coord;
this.g.compulsoryCatch=false;
}

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -0,0 +1,15 @@
<ul>
<li>Alfonso X of Castille (1221-1284) for writing the (somehow incomplete) rules of Alquerque for the first time.</li>
<li>Philip Mouskat (~1243) for mentionning the crowning rule.</li>
<li><a href="http://www.draughtshistory.nl/OpeningEngels.htm" target="_blank">Arie van der Stoep</a> for his proposal of those Aquerque rules</li>
</ul>
<h3>Jocly implementation</h3>
<ul>
<li>Development: Michel gutierrez (@<a target="_blank" href="http://twitter.com/_mig_">_mig_</a>)</li>
<li>Graphic design: Jérôme Choain (@<a target="_blank" href="http://twitter.com/jcfrog">jcfrog</a>)</li>
</ul>

View file

@ -249,7 +249,7 @@ exports.games = (function() {
}
var modelScripts_2 = [
"checkersbase-model.js",
"alquerque-avds-model.js"
"alquerque-arabic-model.js"
]
var config_view_js_2 = [
"checkers-xd-view.js",
@ -525,20 +525,20 @@ exports.games = (function() {
]
return [
{
"name": "alquerque-bell",
"name": "alquerque-roman",
"modelScripts": modelScripts,
"config": {
"status": true,
"model": {
"title-en": "Alquerque",
"summary": "A 10th century checkers game from Middle-East.",
"rules": "rules-alquerque-bell.html",
"title-en": "Roman Alquerque",
"summary": "Alquerque as played in the 10th century in France and England.",
"rules": "rules-alquerque-roman.html",
"maxLevel": 20,
"plazza": "true",
"thumbnail": "alquerque-thumb3d.png",
"thumbnail": "alquerque-roman-thumb3d.png",
"module": "checkers",
"description": "description.html",
"credits": "credits.html",
"credits": "credits-alquerque-roman.html",
"js": modelScripts,
"gameOptions": {
"preventRepeat": true,
@ -546,16 +546,21 @@ exports.games = (function() {
"height": 5,
"initial": config_model_gameOptions_initial,
"variant": {
"canStepBack": false,
"canStepBack": true,
"mustMoveForward": true,
"lastRowFreeze": true,
"noMove": "lose"
"lastRowFreeze": false,
"noMove": "lose",
"longRangeKing": false,
"kingCaptureShort": false,
"lastRowCrown": true,
"captureInstantRemove": true,
"canCaptureBackward": false
}
},
"levels": config_model_levels_7
},
"view": {
"title-en": "Alquerque Bell View",
"title-en": "Roman Alquerque",
"preferredRatio": 1,
"css": config_view_css,
"js": config_view_js,
@ -586,8 +591,8 @@ exports.games = (function() {
],
"visuals": {
"600x600": [
"res/visuals/alquerque-600x600-3d.jpg",
"res/visuals/alquerque-600x600-2d.jpg"
"res/visuals/alquerque-roman-600x600-3d.jpg",
"res/visuals/alquerque-roman-600x600-2d.jpg"
]
},
"module": "checkers",
@ -603,20 +608,20 @@ exports.games = (function() {
"viewScripts": config_view_js
},
{
"name": "alquerque-avds",
"name": "alquerque-arabic",
"modelScripts": modelScripts_2,
"config": {
"status": true,
"model": {
"title-en": "Alquerque AvdS",
"summary": "Alquerque rules proposal from a Draughts historian.",
"rules": "rules-alquerque-avds.html",
"title-en": "Arabic Alquerque",
"summary": "Alquerque as played in Middle-East and Spain.",
"rules": "rules-alquerque-arabic.html",
"maxLevel": 20,
"plazza": "true",
"thumbnail": "alquerque-avds3-thumb.png",
"thumbnail": "alquerque-arabic-thumb.png",
"module": "checkers",
"description": "description.html",
"credits": "credits-avds.html",
"credits": "credits-arabic.html",
"js": modelScripts_2,
"gameOptions": {
"preventRepeat": true,
@ -631,13 +636,15 @@ exports.games = (function() {
"longRangeKing": true,
"kingCaptureShort": false,
"lastRowCrown": true,
"canCaptureBackward": false
"canCaptureBackward": false,
"captureInstantRemove": true,
"compulsoryCatch": false
}
},
"levels": config_model_levels_7
},
"view": {
"title-en": "Alquerque Bell View",
"title-en": "Arabic Alquerque View",
"preferredRatio": 1,
"css": config_view_css,
"js": config_view_js_2,
@ -670,8 +677,8 @@ exports.games = (function() {
],
"visuals": {
"600x600": [
"res/visuals/alquerque-avds3-600x600-3d.jpg",
"res/visuals/alquerque-avds3-600x600-2d.jpg"
"res/visuals/alquerque-arabic-600x600-3d.jpg",
"res/visuals/alquerque-arabic-600x600-2d.jpg"
]
},
"module": "checkers",

View file

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 89 KiB

View file

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View file

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View file

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View file

@ -2,7 +2,8 @@
<p>
No one knows for sure the exact rules of Alquerque, the ancestor of all Draughts variants.
<a href="http://www.draughtshistory.nl/OpeningEngels.htm" target="_blank">Arie van der Stoep</a> has worked on the history
of Draughts since the 1970s and proposed this interpretation which might well be the original rules.
of Draughts since the 1970s and proposed this interpretation which might well be the original rules as played in Middle-East
and Spain in the 10th century.
</p>
<ul>
@ -17,6 +18,7 @@ of Draughts since the 1970s and proposed this interpretation which might well be
<li>A piece reaching the opposite row is promoted to a king</li>
<li>When possible, several captures can be performed at the same round (with the same piece)</li>
<li>Captures can not be performed backward, except by a king</li>
<li>Captures are not compulsory</li>
<li>A king can move along a line of free positions (long range king)</li>
<li>After capturing, the king can stop at any free position after the captured piece (no king halt)</li>
<li>A player not able to move any of his pieces loses the game</li>

View file

@ -0,0 +1,29 @@
<p>
No one knows for sure the exact rules of Alquerque, the ancestor of all Draughts variants.
<a href="http://www.draughtshistory.nl/OpeningEngels.htm" target="_blank">Arie van der Stoep</a> has worked on the history
of Draughts since the 1970s and proposed this interpretation which might well be the original rules as played in France
and England in the 15th century.
</p>
<ul>
<li>The board and initial position is the following:
<p style="text-align: center;"><img style="max-width:100%" src="{GAME}/res/rules/alquerque-start.jpg"/></p>
</li>
<li>Players take turn by moving one piece along the drawn lines</li>
<li>Pieces can move to an adjacent empty position, either forward or sideway</li>
<li>An adjacent opponent piece can be captured by jumping over it (which implies the next position is available)
<p style="text-align: center;"><img style="max-width:100%" src="{GAME}/res/rules/capture-alquerque.jpg"/></p>
</li>
<li>A piece reaching the opposite row is promoted to a king</li>
<li>When possible, several captures can be performed at the same round (with the same piece)</li>
<li>Captures can not be performed backward, except by a king</li>
<li>Captures are compulsory</li>
<li>A king can move forward or backward of one position (short range king)</li>
<li>After capturing, the king can stop at any free position after the captured piece (no king halt)</li>
<li>A player not able to move any of his pieces loses the game</li>
</ul>
<br/>
<p>Pieces: red vs black, promoted pieces have an extra white ring.</p>
<p style="text-align:center"><img style="max-width:100%" src="{GAME}/res/images/basic-alquerque2.png"/</p>