Git Product home page Git Product logo

game-of-greed-1's Introduction

Lab: Game of Greed III

Authors:

Ammar Abul-Feilat
Salim Hassouneh
Mohammad Salhab
Ghaida Al Momani

Version: 0.3.0

Overview

The classic dice game of all or nothing! Greed is quick to learn and impossible to put down! To win the game, players need to obtain the highest score over 10,000 points. Roll all six dice, take out the dice which score, and roll again. Players may roll as long as they score, but don't get too greedy or you'll lose it all!


Calculate Score

zilch - roll with no scoring dice should return 0
ones - rolls with various number of 1s should return correct score
twos - rolls with various number of 2s should return correct score
threes - rolls with various number of 3s should return correct score
fours - rolls with various number of 4s should return correct score
fives - rolls with various number of 5s should return correct score
sixes - rolls with various number of 6s should return correct score
straight - 1,2,3,4,5,6 should return correct score
three_pairs - 3 pairs should return correct score
two_trios - 2 sets of 3 should return correct score
leftover_ones - 1s not used in set of 3 (or greater) should return correct score
leftover_fives - 5s not used in set of 3 (or greater) should return correct score

Architecture

This app is written using Python 3.9.5, following best practices.

Change Log

version 0.1.0 ; 14/3/2022 Initiated version 0.2.0 ; 16/3/2022 updated version 0.3.0 ; 22/3/2022 updated

GhaidaMomani#1 GhaidaMomani#2 GhaidaMomani#3 GhaidaMomani#4 GhaidaMomani#5 GhaidaMomani#6 GhaidaMomani#7

game-of-greed-1's People

Contributors

ammaro173 avatar ghaidamomani avatar mohammadsalhab99 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.