Presentation is loading. Please wait.

Presentation is loading. Please wait.

Game city International Starting on the road to programming. This project is all about learning how to program using scratch and other languages. The aim.

Similar presentations


Presentation on theme: "Game city International Starting on the road to programming. This project is all about learning how to program using scratch and other languages. The aim."— Presentation transcript:

1 Game city International Starting on the road to programming. This project is all about learning how to program using scratch and other languages. The aim is to be able to eventually create your own games.

2 Game City International Objectives Know: How processes and data flows in a simple game Understand: What an algorithm is. Be able to: Create a process flow diagram for some simple games.

3 What is a flowchart? A diagram which is made up of specific symbols e.g. rectangles and diamonds The diagram represents a sequence of events Each step is shown in the correct order from the start through to the end

4 Simple Flowchart Start Enter room Is it dark? Switch light on Sit down End No Yes Entering a room

5 Guidelines for flowcharts All flow charts start with this symbol and only one arrow leaves it. All flow charts finish with this symbol and only one arrow leads into it Start End

6 Simple Flowchart Start Enter room Is it dark? Switch light on Sit down End No Yes Entering a room Start / End symbols

7 Guidelines for flowcharts Flowcharts have processes (actions or instructions) which need to be done. Actions are represented by a rectangle with an arrow going in and one coming out

8 Simple Flowchart Start Enter room Is it dark? Switch light on Sit down End No Yes Entering a room Process/ action

9 Guidelines for flowcharts Flowcharts also contain ‘decisions’. Decisions are usually in the form of a question i.e. ‘is it dark?’ Decisions are represented by a diamond shape Decisions have a number of options leaving them. No Yes

10 Simple Flowchart Start Enter room Is it dark? Switch light on Sit down End No Yes Entering a room Decision

11 Ordering a burger Start Order burger Want fries? Order fries Want drink? Order drink Pay cashier End No Yes In pairs, identify: The start The end The processes The decisions

12 Looking at the game of Snap – the following basic algorithm shows how the game is played. Players each deal out cards until there is a match. If a player calls out snap he/she wins the hand. Continue until one player loses all his cards The player with all the cards wins.

13 Will this be enough for a computer to understand What to do?

14 Using flow chart diagrams can you show a step by step process of how a snap game works? Can you make the process more efficient by creating procedures out of some of the actions? Start Card from player 1 Card from player 2 ?


Download ppt "Game city International Starting on the road to programming. This project is all about learning how to program using scratch and other languages. The aim."

Similar presentations


Ads by Google