RI Y2 CEP Lesson 6 Slides 2020
Uploaded by dontsueme · 10 December 2024
Preview
Lesson 6Tic Tac Toe . Temperature Conversion . Project 1
Lesson objectives•Tic Tac Toe•Temperature Conversion Program•Release of Project 1
Creating Tic Tac Toe - instruction
How to represent the state of game ?•use a list to represent the state of the game this is a better format to express the state
Creating Tic Tac Toe – show board
Creating Tic Tac Toe – update state
Creating Tic Tac Toe – main function
Assignment : Tic Tac Toe•Create a complete 2 player Tic Tac Toe Game:•determine all the states that win game•check winner •check draw•determine winner•determine draw
Temperature Conversion Program
Assignment : Temperature Conversion Program•def displayWelcome()•def getConvertTo()•def displayFahrenToCelsius(start,end)•def displayCelsiusToFahren(start,end)•def main()•call main() A template is provided in the assignment.Rename it before submission.
Content continues in the PDF.
Related notes
- Computing o level notes Notes/Practices · 2023
- BVSS Prelim P1 CPExam Papers · 2024
- CWSS Prelim P1 CPExam Papers · 2024
- CWSS Prelim P1 MSExam Papers · 2024
- BVSS Prelim P1 MSExam Papers · 2024
- computing notesNotes/Practices

