Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You have a little free time on your hands and decide to create a simple game. Ut

ID: 3776445 • Letter: Y

Question

You have a little free time on your hands and decide to create a simple game. Utilize the design tools that you have learned this week to design and program a very simple game. Examples: Movie Trivia, Guess a number between 1-10, Dice, etc. Note: Avoid games with lots of complex combinations like card games, i.e. poker, unless you desire a surmountable challenge. The real goal is for you to demonstrate the use of the design tool to reduce the amount of time spent coding and error fixing.

For this project:

You will submit your python code in either the original .py file, or copied into a .txt file.

You will also submit evidence of the design tool being used to organize the logic of your program. This can be a screenshot, flowchart, hand-drawn, pseudocode, etc. uploaded as a Word DOC or DOCX.

A screenshot of your code having been executed (run).

Tips: Utilize your design tools!

Explanation / Answer

Comments and output attached __author__ = 'prmsh'

# This is a guess the number game. import random totalGuesses = 0

#getting random number for guessing originalNumber = random.randint(1, 100)

import random
randomNumber=random.randint(1,100)
attempt=10
winner=False
for i in range(0,attempt):
try:
choice=int(input("Guess a number : "))
if choice > randomNumber

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote