GithubHelp home page GithubHelp logo

naders-example's Introduction

naders-example

Naders Python learning

naders-example's People

Contributors

jdestep93 avatar

Watchers

 avatar

naders-example's Issues

Dice Rolling Simulator

Use Case
As a user, I want a simple program that mimicks rolling dice so I dont have to use real dice

Create a new git branch off of "main" branch called "dice-roller". git checkout main; git pull origin main; git checkout -b dice-roller;
Create a new folder under naders-example called "dice-roller"

Technical Implementation

  • On program start, prompt the user to hit "Space bar" to roll dice
  • On space bar press, the program will print two sets of random numbers between 1 and 6 (inclusive)
  • The functionality that outputs the result of the dice should be written in a function, so when you call (invoke) the function the output will be the two numbers in the format below
  • program will run in a while loop, so after the numbers are printed itll prompt again
  • program will stop on process exit
  • print the random numbers in this format:
    [ 1 ] [ 5 ] etc.

Commit your changes to your new branch and push up using git push origin dice-roller. Then create a pull request to merge your new program into the main branch

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.