Skip to content

Full-stack browser game version of the gambling dice game Farkle (aka Hot Dice aka 10000) along with a leaderboard rendering players and their stats, and sorted by best scores.

Notifications You must be signed in to change notification settings

Laurelinex/Farkle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Farkle Project Brief

Hear ye, hear ye! From medieval times comes a Bohemian game of chance for peasants and noblemen alike.

Introduction

Create a browser game based on an existing card or dice game. Model and test the game logic and then display it in the browser for a user to interact with.

Write your own MVP with some specific goals to be achieved based on the game you choose to model.

You might use persistence to keep track of the state of the game or track scores/wins. Other extended features will depend on the game you choose.

MVP

A user should be able to play a game of Farkle:

  • See 6 dice and roll the dice
  • Select and add dice to hand (highlight or circle - not animated)
  • See the score of selected dice
  • Two buttons: Roll Dice (not selected only) + Bank Points
  • Score adding up as dice get added to hand but only added to total score if saving turn (banking)
  • Save/Bank score and hand turn to computer
  • Loss of points if remaining dice aren’t returning 1 or 5, three of a kind (FARKLE)
  • Points adding up as per rules
  • See a result message: eg P1 wins
  • Max 6 rounds - banks automatically

Extensions

  • Adding instructions component
  • Name input for players
  • Adding scores/wins and keeping track in db
  • Score added to leaderboard
  • OnHover animations for win details
  • Dice animations
  • Styling page
  • Design a wee game logo
  • Add to scoring logic: small and large straight
  • Scrap max 6 rounds - implement Hot Dice
  • Play against computer

Instructions to run the app

  • Clone repo
  • cd client
  • npm install
  • npm start (should run at localhost:3000)
  • cd server
  • npm run seeds
  • npm run server:dev

Technologies Used

JavaScript, HTML, CSS, React, Express, MongoDB

Screenshots of application

About

Full-stack browser game version of the gambling dice game Farkle (aka Hot Dice aka 10000) along with a leaderboard rendering players and their stats, and sorted by best scores.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •