Software and Systems
Software and Systems
项目类别:计算机

Hello, dear friend, you can consult us at any time if you have any questions, add  WeChat:  zz-x2580

ELECTRONIC, ELECTRICAL AND SYSTEMS ENGINEERING

MSc Coursework Software and Systems

Python Programming: Computer Game (GUI)

 This Python assignment is about implementing a graphical user interface to create a SpecialComputerGame

1. Aims and Objectives

This Python assignment is about implementing a graphical user interface to create a SpecialComputerGame which is explained here in one of the episodes of the television series “The Big Bang Theory.”

As part of the coursework, this game is played between a human player and a computer. The rules of the game are simple. Both, the human player and the computer make one choice from rock, paper, scissors, lizard and Spock. Based on the choices made, the winner is decided according to Figure 1.

Figure 1: Game Rules

2. Lab Work 

Using the object oriented approach, implement the SpecialComputerGame as a Python application. The application should be able to create a GUI containing all widgets required to run the game smoothly. The SpecialComputerGame should at the least have the following:

  1. It should allow the Player to enter their name.
  2. It should allow the Player to choose from the options of rock, paper, scissors, lizard and Spock.
  3. More than one selection is not allowed, however, the Player can change their selection.
  4. It should display the Players and the computers choice. Python Programming作业代写
  5. It should display the winner along with the choice.
    of win, e.g. “PlayerName wins because ‘Lizard eats Paper’” or “It’s a tie because both chose‘Rock’”.
  6. Each tournament comprises of five set of games. The winner should be displayed for each game and for the overall tournament.
  7. The application should ask the player to Exit or Play anothertournament at the end of each tournament.

After creating your GUI with all the above widgets, you will then have to bind these to the functions to get your application working. Handle any exceptions that may arise during its use.

3. Assessment

This coursework contributes 30% of the total mark for Software and Systems module. You are expected to submit your Python program. The Python code (.py file) must be submitted via canvas as one single file by December 2019.

Marks distribution will be as follows:

a)AllowsPlayer to enter their name and game starts with “Welcome

b)PlayerName” window. (5%)Allows Player to play a tournament of five games without player havingto initiate new game every time. Ask the player to ‘Exit’ or ‘Play Next Tournament’ at the end of each tournament. (10%) 

c)GUI design.(25%)

d)Game Functionality. (25%)

e)Well documented code. (15%)

f)Display player’s and computer’s choice.(5%)

g)Display winner for each game with condition of the win and the overall winner of the tournament.(10%)

(h)Extra added functionality of your choice – mention that in your application.(5%)

Note: There is a penalty of 20% marks if you do not use object oriented approach.

A word of caution 

“Plagiarism will not be tolerated. It is the act of a Student claiming as their own, intentionally or by omission, work which was not done by that Student. Plagiarism also includes a Student deliberately claiming to have done work submitted by the Student for assessment which was never undertaken by that Student, including self-plagiarism and the other breaches. Sanctions of a plagiarism include the Student failing the Programme of study”.

留学ICU™️ 留学生辅助指导品牌
在线客服 7*24 全天为您提供咨询服务
咨询电话(全球): +86 17530857517
客服QQ:2405269519
微信咨询:zz-x2580
关于我们
微信订阅号
© 2012-2021 ABC网站 站点地图:Google Sitemap | 服务条款 | 隐私政策
提示:ABC网站所开展服务及提供的文稿基于客户所提供资料,客户可用于研究目的等方面,本机构不鼓励、不提倡任何学术欺诈行为。