diff --git a/docs/contact.html b/docs/contact.html index 7a7edc2..f61d09b 100644 --- a/docs/contact.html +++ b/docs/contact.html @@ -317,7 +317,7 @@ - Dragon Dice +
IconDragon Dice
+


+
+ Icon +
diff --git a/docs/data/dicestring.txt b/docs/data/gamelogic-dicestr.json similarity index 94% rename from docs/data/dicestring.txt rename to docs/data/gamelogic-dicestr.json index 5fd77f3..d9c5933 100644 --- a/docs/data/dicestring.txt +++ b/docs/data/gamelogic-dicestr.json @@ -1,11 +1,11 @@ { - CompensatorZones.normal: [ + "CompensatorZones.normal": [ 6, 5, 9, 3, 8, 1, 3, 4, 1, 5, 7, 4, 2, 9, 4, 3, 5, 3, 4, 7, 2, 8, 1, 8, 5, 5, 5, 9, 7, 3, 2, 7, 5, 3, 1, 10, 3, 8, 3, 8, 4, 7, 1, 4, 2, 5, 1, 2, 2, 1, 4, 10, 2, 4, 1, 8, 6, 5, 3, 2, 3, 3, 3, 1, 8, 7, 2, 6, 10, 4, 4, 3, 3, 7, 2, 2, 2, 6, 4, 7, 3, 5, 7, 1, 9, 6, 6, 8, 1, 1, 1, 2, 6, 5, 2, 2, 2, 1, 3, 3, 10, 1, 6, 2, 1, 2, 3, 6, 5, 9, 3, 8, 9, 1, 3, 4, 1, 5, 7, 2, 9, 4, 3, 1, 5, 3, 4, 7, 2, 8, 1, 8, 5, 5, 5, 9, 7, 3, 2, 5, 2, 3, 1, 3, 1, 2, 1, 1, 10, 4, 3, 8, 3, 8, 4, 7, 1, 1, 4, 2, 5, 1, 1, 8, 2, 2, 4, 10, 2, 4, 1, 8, 6, 5, 3, 2, 3, 3, 3, 8, 1, 7, 2, 6, 10, 4, 4, 3, 3, 7, 2, 2, 2, 6, 4, 7, 3, 5, 7, 1, 9, 6, 6, 6, 8, 1, 1, 1, 2, 6, 5, 1, 10, 3, 3, 1, 6, 1, 2, 1, 2, 3 ], - CompensatorZones.boost: [ + "CompensatorZones.boost": [ 6, 5, 9, 3, 8, 1, 3, 4, 1, 5, 7, 4, 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9, 4, 3, 1, 5, 3, 4, 7, 2, 8, 1, 8, 5, 5, 5, 9, 7, 3, 2, 5, 2, 3, 1, 3, 1, 2, 1, 1, 10, 4, 3, 8, 3, 8, 4, 7, 1, 1, 4, 2, 5, 1, 1, 8, 2, 2, 4, 10, 2, 4, 1, 8, 6, 5, 3, 2, 3, 3, 3, 8, 1, 7, 2, 6, 10, 4, 4, 3, 3, 7, 2, 2, 2, 6, 4, 7, 3, 5, 7, 1, 9, 6, 6, 6, 8, 1, 1, 1, 2, 6, 5, 1, 1, 4, 2, 5, 1, 2, 3 ], } diff --git a/docs/data/gamelogic-dicestr.md b/docs/data/gamelogic-dicestr.md new file mode 100644 index 0000000..2f2fe04 --- /dev/null +++ b/docs/data/gamelogic-dicestr.md @@ -0,0 +1,7 @@ + + + diff --git a/docs/data/gamelogic-feattbl.csv b/docs/data/gamelogic-feattbl.csv new file mode 100644 index 0000000..d0ebd73 --- /dev/null +++ b/docs/data/gamelogic-feattbl.csv @@ -0,0 +1,8 @@ +"Feature","Modifier","Mode" +"Points in 3 grids","Total points x 1.5","Base Game" +"Points in 4 grids","Total points x 2","Base Game" +"All Alike in a grids","Grid points + 200","Base Game" +" "," "," " +"Blue free spin","Total points x 1.5","Free Spin" +"Green free spin","Total points x 2","Free Spin" +"Red free spin","Total points x 3","Free Spin" diff --git a/docs/data/gamelogic-pointstbl.csv b/docs/data/gamelogic-pointstbl.csv new file mode 100644 index 0000000..e8ab0f0 --- /dev/null +++ b/docs/data/gamelogic-pointstbl.csv @@ -0,0 +1,14 @@ +"Image","Symbol","Points","Notes" +![](./images/die1.png),"1","20"," " +![](./images/die2.png),"2","20"," " +![](./images/die3.png),"3","20"," " +![](./images/die4.png),"4","40"," " +![](./images/die5.png),"5","40"," " +![](./images/die6.png),"6","60"," " +![](./images/die7.png),"7","60"," " +![](./images/die8.png),"8","60"," " +![](./images/die9.png),"9","120"," " +![](./images/die10.png),"10","0","Only appears in dice string" +![](./images/die11.png),"11","0","Only appears in reel string" +![](./images/die12.png),"12","0","Only appears in reel string" +![](./images/die13.png),"13","0","Only appears in reel string" diff --git a/docs/data/gamelogic-prizetbl.csv b/docs/data/gamelogic-prizetbl.csv new file mode 100644 index 0000000..6c9dfe1 --- /dev/null +++ b/docs/data/gamelogic-prizetbl.csv @@ -0,0 +1,10 @@ +"Points","Stake Multiplier" +"0","0" +"100","2" +"150","3" +"200","4" +"300","7" +"400","12" +"500","20" +"750","50" +"1000","100" diff --git a/docs/data/gamelogic-reelstr.json b/docs/data/gamelogic-reelstr.json new file mode 100644 index 0000000..cf69906 --- /dev/null +++ b/docs/data/gamelogic-reelstr.json @@ -0,0 +1,12 @@ +{ + "CompensatorZones.normal": [ +1, 4, 6, 12, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, 11, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, 12, 3, 4, 13, 9, 2, 11, 3, 1, 4, 2, 3, 11, 2, 1, 8, 2, 6, 4, 2, 5, 3, 7, 2, 9, 3, 2, 6, 3, 6, 7, 4, 3, 1, 2, 1, 13, 1, 5, 6, 9, 8, 4, 3, 12, 7, 1, 1, 4, 2, 1, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 + ], + "CompensatorZones.boost": [ +1, 4, 6, 12, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, 11, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, 12, 3, 4, +13, 9, 2, 11, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 + ], + "CompensatorZones.brake": [ +1, 4, 6, 12, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, 11, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, 12, 3, 4, 13, 9, 2, 11, 3, 1, 4, 2, 3, 11, 2, 1, 8, 2, 6, 4, 2, 5, 3, 7, 2, 9, 3, 2, 6, 3, 6, 7, 4, 3, 1, 2, 1, 13, 1, 5, 6, 9, 8, 4, 3, 12, 7, 1, 1, 4, 2, 1, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 + ], +} diff --git a/docs/data/gamelogic-reelstr.md b/docs/data/gamelogic-reelstr.md new file mode 100644 index 0000000..0324859 --- /dev/null +++ b/docs/data/gamelogic-reelstr.md @@ -0,0 +1,7 @@ + + diff --git a/docs/data/gameplay-expl.md b/docs/data/gameplay-expl.md new file mode 100644 index 0000000..d35b1b8 --- /dev/null +++ b/docs/data/gameplay-expl.md @@ -0,0 +1,7 @@ +It is an extension of the Dragon Rolls brand. + +4 grids placement game with dice symbols. + +You play by choosing in which grid to place the next set of 3 dice. Each grid fills up from left to right. You score point by forming winline combinations of 3 identical symbols horizontally or diagonally in a single grid. + +All points in grids add up to a total that gets converted to a cash payout. diff --git a/docs/data/index-desc.md b/docs/data/index-desc.md new file mode 100644 index 0000000..18e713b --- /dev/null +++ b/docs/data/index-desc.md @@ -0,0 +1 @@ +This game is a 4 grid placement game in the Dragon Rolls theme. diff --git a/docs/tables/features.csv b/docs/data/index-feat.csv similarity index 100% rename from docs/tables/features.csv rename to docs/data/index-feat.csv diff --git a/docs/data/index-target.md b/docs/data/index-target.md new file mode 100644 index 0000000..c1c87c5 --- /dev/null +++ b/docs/data/index-target.md @@ -0,0 +1,3 @@ +- Reel players +- Fans of dragon rolls branding +- Dice players diff --git a/docs/data/index-type.md b/docs/data/index-type.md new file mode 100644 index 0000000..aff08fa --- /dev/null +++ b/docs/data/index-type.md @@ -0,0 +1 @@ +Placement Game diff --git a/docs/data/reeltable.txt b/docs/data/reeltable.txt deleted file mode 100644 index 1916433..0000000 --- a/docs/data/reeltable.txt +++ /dev/null @@ -1,12 +0,0 @@ -{ - CompensatorZones.normal: [ -1, 4, 6, symbol_green, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, symbol_blue, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, symbol_green, 3, 4, symbol_red, 9, 2, symbol_blue, 3, 1, 4, 2, 3, symbol_blue, 2, 1, 8, 2, 6, 4, 2, 5, 3, 7, 2, 9, 3, 2, 6, 3, 6, 7, 4, 3, 1, 2, 1, symbol_red, 1, 5, 6, 9, 8, 4, 3, symbol_green, 7, 1, 1, 4, 2, 1, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 - ], - CompensatorZones.boost: [ -1, 4, 6, symbol_green, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, symbol_blue, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, symbol_green, 3, 4, -symbol_red, 9, 2, symbol_blue, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 - ], - CompensatorZones.brake: [ -1, 4, 6, symbol_green, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, symbol_blue, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, symbol_green, 3, 4, symbol_red, 9, 2, symbol_blue, 3, 1, 4, 2, 3, symbol_blue, 2, 1, 8, 2, 6, 4, 2, 5, 3, 7, 2, 9, 3, 2, 6, 3, 6, 7, 4, 3, 1, 2, 1, symbol_red, 1, 5, 6, 9, 8, 4, 3, symbol_green, 7, 1, 1, 4, 2, 1, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 - ], -} diff --git a/docs/footer.html b/docs/footer.html new file mode 100644 index 0000000..870a862 --- /dev/null +++ b/docs/footer.html @@ -0,0 +1,4 @@ +


+
+ Icon +
diff --git a/docs/gamelogic.html b/docs/gamelogic.html index 0476413..7f320f5 100644 --- a/docs/gamelogic.html +++ b/docs/gamelogic.html @@ -318,7 +318,7 @@ - Dragon Dice +
IconDragon Dice
-



+


+



Game Description

This game is a 4 grid placement game in the Dragon Rolls theme. @@ -384,9 +385,9 @@

Features & Selling Points

- - @@ -451,6 +452,10 @@

Features & Selling Points

+ + Description
+


+
+ Icon +
diff --git a/docs/tables/pointstable.csv b/docs/tables/pointstable.csv deleted file mode 100644 index f508843..0000000 --- a/docs/tables/pointstable.csv +++ /dev/null @@ -1,14 +0,0 @@ -"image","symbol","points","notes" -,"1","20"," " -" ","2","20"," " -" ","3","20"," " -" ","4","40"," " -" ","5","40"," " -" ","6","60"," " -" ","7","60"," " -" ","8","60"," " -" ","9","120"," " -" ","10 (bonus symbol)","0"," " -" ","11 (blue symbol)","0","only appears in reel table" -" ","12 (green symbol)","0","only appears in reel table" -" ","13 (red symbol)","0","only appears in reel table" diff --git a/webBuild/_navbar.yml b/webBuild/_navbar.yml index ca09af6..c41af80 100644 --- a/webBuild/_navbar.yml +++ b/webBuild/_navbar.yml @@ -1,5 +1,5 @@ name: "Dragon-Dice" -title: "Dragon Dice" +title: "
\"Icon\"Dragon Dice
" type: inverse left: - text: "Design Document" diff --git a/webBuild/_site.yml b/webBuild/_site.yml index e6237e7..d3f110f 100644 --- a/webBuild/_site.yml +++ b/webBuild/_site.yml @@ -6,4 +6,7 @@ output: toc_float: true toc_collapsed: true toc_depth: 3 - theme: lumen \ No newline at end of file + theme: lumen + includes: + after_body: "footer.html" + \ No newline at end of file diff --git a/webBuild/data/dicestring.txt b/webBuild/data/gamelogic-dicestr.json similarity index 94% rename from webBuild/data/dicestring.txt rename to webBuild/data/gamelogic-dicestr.json index 5fd77f3..d9c5933 100644 --- a/webBuild/data/dicestring.txt +++ b/webBuild/data/gamelogic-dicestr.json @@ -1,11 +1,11 @@ { - CompensatorZones.normal: [ + "CompensatorZones.normal": [ 6, 5, 9, 3, 8, 1, 3, 4, 1, 5, 7, 4, 2, 9, 4, 3, 5, 3, 4, 7, 2, 8, 1, 8, 5, 5, 5, 9, 7, 3, 2, 7, 5, 3, 1, 10, 3, 8, 3, 8, 4, 7, 1, 4, 2, 5, 1, 2, 2, 1, 4, 10, 2, 4, 1, 8, 6, 5, 3, 2, 3, 3, 3, 1, 8, 7, 2, 6, 10, 4, 4, 3, 3, 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2, 6, 10, 4, 4, 3, 3, 7, 2, 2, 2, 6, 4, 7, 3, 5, 7, 1, 1, 2, 6, 10, 4, 3, 8, 9, 1, 3, 4, 7, 1, 4, 2, 5, 1, 10, 3, 3, 1, 2, 3 ], - CompensatorZones.brake: [ + "CompensatorZones.brake": [ 6, 5, 9, 3, 8, 1, 3, 4, 1, 5, 7, 4, 2, 9, 4, 3, 5, 3, 4, 7, 2, 8, 1, 8, 5, 5, 5, 9, 7, 3, 2, 7, 5, 3, 1, 10, 3, 8, 3, 8, 4, 7, 1, 4, 2, 5, 1, 2, 2, 1, 4, 10, 2, 4, 1, 8, 6, 5, 3, 2, 3, 3, 3, 1, 8, 7, 2, 6, 10, 4, 4, 3, 3, 7, 2, 2, 2, 6, 4, 7, 3, 5, 7, 1, 9, 6, 6, 8, 1, 1, 1, 2, 6, 5, 2, 2, 2, 1, 3, 3, 10, 1, 6, 2, 1, 2, 3, 6, 5, 9, 3, 8, 9, 1, 3, 4, 1, 5, 7, 2, 9, 4, 3, 1, 5, 3, 4, 7, 2, 8, 1, 8, 5, 5, 5, 9, 7, 3, 2, 5, 2, 3, 1, 3, 1, 2, 1, 1, 10, 4, 3, 8, 3, 8, 4, 7, 1, 1, 4, 2, 5, 1, 1, 8, 2, 2, 4, 10, 2, 4, 1, 8, 6, 5, 3, 2, 3, 3, 3, 8, 1, 7, 2, 6, 10, 4, 4, 3, 3, 7, 2, 2, 2, 6, 4, 7, 3, 5, 7, 1, 9, 6, 6, 6, 8, 1, 1, 1, 2, 6, 5, 1, 1, 4, 2, 5, 1, 2, 3 ], } diff --git a/webBuild/data/gamelogic-dicestr.md b/webBuild/data/gamelogic-dicestr.md new file mode 100644 index 0000000..2f2fe04 --- /dev/null +++ b/webBuild/data/gamelogic-dicestr.md @@ -0,0 +1,7 @@ + + + diff --git a/webBuild/data/gamelogic-feattbl.csv b/webBuild/data/gamelogic-feattbl.csv new file mode 100644 index 0000000..d0ebd73 --- /dev/null +++ b/webBuild/data/gamelogic-feattbl.csv @@ -0,0 +1,8 @@ +"Feature","Modifier","Mode" +"Points in 3 grids","Total points x 1.5","Base Game" +"Points in 4 grids","Total points x 2","Base Game" +"All Alike in a grids","Grid points + 200","Base Game" +" "," "," " +"Blue free spin","Total points x 1.5","Free Spin" +"Green free spin","Total points x 2","Free Spin" +"Red free spin","Total points x 3","Free Spin" diff --git a/webBuild/data/gamelogic-pointstbl.csv b/webBuild/data/gamelogic-pointstbl.csv new file mode 100644 index 0000000..e8ab0f0 --- /dev/null +++ b/webBuild/data/gamelogic-pointstbl.csv @@ -0,0 +1,14 @@ +"Image","Symbol","Points","Notes" +![](./images/die1.png),"1","20"," " +![](./images/die2.png),"2","20"," " +![](./images/die3.png),"3","20"," " +![](./images/die4.png),"4","40"," " +![](./images/die5.png),"5","40"," " +![](./images/die6.png),"6","60"," " +![](./images/die7.png),"7","60"," " +![](./images/die8.png),"8","60"," " +![](./images/die9.png),"9","120"," " +![](./images/die10.png),"10","0","Only appears in dice string" +![](./images/die11.png),"11","0","Only appears in reel string" +![](./images/die12.png),"12","0","Only appears in reel string" +![](./images/die13.png),"13","0","Only appears in reel string" diff --git a/webBuild/data/gamelogic-prizetbl.csv b/webBuild/data/gamelogic-prizetbl.csv new file mode 100644 index 0000000..6c9dfe1 --- /dev/null +++ b/webBuild/data/gamelogic-prizetbl.csv @@ -0,0 +1,10 @@ +"Points","Stake Multiplier" +"0","0" +"100","2" +"150","3" +"200","4" +"300","7" +"400","12" +"500","20" +"750","50" +"1000","100" diff --git a/webBuild/data/gamelogic-reelstr.json b/webBuild/data/gamelogic-reelstr.json new file mode 100644 index 0000000..cf69906 --- /dev/null +++ b/webBuild/data/gamelogic-reelstr.json @@ -0,0 +1,12 @@ +{ + "CompensatorZones.normal": [ +1, 4, 6, 12, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, 11, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, 12, 3, 4, 13, 9, 2, 11, 3, 1, 4, 2, 3, 11, 2, 1, 8, 2, 6, 4, 2, 5, 3, 7, 2, 9, 3, 2, 6, 3, 6, 7, 4, 3, 1, 2, 1, 13, 1, 5, 6, 9, 8, 4, 3, 12, 7, 1, 1, 4, 2, 1, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 + ], + "CompensatorZones.boost": [ +1, 4, 6, 12, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, 11, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, 12, 3, 4, +13, 9, 2, 11, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 + ], + "CompensatorZones.brake": [ +1, 4, 6, 12, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, 11, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, 12, 3, 4, 13, 9, 2, 11, 3, 1, 4, 2, 3, 11, 2, 1, 8, 2, 6, 4, 2, 5, 3, 7, 2, 9, 3, 2, 6, 3, 6, 7, 4, 3, 1, 2, 1, 13, 1, 5, 6, 9, 8, 4, 3, 12, 7, 1, 1, 4, 2, 1, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 + ], +} diff --git a/webBuild/data/gamelogic-reelstr.md b/webBuild/data/gamelogic-reelstr.md new file mode 100644 index 0000000..0324859 --- /dev/null +++ b/webBuild/data/gamelogic-reelstr.md @@ -0,0 +1,7 @@ + + diff --git a/webBuild/data/gameplay-expl.md b/webBuild/data/gameplay-expl.md new file mode 100644 index 0000000..d35b1b8 --- /dev/null +++ b/webBuild/data/gameplay-expl.md @@ -0,0 +1,7 @@ +It is an extension of the Dragon Rolls brand. + +4 grids placement game with dice symbols. + +You play by choosing in which grid to place the next set of 3 dice. Each grid fills up from left to right. You score point by forming winline combinations of 3 identical symbols horizontally or diagonally in a single grid. + +All points in grids add up to a total that gets converted to a cash payout. diff --git a/webBuild/data/index-desc.md b/webBuild/data/index-desc.md new file mode 100644 index 0000000..18e713b --- /dev/null +++ b/webBuild/data/index-desc.md @@ -0,0 +1 @@ +This game is a 4 grid placement game in the Dragon Rolls theme. diff --git a/webBuild/tables/features.csv b/webBuild/data/index-feat.csv similarity index 100% rename from webBuild/tables/features.csv rename to webBuild/data/index-feat.csv diff --git a/webBuild/data/index-target.md b/webBuild/data/index-target.md new file mode 100644 index 0000000..c1c87c5 --- /dev/null +++ b/webBuild/data/index-target.md @@ -0,0 +1,3 @@ +- Reel players +- Fans of dragon rolls branding +- Dice players diff --git a/webBuild/data/index-type.md b/webBuild/data/index-type.md new file mode 100644 index 0000000..aff08fa --- /dev/null +++ b/webBuild/data/index-type.md @@ -0,0 +1 @@ +Placement Game diff --git a/webBuild/data/reeltable.txt b/webBuild/data/reeltable.txt deleted file mode 100644 index 1916433..0000000 --- a/webBuild/data/reeltable.txt +++ /dev/null @@ -1,12 +0,0 @@ -{ - CompensatorZones.normal: [ -1, 4, 6, symbol_green, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, symbol_blue, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, symbol_green, 3, 4, symbol_red, 9, 2, symbol_blue, 3, 1, 4, 2, 3, symbol_blue, 2, 1, 8, 2, 6, 4, 2, 5, 3, 7, 2, 9, 3, 2, 6, 3, 6, 7, 4, 3, 1, 2, 1, symbol_red, 1, 5, 6, 9, 8, 4, 3, symbol_green, 7, 1, 1, 4, 2, 1, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 - ], - CompensatorZones.boost: [ -1, 4, 6, symbol_green, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, symbol_blue, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, symbol_green, 3, 4, -symbol_red, 9, 2, symbol_blue, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 - ], - CompensatorZones.brake: [ -1, 4, 6, symbol_green, 7, 2, 1, 1, 5, 8, 3, 5, 3, 5, 9, 4, 2, 1, symbol_blue, 3, 2, 4, 1, 3, 8, 6, 4, 1, 7, 1, 2, 9, symbol_green, 3, 4, symbol_red, 9, 2, symbol_blue, 3, 1, 4, 2, 3, symbol_blue, 2, 1, 8, 2, 6, 4, 2, 5, 3, 7, 2, 9, 3, 2, 6, 3, 6, 7, 4, 3, 1, 2, 1, symbol_red, 1, 5, 6, 9, 8, 4, 3, symbol_green, 7, 1, 1, 4, 2, 1, 3, 2, 4, 1, 2, 3, 3, 3, 1, 2, 1, 4 - ], -} diff --git a/webBuild/footer.html b/webBuild/footer.html new file mode 100644 index 0000000..870a862 --- /dev/null +++ b/webBuild/footer.html @@ -0,0 +1,4 @@ +


+
+ Icon +
diff --git a/webBuild/functions.R b/webBuild/functions.R index d348dea..98c2a64 100644 --- a/webBuild/functions.R +++ b/webBuild/functions.R @@ -1,27 +1,31 @@ -createCsvTable <- function(path, display_rows = 15) { +printTxt <- function(path) { + file_content = readLines(path) + cat( file_content, sep = "\n") +} + +createCsvTable <- function(path, display_rows = 100) { library(data.table) library(knitr) library(kableExtra) - x = readLines(path) - y = gsub('","', "','", x) # replace double quotes for each field - y = gsub('^"|"$', "'", y) # replace trailing and leading double quotes - z = paste(y, collapse='\n') # turn it back into a table for fread to read + table_color = "#158CBA" - features = fread(z, quote="'") + # Read CSV file + file_content <- fread(path, quote = "\"") - kable(head(features, display_rows)) %>% - kable_styling(bootstrap_options = "bordered", latex_options = "striped", full_width = FALSE) -} - -createCsvTableTwo <- function(path, display_rows = 15) { - library(data.table) - library(knitr) - library(kableExtra) + # Create HTML table with kable + tbl <- kable(head(file_content, display_rows), format = "html") + + # Identify rows with empty cells + empty_rows <- apply(file_content, 1, function(row) all(row == "" | row == " ")) + + # Apply styling to make the first row cells grey with white text + tbl <- tbl %>% + kable_styling(bootstrap_options = "bordered", latex_options = "striped", full_width = FALSE) %>% + row_spec(0, background = table_color, color = "white") %>% + row_spec(which(empty_rows), background = table_color) - features <- fread(path, quote = "\"") - kable(head(features, display_rows), format = "html") %>% - kable_styling(bootstrap_options = "bordered", latex_options = "striped", full_width = FALSE) + return(tbl) } printJson <- function(path) { diff --git a/webBuild/gamelogic.Rmd b/webBuild/gamelogic.Rmd index 5257e03..8084c1d 100644 --- a/webBuild/gamelogic.Rmd +++ b/webBuild/gamelogic.Rmd @@ -4,46 +4,46 @@ output: html_document --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = FALSE) -library(knitr) ```
## Dice String - - -```{r echo=FALSE, results='asis'} +```{r child = './data/gamelogic-dicestr.md'} +``` +```{r, results='asis'} source("functions.R") -printJson('./data/dicestring.txt') +printJson('./data/gamelogic-dicestr.json') ```

-## Reel Table [Free Spins] +## Reel String [Free Spins] - - -```{r echo=FALSE, results='asis'} +```{r child = './data/gamelogic-reelstr.md'} +``` +```{r, results='asis'} source("functions.R") -printJson('./data/reeltable.txt') +printJson('./data/gamelogic-reelstr.json') ```

-
-``` {r echo=FALSE, result='asis'} +
## Points Table +```{r, result='asis'} source("functions.R") -createCsvTableTwo('./tables/pointstable.csv') +createCsvTable('./data/gamelogic-pointstbl.csv') ```
-
- This is the content of the second column. +
## Prize Table +```{r, result='asis'} +source("functions.R") +createCsvTable('./data/gamelogic-prizetbl.csv') +```
-
- This is the content of the third column. +
## Features +```{r, result='asis'} +source("functions.R") +createCsvTable('./data/gamelogic-feattbl.csv') +```
diff --git a/webBuild/gameplay.Rmd b/webBuild/gameplay.Rmd index 9676964..2a65b5b 100644 --- a/webBuild/gameplay.Rmd +++ b/webBuild/gameplay.Rmd @@ -2,14 +2,12 @@ title: "Gameplay" output: html_document --- +```{r setup, include=FALSE} +knitr::opts_chunk$set(echo = FALSE) +```
## Explanation -It is an extension of the Dragon Rolls brand. - -4 grids placement game with dice symbols. - -You play by choosing in which grid to place the next set of 3 dice. Each grid fills up from left to right. You score point by forming winline combinations of 3 identical symbols horizontally or diagonally in a single grid. - -All points in grids add up to a total that gets converted to a cash payout. +```{r child = './data/gameplay-expl.md'} +``` diff --git a/webBuild/images/aleacsys-online.png b/webBuild/images/aleacsys-online.png new file mode 100644 index 0000000..49b4000 Binary files /dev/null and b/webBuild/images/aleacsys-online.png differ diff --git a/webBuild/images/aleacsys.png b/webBuild/images/aleacsys.png new file mode 100644 index 0000000..ba56b97 Binary files /dev/null and b/webBuild/images/aleacsys.png differ diff --git a/webBuild/images/dragon-dice-html5.png b/webBuild/images/logo.png similarity index 100% rename from webBuild/images/dragon-dice-html5.png rename to webBuild/images/logo.png diff --git a/webBuild/index.Rmd b/webBuild/index.Rmd index 96e51a0..a467931 100644 --- a/webBuild/index.Rmd +++ b/webBuild/index.Rmd @@ -2,30 +2,34 @@ output: html_document --- ```{r setup, include=FALSE} -knitr::opts_chunk$set(echo = FALSE) -library(knitr) +knitr::opts_chunk$set(echo = FALSE) ``` +
-![](images/dragon-dice-html5.png) +![](images/logo.png)

## Game Description -This game is a 4 grid placement game in the Dragon Rolls theme.

+```{r child = './data/index-desc.md'} +``` +

## Game Type -Placement Game

+```{r child = './data/index-type.md'} +``` +

## Target Audience -- Reel players -- Fans of dragon rolls branding -- Dice players

+```{r child = './data/index-target.md'} +``` +

## Features & Selling Points -``` {r echo=FALSE, result='asis'} +``` {r, result='asis'} source("functions.R") -createCsvTableTwo('./tables/features.csv') +createCsvTable('./data/index-feat.csv') ``` \ No newline at end of file diff --git a/webBuild/tables/pointstable.csv b/webBuild/tables/pointstable.csv deleted file mode 100644 index f508843..0000000 --- a/webBuild/tables/pointstable.csv +++ /dev/null @@ -1,14 +0,0 @@ -"image","symbol","points","notes" -,"1","20"," " -" ","2","20"," " -" ","3","20"," " -" ","4","40"," " -" ","5","40"," " -" ","6","60"," " -" ","7","60"," " -" ","8","60"," " -" ","9","120"," " -" ","10 (bonus symbol)","0"," " -" ","11 (blue symbol)","0","only appears in reel table" -" ","12 (green symbol)","0","only appears in reel table" -" ","13 (red symbol)","0","only appears in reel table"