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.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
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. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
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
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