Unit Award Scheme
116839 PROGRAMMING SKILLS (UNIT 4): NOUGHTS AND CROSSES
In successfully completing this unit, the Learner will have | Evidence needed | |
---|---|---|
shown knowledge of | ||
1 | the importance of using meaningful variable names throughout their code | Student completed work |
demonstrated the ability to | ||
2 | use one of C#, Python or VB.NET to write a computer program to complete this unit | Student completed work |
3 | use an array or list to create a 3 x 3 board and initialize every location to '-' | Student completed work |
4 | create and initialize the following variables: player1 = 'X', player2 = 'O', won = False, noTurns = 0 | Student completed work |
5 | write a subroutine to print the board | Student completed work |
6 | write a subroutine to get a player’s move and output a message to prompt a different move from the user if the chosen square is already taken | Student completed work |
7 | write a subroutine to check if a player has won the game | Student completed work |
8 | write a subroutine to check if the game is a draw | Student completed work |
9 | print the current board | Student completed work |
10 | repeatedly allow player 1 and player 2 to take their turns and print the updated board after each move | Student completed work |
11 | check if a player has won after each turn and, if they have, display a suitable message | Student completed work |
12 | check if the game is a draw after each turn and, if it is, display a suitable message | Student completed work |
13 | display the message "Thank you for playing Noughts and Crosses" when the game is over. | Student completed work |
All outcomes recorded on an AQA Summary Sheet
Approved 25 January 2022Level - Level Two