Skip to content

mynameisERL/savingthrow

Repository files navigation

Saving Throw

Saving Throw is a Yahtzee-based roguelike game that combines strategic dice rolling with thrilling dungeon exploration. Test your luck and skill as you battle enemies and overcome challenges!

You can find a hosted version of this game here - Desktop only at this time.

This game was the work of;

Emily Bennett - emilyb93

Lewis Price - lewispricey

Richard Neat - RNeat

With music by Emily Bennett.

As a new challenge for us we decided to try the state management system MobX.

Features

  • Dice Mechanics: Roll dice to create the best hand and defeat enemies.
  • Roguelike Elements: Increasing challenge in each fight.
  • Strategic Gameplay: Plan your re-rolls carefully to survive.

How to play

Each level contains three rounds, each round consists of three hands, and each hand allows up to three rolls to achieve the best possible combination.

All dice will be automatically selected on the first roll of each round. Click on dice to select them for re-rolling; selected dice will turn green. When ready, press "Roll" to re-roll the selected dice. If you prefer not to select dice manually, pressing "Play" will automatically use the best hand available from the current dice.

Setup Instructions

Prerequisites

Steps

  1. Clone the repository:
git clone https://github.com/mynameisERL/saving-throw.git
cd saving-throw
  1. Install dependencies:
npm install
# or
yarn install
  1. Start the development server:
npm run dev
# or
yarn dev
  1. Open your browser and navigate to http://localhost:5173 to play the game.

Build for Production

To create a production build:

npm run build
# or
yarn build

Preview Production Build

To preview the production build locally:

npm run preview
# or
yarn preview

Enjoy the game and may your rolls be ever in your favor!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •