From 682a156af020a18d4ad701ac38833fb4266962bc Mon Sep 17 00:00:00 2001 From: Robin Cher Date: Mon, 1 Oct 2018 23:43:08 +0800 Subject: [PATCH 1/4] #4 | Initial Commit for Issue template --- ISSUE_TEMPLATE.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ISSUE_TEMPLATE.md diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..e802c95 --- /dev/null +++ b/ISSUE_TEMPLATE.md @@ -0,0 +1,27 @@ +# Expected Behavior + +Please describe the behavior you are expecting + +# Current Behavior + +What is the current behavior? + +# Failure Information (for bugs) + +Please help provide information about the failure + +## Steps to Reproduce + +Please provide detailed steps for reproducing the issue. + +1. step 1 +2. step 2 +3. and so on... + +## Context + +Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. + +## Failure Logs + +Please include any relevant log snippets here. \ No newline at end of file From 6de027e7716341416b3105a2199aa4f486dc7a10 Mon Sep 17 00:00:00 2001 From: aacgn <4augusto@gmail.com> Date: Mon, 1 Oct 2018 19:57:31 -0300 Subject: [PATCH 2/4] Sorting and simplifying based on Motorola Bug Reporting --- ISSUE_TEMPLATE.md | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index e802c95..83b9cfe 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -1,27 +1,18 @@ -# Expected Behavior - -Please describe the behavior you are expecting - -# Current Behavior - -What is the current behavior? - -# Failure Information (for bugs) - -Please help provide information about the failure +## Context +Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. ## Steps to Reproduce - Please provide detailed steps for reproducing the issue. 1. step 1 2. step 2 3. and so on... -## Context - -Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. +# Current Behavior +What is the current behavior? -## Failure Logs +# Expected Behavior +Please describe the behavior you are expecting -Please include any relevant log snippets here. \ No newline at end of file +## Attachments +Please include any relevant attachments here. \ No newline at end of file From e4564fc58fc1e775326d713186a89ca390c7b32c Mon Sep 17 00:00:00 2001 From: Antonio Neto <4augusto@gmail.com> Date: Tue, 2 Oct 2018 11:03:38 -0300 Subject: [PATCH 3/4] Update ISSUE_TEMPLATE.md --- ISSUE_TEMPLATE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index 83b9cfe..f829c13 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -8,11 +8,11 @@ Please provide detailed steps for reproducing the issue. 2. step 2 3. and so on... -# Current Behavior +## Current Behavior What is the current behavior? -# Expected Behavior +## Expected Behavior Please describe the behavior you are expecting ## Attachments -Please include any relevant attachments here. \ No newline at end of file +Please include any relevant attachments here. From 21433f7cf3742e807c22b5b34df7381384cbaeb0 Mon Sep 17 00:00:00 2001 From: gammyp Date: Mon, 1 Oct 2018 17:15:25 +0700 Subject: [PATCH 4/4] PR for issue #4 - Add new issue template --- ISSUE_TEMPLATE.md | 18 ++++++++++++++++++ PythonDiceToss/dicetoss.py | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 ISSUE_TEMPLATE.md create mode 100644 PythonDiceToss/dicetoss.py diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..f829c13 --- /dev/null +++ b/ISSUE_TEMPLATE.md @@ -0,0 +1,18 @@ +## Context +Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. + +## Steps to Reproduce +Please provide detailed steps for reproducing the issue. + +1. step 1 +2. step 2 +3. and so on... + +## Current Behavior +What is the current behavior? + +## Expected Behavior +Please describe the behavior you are expecting + +## Attachments +Please include any relevant attachments here. diff --git a/PythonDiceToss/dicetoss.py b/PythonDiceToss/dicetoss.py new file mode 100644 index 0000000..b300aa5 --- /dev/null +++ b/PythonDiceToss/dicetoss.py @@ -0,0 +1,32 @@ +from random import randint +randomedvalue = randint(1,6) +print("----------") +if(randomedvalue == 1): + print("| |") + print("| * |") + print("| |") +elif(randomedvalue == 2): + print("| |") + print("| * * |") + print("| |") +elif(randomedvalue == 3): + print("| * |") + print("| * |") + print("| * |") +elif(randomedvalue == 4): + print("| * * |") + print("| |") + print("| * * |") +elif(randomedvalue == 5): + print("| * * |") + print("| * * |") + print("| * |") +elif(randomedvalue == 6): + print("| * * |") + print("| * * |") + print("| * * |") +else: + print("| |") + print("| |") + print("| |") +print("----------")