diff --git a/.RData b/.RData deleted file mode 100644 index 6411017..0000000 Binary files a/.RData and /dev/null differ diff --git a/.Rhistory b/.Rhistory deleted file mode 100644 index 08d8a5b..0000000 --- a/.Rhistory +++ /dev/null @@ -1,347 +0,0 @@ -knitr::opts_chunk$set(echo = TRUE) -summary(cars) -knitr::opts_chunk$set(echo = TRUE) -knitr::opts_chunk$set(echo = TRUE) -knitr::opts_chunk$set(echo = TRUE) -View(cars) -install.packages("prettydoc") -install.packages("rmdformats") -knitr::opts_chunk$set(echo = TRUE) -summary(cars) -View(cars) -knitr::opts_chunk$set(echo = TRUE) -knitr::opts_chunk$set(echo = TRUE) -knitr::opts_chunk$set(echo = TRUE) -summary(features) -summary(features) -library(knitr) -knitr::kable(head(mtcars[, 1:4]), "pipe") -View(mtcars) -library(knitr) -knitr::kable(head(table/featrure), "pipe") -library(knitr) -knitr::kable(head(table/feature), "pipe") -library(knitr) -knitr::kable(head(./table/feature), "pipe") -library(knitr) -myCsv = read.csv(./tables/feature) -library(knitr) -myCsv = read.csv(./tables/feature) -library(knitr) -myCsv = read.csv(./tables/feature.csv) -library(data.table) -data3 <- fread("./tables/feature.csv") -library(data.table) -data3 <- fread(./tables/feature.csv) -library(data.table) -data3 <- fread("./tables/features.csv") -library(data.table) -data3 <- fread("./tables/features.csv", quote="") -read.table("./tables/features.csv") -View(data3) -library(readr) -features <- read_csv("webBuild/tables/features.csv") -View(features) -library(readr) -features <- read_csv("./tables/features.csv") -View(features) -View(features) -View(data3) -View(data3) -View(data3) -View(data3) -library(readr) -features <- read_csv("./tables/features.csv") -View(features) -View(features) -library(readr) -features <- read_csv("./tables/features.csv") -spec(features) -library(readr) -features <- read_csv("./tables/features.csv") -spec(features) -library(readr) -features <- read_csv("./tables/features.csv") -spec(features) -View(features) -gc() -library(readr) -features <- read_csv("./tables/features.csv") -spec(features) -library(readr) -features <- read_csv(readr_example("./tables/features.csv") -spec(features) -library(readr) -features <- read_csv("./tables/features.csv") -View(features) -library(readr) -features <- read_csv("webBuild/tables/features.csv") -View(features) -library(readr) -features <- read_csv("./tables/features.csv") -View(features) -library(readr) -features <- read_csv("./tables/features.csv") -View(features) -library(readr) -features <- read_csv("./tables/features.csv") -spec(features) -library(readr) -features <- read_csv("./tables/features.csv") -spec(features) -library(readr) -features <- read_csv("./tables/features.csv") -spec(features) -library(readr) -features <- read_csv("./tables/features.csv", show_col_types = FALSE) -spec(features) -library(readr) -features <- read_csv("./tables/features.csv", show_col_types = FALSE) -view(features) -library(readr) -features <- read_csv("./tables/features.csv", show_col_types = FALSE) -View(features) -View(features) -library(readr) -features <- read_csv("./tables/features.csv", show_col_types = FALSE) -summary(features) -library(readr) -features <- read_csv("./tables/features.csv", show_col_types = FALSE) -View(features) -library(readr) -features <- read_csv("./tables/features.csv", show_col_types = FALSE) -View(features) -library(readr) -features <- read.csv("./tables/features.csv") -glimpse(features) -library(readr) -features <- read.csv("./tables/features.csv") -head(features) -library(readr) -features <- read.csv("./tables/features.csv", header=TRUE, stringsAsFactors=FALSE) -head(features) -library(data.table) -features <- fread("./tables/features.csv") -head(features) -library(knitr) -features <- fread("./tables/features.csv") -kable(head(features)) -library(knitr) -features <- fread("./tables/features.csv") -kable(head(features)) -library(data.table) -features <- fread("./tables/features.csv") -library(knitr) -kable(head(features)) -library(data.table) -features <- fread("./tables/features.csv", quote="") -library(knitr) -kable(head(features)) -library(data.table) -features <- fread("./tables/features.csv", quote="") -library(knitr) -kable(head(features)) -library(data.table) -features <- fread("./tables/features.csv", quote="") -library(knitr) -kable(head(features)) -library(data.table) -features <- fread("./tables/features.csv", quote="", fill=TRUE) -library(knitr) -kable(head(features)) -library(data.table) -features <- fread("./tables/features.csv", quote="", fill=TRUE) -library(knitr) -kable(head(features)) -library(data.table) -features <- fread("./tables/features.csv", fill=TRUE) -library(data.table) -features <- fread("./tables/features.csv") -library(knitr) -kable(head(features)) -library(data.table) -features <- fread("./tables/features.csv") -library(knitr) -kable(head(features)) -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(knitr) -kable(head(features)) -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(knitr) -kable(head(features)) -kable_styling() -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(knitr) -kable(head(features), "html") -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(knitr) -kable(head(features), "pipe") -library(kable_styling) -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(latex_options = "striped") -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(rmarkdown) -paged_table(features) -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(rmarkdown) -paged_table(features, options = list(rows.print = 15, cols.print = 5)) -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(latex_options = "striped") -library(data.table) -x = readLines('./tables/features-test.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(latex_options = "striped") -library(data.table) -x = readLines('./tables/features-test.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(latex_options = "striped") -library(data.table) -x = readLines('./tables/features-test.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling() -library(data.table) -x = readLines('./tables/features-test.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(latex_options = "striped") -library(data.table) -x = readLines('./tables/features-test.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(latex_options = "bordered") -library(data.table) -x = readLines('./tables/features-test.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(bootstrap_options = "bordered", latex_options = "striped") -library(data.table) -x = readLines('./tables/features-test.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(bootstrap_options = "bordered", latex_options = "striped", full_width = FALSE) -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(bootstrap_options = "bordered", latex_options = "striped", full_width = FALSE) -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(bootstrap_options = "bordered", latex_options = "striped", full_width = FALSE) -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(bootstrap_options = "bordered", latex_options = "striped", full_width = FALSE) -library(data.table) -x = readLines('./tables/features.csv') -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 -features = fread(z, quote="'") -library(knitr) -library(kableExtra) -kable(head(features)) %>% -kable_styling(bootstrap_options = "bordered", latex_options = "striped", full_width = FALSE) -source("functions.R") -createCsvTable('./tables/features.csv') diff --git a/.gitignore b/.gitignore index cd67eac..807ea25 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .Rproj.user +.Rhistory +.RData diff --git a/docs/data/dicestring.txt b/docs/data/dicestring.txt new file mode 100644 index 0000000..5fd77f3 --- /dev/null +++ b/docs/data/dicestring.txt @@ -0,0 +1,11 @@ +{ + 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: [ +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,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, 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/reeltable.txt b/docs/data/reeltable.txt new file mode 100644 index 0000000..1916433 --- /dev/null +++ b/docs/data/reeltable.txt @@ -0,0 +1,12 @@ +{ + 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/gamelogic.html b/docs/gamelogic.html index a91a3d8..0476413 100644 --- a/docs/gamelogic.html +++ b/docs/gamelogic.html @@ -11,7 +11,7 @@ -gamelogic.knit +Game Logic @@ -35,6 +35,8 @@ + + @@ -355,35 +357,240 @@ +

Game Logic

-
-

Game Logic

-
-

Dice String

+


+
+

Dice String

+
{
-    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.normal: [
+6, 5, 9, 3, 8, 1,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 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
     ],
-}
+} + +



+
+
+

Reel Table [Free Spins]

+ +
{
+    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
+    ],
+}
+
+



+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+image + +symbol + +points + +notes +
+<img src=“./images/die1.png”> + +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 +
+
+
+
This is the content of the second column.
+
+
+
This is the content of the third column.
+
diff --git a/docs/gameplay.html b/docs/gameplay.html index 57f1859..313a0f5 100644 --- a/docs/gameplay.html +++ b/docs/gameplay.html @@ -11,7 +11,7 @@ -gameplay.knit +Gameplay @@ -355,12 +355,14 @@ +

Gameplay

-
-

Gameplay

+


+
+

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. diff --git a/docs/images/die1.png b/docs/images/die1.png new file mode 100644 index 0000000..c597ee4 Binary files /dev/null and b/docs/images/die1.png differ diff --git a/docs/images/die10.png b/docs/images/die10.png new file mode 100644 index 0000000..926f793 Binary files /dev/null and b/docs/images/die10.png differ diff --git a/docs/images/die11.png b/docs/images/die11.png new file mode 100644 index 0000000..846fc70 Binary files /dev/null and b/docs/images/die11.png differ diff --git a/docs/images/die12.png b/docs/images/die12.png new file mode 100644 index 0000000..a549d1f Binary files /dev/null and b/docs/images/die12.png differ diff --git a/docs/images/die13.png b/docs/images/die13.png new file mode 100644 index 0000000..6dd2dec Binary files /dev/null and b/docs/images/die13.png differ diff --git a/docs/images/die2.png b/docs/images/die2.png new file mode 100644 index 0000000..ee394d9 Binary files /dev/null and b/docs/images/die2.png differ diff --git a/docs/images/die3.png b/docs/images/die3.png new file mode 100644 index 0000000..f2ebbc8 Binary files /dev/null and b/docs/images/die3.png differ diff --git a/docs/images/die4.png b/docs/images/die4.png new file mode 100644 index 0000000..b59d214 Binary files /dev/null and b/docs/images/die4.png differ diff --git a/docs/images/die5.png b/docs/images/die5.png new file mode 100644 index 0000000..059fbec Binary files /dev/null and b/docs/images/die5.png differ diff --git a/docs/images/die6.png b/docs/images/die6.png new file mode 100644 index 0000000..2d4a945 Binary files /dev/null and b/docs/images/die6.png differ diff --git a/docs/images/die7.png b/docs/images/die7.png new file mode 100644 index 0000000..f450f20 Binary files /dev/null and b/docs/images/die7.png differ diff --git a/docs/images/die8.png b/docs/images/die8.png new file mode 100644 index 0000000..94bf37f Binary files /dev/null and b/docs/images/die8.png differ diff --git a/docs/images/die9.png b/docs/images/die9.png new file mode 100644 index 0000000..f2e59e6 Binary files /dev/null and b/docs/images/die9.png differ diff --git a/docs/index.html b/docs/index.html index ae54680..8d48b39 100644 --- a/docs/index.html +++ b/docs/index.html @@ -361,26 +361,26 @@

-


-
-

Game Description

+



+
+

Game Description

This game is a 4 grid placement game in the Dragon Rolls theme.

-
-

Game Type

+
+

Game Type

Placement Game

-
-

Target Audience

+
+

Target Audience

  • Reel players
  • Fans of dragon rolls branding
  • Dice players

-
-

Features & Selling Points

+
+

Features & Selling Points

diff --git a/docs/tables/features-test.csv b/docs/tables/features-test.csv deleted file mode 100644 index 7640ac5..0000000 --- a/docs/tables/features-test.csv +++ /dev/null @@ -1,4 +0,0 @@ -"Name","Description" -"3 bonuses","blue, green and red bonus." -"Bonus symbol","Special coin symbol." - diff --git a/docs/tables/pointstable.csv b/docs/tables/pointstable.csv new file mode 100644 index 0000000..f508843 --- /dev/null +++ b/docs/tables/pointstable.csv @@ -0,0 +1,14 @@ +"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/data/dicestring.txt b/webBuild/data/dicestring.txt new file mode 100644 index 0000000..5fd77f3 --- /dev/null +++ b/webBuild/data/dicestring.txt @@ -0,0 +1,11 @@ +{ + 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: [ +6, 5, 9, 3, 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 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/reeltable.txt b/webBuild/data/reeltable.txt new file mode 100644 index 0000000..1916433 --- /dev/null +++ b/webBuild/data/reeltable.txt @@ -0,0 +1,12 @@ +{ + 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/functions.R b/webBuild/functions.R index 9073643..d348dea 100644 --- a/webBuild/functions.R +++ b/webBuild/functions.R @@ -1,12 +1,32 @@ -createCsvTable <- function(path) { +createCsvTable <- function(path, display_rows = 15) { 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 + features = fread(z, 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) - kable(head(features)) %>% + + features <- fread(path, quote = "\"") + kable(head(features, display_rows), format = "html") %>% kable_styling(bootstrap_options = "bordered", latex_options = "striped", full_width = FALSE) -} \ No newline at end of file +} + +printJson <- function(path) { + library(jsonlite) + file_content <- readLines(path) + json_content <- toJSON(file_content, pretty = TRUE) + cat("```", file_content, "\n```", sep = "\n") +} diff --git a/webBuild/gamelogic.Rmd b/webBuild/gamelogic.Rmd index 3e79fa9..5257e03 100644 --- a/webBuild/gamelogic.Rmd +++ b/webBuild/gamelogic.Rmd @@ -1,31 +1,49 @@ --- +title: "Game Logic" output: html_document --- +```{r setup, include=FALSE} +knitr::opts_chunk$set(echo = FALSE) +library(knitr) +``` +
+ +## Dice String -# Game Logic + + +```{r echo=FALSE, results='asis'} +source("functions.R") +printJson('./data/dicestring.txt') +``` +

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

-``` -{ - 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: [ - 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, 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1, 9, 6, 6, 6, 8, 1, 1, 1, 2, 6, 5, 1, 1, 4, 2, 5, 1, 2, 3 - ], -} +
+
+``` {r echo=FALSE, result='asis'} +source("functions.R") +createCsvTableTwo('./tables/pointstable.csv') ``` +
+
+ This is the content of the second column. +
+
+ This is the content of the third column. +
+
diff --git a/webBuild/gameplay.Rmd b/webBuild/gameplay.Rmd index 779a4e2..9676964 100644 --- a/webBuild/gameplay.Rmd +++ b/webBuild/gameplay.Rmd @@ -1,8 +1,10 @@ --- +title: "Gameplay" output: html_document --- +
-# Gameplay +## Explanation It is an extension of the Dragon Rolls brand. diff --git a/webBuild/images/die1.png b/webBuild/images/die1.png new file mode 100644 index 0000000..c597ee4 Binary files /dev/null and b/webBuild/images/die1.png differ diff --git a/webBuild/images/die10.png b/webBuild/images/die10.png new file mode 100644 index 0000000..926f793 Binary files /dev/null and b/webBuild/images/die10.png differ diff --git a/webBuild/images/die11.png b/webBuild/images/die11.png new file mode 100644 index 0000000..846fc70 Binary files /dev/null and b/webBuild/images/die11.png differ diff --git a/webBuild/images/die12.png b/webBuild/images/die12.png new file mode 100644 index 0000000..a549d1f Binary files /dev/null and b/webBuild/images/die12.png differ diff --git a/webBuild/images/die13.png b/webBuild/images/die13.png new file mode 100644 index 0000000..6dd2dec Binary files /dev/null and b/webBuild/images/die13.png differ diff --git a/webBuild/images/die2.png b/webBuild/images/die2.png new file mode 100644 index 0000000..ee394d9 Binary files /dev/null and b/webBuild/images/die2.png differ diff --git a/webBuild/images/die3.png b/webBuild/images/die3.png new file mode 100644 index 0000000..f2ebbc8 Binary files /dev/null and b/webBuild/images/die3.png differ diff --git a/webBuild/images/die4.png b/webBuild/images/die4.png new file mode 100644 index 0000000..b59d214 Binary files /dev/null and b/webBuild/images/die4.png differ diff --git a/webBuild/images/die5.png b/webBuild/images/die5.png new file mode 100644 index 0000000..059fbec Binary files /dev/null and b/webBuild/images/die5.png differ diff --git a/webBuild/images/die6.png b/webBuild/images/die6.png new file mode 100644 index 0000000..2d4a945 Binary files /dev/null and b/webBuild/images/die6.png differ diff --git a/webBuild/images/die7.png b/webBuild/images/die7.png new file mode 100644 index 0000000..f450f20 Binary files /dev/null and b/webBuild/images/die7.png differ diff --git a/webBuild/images/die8.png b/webBuild/images/die8.png new file mode 100644 index 0000000..94bf37f Binary files /dev/null and b/webBuild/images/die8.png differ diff --git a/webBuild/images/die9.png b/webBuild/images/die9.png new file mode 100644 index 0000000..f2e59e6 Binary files /dev/null and b/webBuild/images/die9.png differ diff --git a/webBuild/index.Rmd b/webBuild/index.Rmd index ed226af..96e51a0 100644 --- a/webBuild/index.Rmd +++ b/webBuild/index.Rmd @@ -1,26 +1,31 @@ --- output: html_document --- +```{r setup, include=FALSE} +knitr::opts_chunk$set(echo = FALSE) +library(knitr) +``` -![](images/dragon-dice-html5.png)
+![](images/dragon-dice-html5.png) +

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

-# Game Type +## Game Type Placement Game

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

-# Features & Selling Points +## Features & Selling Points ``` {r echo=FALSE, result='asis'} source("functions.R") -createCsvTable('./tables/features.csv') +createCsvTableTwo('./tables/features.csv') ``` \ No newline at end of file diff --git a/webBuild/tables/features-test.csv b/webBuild/tables/features-test.csv deleted file mode 100644 index 7640ac5..0000000 --- a/webBuild/tables/features-test.csv +++ /dev/null @@ -1,4 +0,0 @@ -"Name","Description" -"3 bonuses","blue, green and red bonus." -"Bonus symbol","Special coin symbol." - diff --git a/webBuild/tables/pointstable.csv b/webBuild/tables/pointstable.csv new file mode 100644 index 0000000..f508843 --- /dev/null +++ b/webBuild/tables/pointstable.csv @@ -0,0 +1,14 @@ +"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"