logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

This assignment tests your understanding of and ability to apply the programming concepts we have covered throughout the unit.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Background Information

This assignment tests your understanding of and ability to apply the programming concepts we have covered throughout the unit. The concepts covered in the second half of the unit build upon the fundamentals covered in the first half of the unit.

Assignment Overview

You are required to design and implement two related programs:

 "word_find.py", a CLI program that allows the user to play a word game. If the user scores high enough in the game, save data about the game in a text file. Develop this program before "log_viewer.py".

"log_viewer.py", a GUI program that lets the user view the data in the text file. Develop this program after "word_find.py".

The following pages describe the requirements of both programs in detail.

Starter files for both of these programs are provided along with this assignment brief, to help you get started and to facilitate an appropriate program structure. Please use the starter files.

The following pages describe the requirements of both programs in detail.

Overview of "word_find.py"

"word_find.py" is a program with a Command-Line Interface (CLI) like that of the programs we have created throughout the first half of the unit. The program can be implemented in under 175 lines of code (although implementing optional additions may result in a longer program). This number is not a limit or a goal. Everything you need to know in order to develop this program is covered in the first 7 modules. This program should be developed before "log_viewer.py".

The program is a single-player word game, where the user enters as many words as they are able to think of using a selection of 9 letters. The user can play the game in "easy mode" or "hard mode".

The program first selects 9 letters of the alphabet at random. The same letter can appear multiple times, and the selection process uses the frequency of letters in the game of Scrabble when choosing letters, so that the 9 letters chosen are more likely to contain letters that are common in English words, e.g. the letters are much more likely to contain "E", "I" or "A" than "Z", "Q" or "X".

The program displays the 9 letters in a 3x3 grid and prompts the user for input:

Score: 0. Your letters are:

AHIR

TRY

JIEH

Enter a word, [s]huffle letters, [1]ist words, or [e]nd game): |

Note: The grid is only for presentation-words do not need to be made up of adjoining letters.

 

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

876 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

964 Answers

Hire Me
expert
Husnain SaeedComputer science

531 Answers

Hire Me
expert
Atharva PatilComputer science

853 Answers

Hire Me

Get Free Quote!

289 Experts Online