Guide to the worksheets

Blackjack 1

Is designed to be your first exposure to programming. First, the pupil runs the Blackjack program, to understand how the game works. Then they learn: how to navigate around the code that defines up the program, the nature of instructions, and how to recognise the different kinds of instruction. Finally, they are shown how to make some very small changes to the code, which can result in a significant enhancement to the game, once run.

Blackjack 2

This is designed to introduce the idea of writing new instructions including: All this is done by improving a slightly different version of the Blackjack program that has automated players. To start with the two automated players, have very different strategies - though neither is very effective. Over multiple iterations the pupil gets to modify these strategies and improve them progressively - repeatedly 'leap-frogging' the poorer performing player over the better one.