diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..253fcc7 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,39 @@ +name: Deploy +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + permissions: + contents: write # To push a branch + pages: write # To push to a GitHub Pages site + id-token: write # To update the deployment status + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install latest mdbook + run: | + tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name') + url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz" + mkdir mdbook + curl -sSL $url | tar -xz --directory=./mdbook + echo `pwd`/mdbook >> $GITHUB_PATH + - name: Build Book + run: | + # This assumes your book is in the root of your repository. + # Just add a `cd` here if you need to change to another directory. + mdbook build + - name: Setup Pages + uses: actions/configure-pages@v4 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: 'book' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7585238 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +book diff --git a/book.toml b/book.toml new file mode 100644 index 0000000..d063945 --- /dev/null +++ b/book.toml @@ -0,0 +1,6 @@ +[book] +authors = ["Raven Ravener"] +language = "en" +multilingual = false +src = "src" +title = "Kakegurui" diff --git a/src/README.md b/src/README.md new file mode 100644 index 0000000..0fd8505 --- /dev/null +++ b/src/README.md @@ -0,0 +1,5 @@ +# Introduction + +This book serves to analyze and document the games found in Kakegurui. + +This is still at a very early stage and work in progress to be gradually written. diff --git a/src/SUMMARY.md b/src/SUMMARY.md new file mode 100644 index 0000000..8719020 --- /dev/null +++ b/src/SUMMARY.md @@ -0,0 +1,4 @@ +# Summary + +- [Introduction](README.md) +- [Martingale System](martingale.md) diff --git a/src/martingale.md b/src/martingale.md new file mode 100644 index 0000000..621e2ab --- /dev/null +++ b/src/martingale.md @@ -0,0 +1,5 @@ +# Martingale System + +This strategy was used in Kakegurui Twin in Episode 2, by Miboumi Aoi from the Student Council, who decided to challenge Saotome Mary's new gambling den in which he started with a 1 million yen bet and lost, then he bet 2 million yen on the second round and lost again, it appeared as if Mary is winning by 3 million yen but Mary mentions that "there is an over 90% chance of winning once in three rolls." and Aoi on his third and last round bet 4 million and won, allowing him to recover all his losses and still win a profit of a million yen. + +In regards to the strategy Mary mentions that "This method isn't usually used due to the risk of a massive loss. But it's the best approach if he's trying to ruin us!"