National Coding Week: Full Stack of Pancakes

My friend Niall Beard recommended me to Sophie Ashcroft as a Git instructor for the National Coding Week activity that Sophie is organising with other members of Full Stack of Pancakes. After exchanged a few emails, the information that I have to try to plan the lesson was

  • 2 hours long
  • basic level
  • mix of backgrounds
  • focus on motivation

It is going to be a challenge and based on some of my previous experience teaching Git, the motivation part is very hard if you work with just one file or with isolated files, i.e. that don’t interact with any other. Over dinner, I was thinking of what game I could implemente in Liquid template language in less than 2 hours that could be interesting for learners to get motivated to learn Git. The solution, at the moment, is a Rock Paper Scissors game. If you look at the Git repository, it only has

  • _data/player1.yml
  • _data/player2.yml
  • .gitignore
  • Gemfile
  • _config.yml
  • index.html

I tried to reduce the number of files and dependecies at the maximum. All the game logic is in index.html with instructions. The website will change based on _data/player1.yml and _data/player2.yml, which I hope will help learners understand the advantages of use Git.

You may also enjoy...