Example programs I've worked through with my GCSE groups
The 'Hangman' and 'Nought and Crosses' (aka Tic-Tac-Toe in the USA) were inspired/lifted-and-then-re-worked from Invent with Python - a fabulous resource, if you haven't come across it.
The Logo flags solutions were from ideas on CAS adapted to work on Calormen JS Logo rather than in Python, to give students experience of using other programming languages.