Giter VIP home page Giter VIP logo

sharz1 / grocerylistandguessgame Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 2 KB

Python program creates a grocery list for 2 shoppers (starter list can be added in whole or part, w/ add/remove options until complete. The 2 players (and computer player) guess total grocery cart price. Actual total is entered at end of trip and winner (closest) and total shopping trip time are calculated.

Python 100.00%
python-3-5 shoppinglist

grocerylistandguessgame's Introduction

This program is written in Python (v 3.5.2).It creates a grocery list for 2 shoppers (has a starter list that can be added in whole or part, then has add/remove options until complete). The 2 players guess how much the total grocery cart will be and the "computer" player also makes a guess. When the shopping trip is complete, the actual total is entered and a winner (closest) is calculated, as well as the total shopping trip time.

Author: Sharlee Bryan
I came up with this idea based on weekly grocery trips my SO and I make and we play this game (for bragging rights). We are playfully competitive but I like to leisurely shop while my SO likes to get checkout as quickly as possible! The "computer guess" and "shopping time" elements give it a bit more fun...

grocerylistandguessgame's People

Forkers

najeebgdds

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.