Code in phyton ! For project 2 you will create a quiz game similar to “Who Wants to be a Millionaire?”, or “Jeopardy”.  However, the game should be completely your own and not like any that are currently on the internet.   Requirements: Your game will include 10 questions (minimum). Please choose a single category to make all of the questions about. These questions and the 4 or 5 possible answers must be read in from a text file. The correct answers must also be read in. You will ask the user multiple-choice questions (in increasing difficulty).   Each question, if answered correctly, will have a point value attached to it. The point values should be as follows: from 100 -to 1000. You may apply negative points for questions wrong if you want to in your game. The score will be an accumulation of the points earned throughout the game and the user may continue even if he/she answers incorrectly.   Show the user’s point total after each question is answered. Include a text file called “highscore.txt” that stores the highest scoring player’s first name and score.   Update the text file if the user scores the highest score.     Grading Criteria:   Algorithm   (10 points)                         _____ Written without any python syntax Detailed showing all steps and information needed   Text File reading in (20 points)         _____ Questions, answers, correct answer all read in from file Stored and used properly in program   Text File writing out (20 points)       _____ Read in from file (to check the current high score) Compare player score to score in file Write to file if highest score, player name and score   If Structures (15 points)                      _____  Input Validation (must choose one of the options offered). Keeps asking if anything else entered Shows correct or incorrect and points earned for question   Score Accumulation (10 points)      ______   User friendly display (10 points)     _______ Intro/outro/Game Title/formatting Asks for name and uses it in game Easy to follow and play Accounts for entry errors (caps, spaces, etc) Try/except included   Code is readable  (15 points)            _______ Comments in code and header comments included White space as needed

Question

 

Code in phyton !

For project 2 you will create a quiz game similar to “Who Wants to be a Millionaire?”, or “Jeopardy”.  However, the game should be completely your own and not like any that are currently on the internet.

 

Requirements:

  • Your game will include 10 questions (minimum). Please choose a single category to make all of the questions about. These questions and the 4 or 5 possible answers must be read in from a text file.
    The correct answers must also be read in.
  • You will ask the user multiple-choice questions (in increasing difficulty).  
  • Each question, if answered correctly, will have a point value attached to it. The point values should be as follows: from 100 -to 1000. You may apply negative points for questions wrong if you want to in your game.
  • The score will be an accumulation of the points earned throughout the game and the user may continue even if he/she answers incorrectly.   Show the user’s point total after each question is answered.
  • Include a text file called “highscore.txt” that stores the highest scoring player’s first name and score.  
  • Update the text file if the user scores the highest score.

 

 

Grading Criteria:

 

  1. Algorithm   (10 points)                         _____
    • Written without any python syntax
    • Detailed showing all steps and information needed

 

  1. Text File reading in (20 points)         _____
  • Questions, answers, correct answer all read in from file
  • Stored and used properly in program

 

  1. Text File writing out (20 points)       _____
  • Read in from file (to check the current high score)
  • Compare player score to score in file
  • Write to file if highest score, player name and score

 

  1. If Structures (15 points)                      _____ 
  • Input Validation (must choose one of the options offered). Keeps asking if anything else entered
  • Shows correct or incorrect and points earned for question

 

  1. Score Accumulation (10 points)      ______

 

  1. User friendly display (10 points)     _______
    • Intro/outro/Game Title/formatting
    • Asks for name and uses it in game
    • Easy to follow and play
    • Accounts for entry errors (caps, spaces, etc)
    • Try/except included

 

  1. Code is readable  (15 points)            _______
  • Comments in code and header comments included
  • White space as needed
  • Efficient

Expert Answer

1 Rating

Want to see the step-by-step answer?

Check out a sample Q&A here.

Want to see this answer and more?

Experts are waiting 24/7 to provide step-by-step solutions in as fast as 30 minutes!*

*Response times may vary by subject and question complexity. Median response time is 34 minutes for paid subscribers and may be longer for promotional offers.
Tagged in
Engineering
Computer Engineering

Programing

Related Computer Engineering Q&A

Find answers to questions asked by students like you.

Q: A sender needs to send the four data items Ox3456, OxABCC, Ox02BC, and OxEEEE.Answer the following:a...

A: Note : As per our guidelines, we are supposed to answer only 3 sub - parts. Please repost the other ...

Q: 7. A pure ALOHA network transmits 200-bit frames on a shared channel of 200 kbps.What is the require...

A: Explanation: Average frame transmission time is given below,Tfr = 200 bits/200 kbps or 1 ms

Q: What is the difference between void and NULL pointers .Give suitable examples in support of your ans...

A: A null pointer is one which is not pointing to anything, i.e. it is assigned a null value. If there ...

Q: Your group visits a shop to get your assignment typed and printed. Draw a flowchart to calculate the...

A: Here, the requirement is to get our assignment typed and printed and typing cost is Rs. 3/- per page...

Q: helppppp

A: Give problem ha s2 vectors named x and y where  x has values: 28,10,8,9 y has values: 6,5,5,19   Com...

Q: Convert the following record to a normalized data structure up to 3NF showing all attributes identif...

A: The ask is to normalize the data structure to 3NF for the following data: Grade-Report Number Nam...

Q: Bundoo khan is famous restaurant in Karachi, they have almost manual process. Now they are willing t...

A: The question asks about building the menu list for items and perform the following operations. 1-Cre...

Q: Why do organizations still have information deficiency problem?

A: For several decades, developments in technology and information companies, along with various manage...

Q: A system administration is trying to unmount a filesystem.  The mount point of the filesystem is  /o...

A: Answer in step2

Q: (b) Match the following to one or more layers of the OSl model:a. Communicates directly with user's ...

A: a. Communicates directly with user's application programb. Error correction and retransmissionc. Mec...

Q: 13. What are the different objectives of learning analytics as per the LA Reference model of Chatti ...

A: The objectives of learning analytics reference model is given by: Monitoring and analysis: In this ...

Q: Map the ER into relational schema.

A: The relation schema for the given ER Diagram is: The entity tables and the relation are mapped . For...

Q: Write a program that computes the factorial of a number ‘n’ which is taken as input from the user.  ...

A: The algorithm will be: Read number n Initialize i and fact to 1 Repeat 4 and 5 when i is not equal ...

Q: Please use MATLAB to solve the problem.

A: Actually, MATLAB is a programming platform designed specifically for engineers and scientists.

Q: Hi I need help to understand what to do in this questions I have imported the file using mongodimpor...

A: As you  have already imported the file now..A query can be used for the collection using mongodb she...

Q: Write a menu driven program that allow the user to perform any one of the following operations based...

A: C++ code: #include<iostream>  //header files   #include<math.h> using namespace std; in...

Q: With python When opening a document as csvfile and using: csv.reader(csvfile, delimiter=';')  How do...

A: The ask is to read a csv file using csv.reader(..) in python and skip reading the first two lines. 

Q: Write a program to ask user to enter his date of birth and calculate how many independence days (15t...

A: PROGRAM: //Header file #include <stdio.h> #include <stdlib.h> #include <time.h>   ...

Q: I have java code that needs to be fixed to work. I keep getting errors. I will add the code below. A...

A: Below is the modified code of your given code-   //Apartment.java public class Apartment { //member...

Q: Now we want to create an Object oriented System for a shopping mall. It has Items with name, manufac...

A: Actually, program is a executable software that runs on a computer.

Q: Michelle is writing an assignment on programming language. Help Michelle complete the following stat...

A:  In C programming, the word input means to provide the program with some data to be used by the prog...

Q: Write a c++ program that takes 6 values from the user and makes a multiplication table of those numb...

A: Program:   #include<iostream>using namespace std; int main(){ int value[6], i = 0; //array for...

Q: Draw a decision tree given problem below. A businessman must decide whether to open a new mini groce...

A: Decision Tree: Decision tree is a decision support tool which is in tree like structure. It uses at...

Q: 1. Write a function called displayCodes to receive the pointer of the first element of the array and...

A: Answering the first question only according to the policy. Since the programming language is not men...

Q: Allocate the memory at runtime to store 10 integer numbers and ask values from the user. Now, create...

A: A number is said to be prime it has only two factors 1 and itself  

Q: Make the program in C language

A: Program:   #include <stdio.h> int main(){    int matrix_array[4][4]; //matrix array        pri...

Q: Get 10 numbers from user using loop. Find which number is a. positive b. negative c. zero d. Odd e. ...

A: GIVEN: Create an Algorithm and flowchart to find whether a number is positive negative zero even  o...

Q: A decision is based on a(n) ____________ value.

A: A decision is generally the choice 

Q: explain this Linux terminal command in your own words – “dig @192.168.0.2 practicelabs.com mx”

A: In the Linux terminal, "dig' is an abbreviated form for Domain Information Groper. dig is a powerful...

Q: Write a C++ program that takes a number N as input, and prints a sequence of numbers. The first term...

A: The first term is N The second term is N/2 The Third term is 3N+1 The above two terms repeats

Q: Write a class Point with instance variables as: xCoordinate(int) and yCoordinate(int). Write public ...

A: Objective: We need to construct a Point class with its attributes, a circle class extending features...

Q: Based on the provided information below, what would the ERD Diagram to this fictional senerio look l...

A: Answer in step2

Q: Help plz

A: The correct answer is option d - 161

Q: please help

A:   Output:

Q: Slack is an example of collaboration software. True or False?

A: True because collaboration software are that in which a group of people work together or help people...

Q: Write a void method selectionSortDescendTrace() that takes an integer array, and sorts the array int...

A: Program: //imported Scannerimport java.util.Scanner;//created classpublic class decentTrace {    //m...

Q: c++

A: C-structure: Structures are user-defined data types that consist of the different data types that ar...