Lesson 3 (Guess the Number)

Today's objective is to create a mini game of guess the number where the computer generates a random number and the user needs to guess it.

image.png

Learning Intention:

  • I can backward map a project using the skills I have learnt in class to create a guess the number game.

For today's lesson you will work in groups to create a basic guess the number game.

Activity Description Assessment Criteria
Decision Tree

Individual Activity:

Create a decision tree for your guess the number game. The decision tree should clearly show the flow of your program and the user's inputs. Remember to use the accurate conventions including:

  • Diamonds for elements requiring user input
  • Rectangles for computer output not requiring an input
  • Colours to distinguish between valid and invalid program inputs
  • Directional arrows with labels to show stored variables and/or users inputs.

purposeful design of algorithms and game map.

  • Decision tree/flowchart has accurate conventions and clearly shows the flow of the game.
Creating the game

Individual Activity:

You will need to use your decision tree and the skills you've learnt in class up until this point to create your guess the number game.

proficient implementation of game that includes functioning and purposeful use of iteration, conditional statements, variables and user input.