Skip to content

A React based game of chance based on the dice game of Acq. Inc "C" Team fame.

Notifications You must be signed in to change notification settings

stephanedreyfus/Giants_Halflings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A work in Progress

Giants and Halflings

A Game of Chance in Which Halflings Attempt to Take On a Giant

Giants and Halflings is a game of chance created by Jerry Holkins, and implemented in a game of D&D that he was (and seems to have finished?) running for his friends.

Images

Halflings and giant images are copyrighted to Wizards of the Coast.

RULES

Halflings and Giants is a game of chance where you, the Halflings, gamble against the house, the Giant.

By rolling two six sided die the Halflings need to beat the Giant's roll of a single ten sided die.

The game begins with the Halflings placing a wager into the pot. The Giant then rolls setting the Knee.

The Halflings, the player, then click to roll each die individually. You are trying to roll higher than the Knee. If you succeed, you get varying levels of payout depending on the height of the Knee.

Intriguing events:

  • If the Giant rolls a one, this is the Kick. The Giant wins automatically.
  • If the Halflings roll two ones, that is the Snake. The Giant flees in fear and the game resets to placing a wager.
  • If the Halflings roll an 11 or 12 they leap into the Maw. This is another automatic win for the Giant.
  • If the Halflings hit the Knee exactly, they may chose to split their dice. The Halfling will then roll a total of four dice, each pair representing half of the doubled wager. Each pair rolled will follow the normal rules.
  • If the Halflings hit the Knee again while split they can choose to go Legendary. They now roll eight dice, with each pair representing a quarter of their quadrupled wager.

Payouts!

  • If the Knee is 2-3, house pays 1:1
  • If the Knee is 4-6, house pays 2:1
  • If the Knee is 7-9, house pays 3:1
  • If the Knee is 10, house pays 5:1

How I made it and how to run it

This app was started using create-react-app. Stéphane Dreyfus wrote this React app in JSX for use on the web. I was inspired to write it while listening to the 'C' Team, and got some fundamentallly helpful starting pointers from my teachers at the Rithm School. TypeScript was added in as I wanted to practice its use.

To Run the App

  • Clone to your computer from GitHub
  • In terminal in app folder run npm install
  • In terminal in app folder run npm start

To Run Tests

  • In terminal in app folder run npm test

About

A React based game of chance based on the dice game of Acq. Inc "C" Team fame.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published