A “Game Engine” is a piece of code you can use to build different types of games. This week we looked at doing a top down scrolling game engine. It’s still pretty basic at the moment but it’s enough to get started on some projects of your own. What can you build with it?
There was a huge group for today’s class where we took the Shape block from last week and built an amazing Twister project out of it.
- more about angles and Sine and Cos
- some basics of creating 3D illusions on a computer screen
We didn’t get it quite finished, but managed to get to some 3D. Follow the notes to get to the end and check out this sample project that has all the pieces from the doc and a few extra features in. It’s addictive playing with the twister!
In Scratch advanced this week we learned some cool math formulas that are really handy for doing interesting stuff in programming.
The things we went through!
- We revised X and Y and reminded ourselves how it works
- We drew a house using X and Y
- We learnt about circles and radius
- We learnt about the math formulas Sin and Cos and how they can be used to get X and Y positions on a circle
- We learnt about Custom Blocks in Scratch
- We wrote our own Custom Block that could draw a shape of any size and number of sides, using Sin and Cos to figure out the points!
- We used that Custom block to make lots of neat patterns (some by accident!)
The notes are attached in PDF and if you follow them you will have a project ready to go for this Saturday – we are going to take that custom block and do some really cool things with it. Don’t worry if you don’t have the time to do it or can’t follow the notes though – we’ll have this shared out so you can just take off where we finished!
Congratulations to everybody from CoderDojo Athenry who participated in the CoderDojo Coolest Projects event on 13 June 2015. It was a very impressive event, held in the RDS Dublin, with over 500 projects from CoderDojo ninjas from Ireland and worldwide.
Here are photos of the participants from CoderDojo Athenry.
James from the Minecraft Modders group with his technically impressive XyZ Mod with World Gen and Gauntlets:
Eoin from the Minecraft Modders group who entered the detailed and very well structured Global Cuisine mod:
Ruaidhrí and Luke from the Minecraft Modders group who entered the Weapons, Armour and Money mod:
Michael and Mikey from the CoderDojo Athenry PiDojo who entered their clever and topical Shower Evaluator project that times your shower and displays the amount of water used, cost of water, and cost of energy:
Alaidh from the PiDojo group who entered the very innovative Sensor Guide for the visually impaired, which was impressively backed up with scientific evaluation:
Scratch Over 10s:
Emily and Chloe from the Scratch Advanced group had a Scratch program with great environmental potential, Cúisneor, that helps to reduce food waste:
Scratch Under 10s:
Rachel from the Scratch Beginners/Intermediate Group was our youngest entrant from CoderDojo Athenry, aged 8, and had a fantastic Scratch app for helping young children to learn the letters of the alphabet:
Well done to everybody who entered!
We should also mention that three projects won prizes:
- Ruaidhrí and Luke won a prize for best use of Microsoft technologies (Microsoft owns Minecraft, of course)
- Alaidh won a prize for being a finalist in the Hardware category
- Mikey and Michael also won a prize for being a finalist in the Hardware category.
From Saturday 11 Oct 2014, we are starting a new season of CoderDojo Athenry, at our usual time and place. (The Saturday before, on 4 Oct, we will be having an introduction session for new mentors and other volunteers.)
Here is a the overview presentation (PDF): 1-CoderDojoAthenry-InfoSession-2014-Sept
This season, we will have the following streams:
- Scratch Beginners, led by Martha, for newcomers and those who did it before and want to stay with it
- Scratch Advanced, led by Oliver
- Python Games, led by Declan
- Minecraft Modding, led by Michael
- Occasional demos of cool stuff from individuals and companies – any suggestions you have are welcome.
We look forward to seeing you there!
– Michael and the CoderDojo Athenry mentors.
We awarded a record number of 87 belts at CoderDojo Athenry in May 2014:
- 3 White belts for ongoing participation
- 55 Yellow Scratch belts for competent coders
- 15 Blue Advanced Scratch belts
- 1 Yellow Python belt
- 3 Blue Python belts
In keeping with the CoderDojo ethos, these belts were earned by our young people meeting agreed standards in different coding disciplines. Belts are not for winning competitions against each other, but celebrate personal achievement, and are never given away without being earned.
Congratulations to all the young people who earned their belts!
We had a great turnout today for our first session of 2014. A very special welcome to our 14 new ninjas who joined us for their first coding session today. I hope you enjoyed your first visit to Coderdojo Athenry.
To ease everyone back in (including myself) we took a look at doing some storytelling. This involved again learning about the X, Y position of the stage, some movement of the sprites using the Glide command and of course testing our code to ensure that our timings were correct.
We look forward to seeing you all next week, when we will be using scrolling backgrounds.
The PDF version of todays session are available to download here: CDA-S3-Challenge08-Storiestelling.pdf
This week we began the task of cracking the following codeed message.
XUFHJ YMJ KNSFQ KWTSYNJW. YMJXJ FWJ YMJ ATDFLJX TK YMJ XYFWXMNU JSYJWUWNXJ. NYX HTSYNSZNSL RNXXNTS YT JCUQTWJ XYWFSLJ SJB BTWQIX, YT XJJP TZY SJB QNKJ FSI SJB HNANQNEFYNTSX, YT GTQIQD LT BMJWJ ST TSJ MFX LTSJ GJKTWJ.
All we know is this message is written in English. To crack this code we will use some common features of the English language.
- In the coded mesage look for single letter words. These words probably map to a or I
- In the coded message look for the most common three letter words. These words are the, and
- in the coded message look at the spelling of any other small word to see if we can figure out their original form.
The following link was the hand out provided to everyone. Each person used this handout to work through each stage of the decryption.
The teachers handouts is available at the following link. This handout provides detailed steps of how to work through decrypting the message.
This week we created on of the most famous ciphers the Caesar Cipher. This cipher is named after the Roman emperor Julius Caesar.
The Caesar cipher works by shifting each letter of the alphabet by a specific number.
In the example of the Caesar Cipher below the letters in the PlainText alphabet have been shifted by three places.
The letter a becomes D, the letter g becomes J and so on.
Using a Caesar Cipher with an offset of three the words Coder Dojo Athenry would become FRGHU GRMR DWKHQUB
The notes for this session on how to create a Caesar Cipher using Scratch are here: Scratch Encryption project Ceasar Cipher