Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment 1 CSSE1001/7030 Semester 2, 2017 Version 1.0.0 10 marks Due Friday 25 August, 2017, 21:30 1. Introduction For this assignment, you are required to

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Assignment 1 CSSE1001/7030 Semester 2, 2017 Version 1.0.0 10 marks Due Friday 25 August, 2017, 21:30 1. Introduction For this assignment, you are required to write Python code to implement a word guessing game 1.1. Game Rules The game involves trying to guess an unknown word. The guessing of the word is done in 11 steps In Step 1 of the game the player guesses a 2 letter sub-word corresponding to the first two letters of the unknown word. They score 20 points for any of the guessed letters which are in the word (but not in the correct position) and 100 points for any letter in the correct position (See, for example, line 1 of Table 1-the unknown word is "castle"). In Step 2 the player guesses a 3 letter sub-word to correspond to the first three letters of the unknown word (See, for example, line 2 of Table 1). In Step 3 the player suggests another 3 letter sub-word to correspond to letters 2 to 4 of the unknown word, and the usual scoring system holds (See line 3 of Table 1). In Step 4 the player suggests another 3 letter sub-word to correspond to letters 3 to 5 of the unknown word (See line 4 of Table 1). In Step 5 they guess a 3 letter sub-word to correspond to letters 4 to 6 of the unknown word. (See line 5 of Table 1). The player continues guessing sub-words according to the zig-zagging pattern shown in Table 1 until they have a final chance to guess the complete unknown word (which in the example below is 'castle). Table 1 (Unknown word is "castle Step number Step-by-step Letter Guesses 40 120 140 20 220 240 420 10 260 600

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

4. What action should Cherita Howard take and why?

Answered: 1 week ago