Module Title
Python Programming
Assessment Strategy
The assessment strategy for this practice based module is designed to provide students with the opportunity to demonstrate their learning through a series of tutorials and practical sessions where formative feedback will be provided. Achievement of the Learning Outcomes is shown via a demonstration of the Software Project. The theoretical knowledge, evaluation and reflection is demonstrated via a report.
Module Learning outcomes
1. Demonstrate application of programming design techniques for creative problem solving.
2. Development and test of a computer programme solution.
3. Evaluate your programming solution based on requirements.
Coursework Assessment
Assessment Details:
This programming assignment is to apply the programming principles covered in tutorials and lectures to develop a game using the Python language and Python GUI Programming module namely Tkinter. Games were chosen as they offer a direct correlation between the program data and what is seen on the screen. So in order for the game to be played, there must be variables to store the game data such as gradients, images, scores, directions, etc. If any such variables are incorrect or missing, then a feature of the game will not work correctly if at all. As a result, it is apparent when the program data and/or processing are in error.
Objective
What you have to do is write a game in Python using text based interface or/and Python Tkinter module where you have to choose one from the following board games as the one you are going to write:
Ø Connect4
Ø Minesweeper
Each game has a number of feature requirements that you must meet in order to achieve a specific mark for those features. The specific features refine the criteria to clearly define what the game must have or do.
Test documentation is required for the submitted game with test strategy and tables and screen dumps showing a working game. The test documentation should contain 10 to 15 test cases and maybe more as appropriate for enhanced game functionality for higher marks.
Connect4:
Connect4 is a two-player connection game in which the players first choose a colour and then take turns dropping coloured discs from the top into a seven-column, six-row vertically suspended grid. The pieces fall straight down, occupying the next available space within the column. The objective of the game is to connect four of one's own discs of the same colour next to each other vertically, horizontally, or diagonally before your opponent.
Minesweeper:
The objective of the game is to uncover all the squares that do not contain mines without being "blown up" by clicking on a square with a mine underneath. The player is initially presented with a grid of identical squares. Some randomly selected squares, unknown to the player, are designated to contain mines. The size of the grid and the number of mines are set in advance by the user. The game is played by revealing squares of the grid by clicking the square, hence, If a square containing a mine is revealed with the rest of the grid, and the player loses the game. If no mine is revealed, a digit is displayed in the square (1 to 8), indicating how many adjacent squares contain mines); if no mines are adjacent, the square becomes blank, and all adjacent squares will be recursively revealed. The player uses this information to deduce the contents of other squares, and may either safely reveal each square or mark the square as containing a mine.
Assessment Scope
1. Computer programme code to be submitted.
2. 1000 words reflective analysis report of your design, implementation, test results and evaluation of your application programme solution with diagrammatic illustrations.