Explorers – Week 5 – Guessing Game

Hi everyone,

Well! didn’t we have a very studious bunch of Ninjas last week, all very focused on our new game. Last Saturday we did a slightly different game to usual., There was no movement, no sensing when something happened. It was a Maths Game, a guessing game where the computer picks a random number and we had to guess the number.

We had to first make sure that a random number was picked using an Operator. Previously we have used a Variable to store a Score or Lives, but this time it was storing the random number and our guesses. Leaving them on screen as we were testing allowed us to understand more about the variable and what it does…it also made the testing a little easier.

Depending how any guesses we were given we repeated our code that number of times. As well as having to make decisions, i.e If_then, we also had to do a comparison before making the decision, to determine whether the guess was correct, too low or too high.

5guesess

I hope you all enjoyed the difference this week and we are going try something else different next week. We  (You)  are going to create a Animated Halloween Scene. Get your Thinking Hats On!

Here are this weeks notes in PDF: CDA-S6-Week_05-GuessNumbers.pdf

Explorers Week 4 – Help Bo Peep find her sheep

Hi everyone,

Great week again with huge crowds but thanks to our new room layout and a couple of Health and Safety issues sorted, I think it was a more comfortable and safe environment for everyone. Thank you to Niamh, Sarah, Roisin , Alan and Pete you came early and helped sort out the new layout.

This week, I helped Bo Peep found her sheep! Some of you did the same and some used ideas like Minecraft Steve finding Iron Ore and Diamonds, Knights finding dragons or a Princess finding flowers.

Before we even started our game this week we talked a little bit about File Management and about the importance of keeping your files somewhere you can access them quickly and giving them a meaningful name.

So to this end, we all created a folder where we will be keeping our files in the future and within that we had a sub folder for this weeks files.

We started our game by drawing our background on our stage:

Rather than use the sprites from the Scratch Library, we searched the internet using a image search for our Sprites.

This week, we decided to move our main sprite using the arrow keys. For this we had to learn a small bit about the X and Y axis and I gave you a little tip on how to remember which is which!

Hope you all enjoyed this week, next week we have a very small bit to finish off for this game and then we will start a new game!

Here are the notes for this weeks session in PDF CDA-S6-Week_04-BoBeep

Martha

 

Explorers Week 3 – Improving last Weeks Game!

Hi everyone,

Can you believe the crowds we had again last week, another record 251 Ninjas and Parents attended Coderdojo Athenry last week.

We were adding to and improving our game from last week. We added a sprite that would catch the fish and decided what could or would happen when this occurred.

We discussed how to make a game more fun we have to add some complexity to it….we need to make it harder to play!! so to this end we used some code from our operator palette to add some randomness.

I also introduced Variables and how we can use them to keep track of things like Score or Lives.

I am attaching the notes from last week as PDF CDA-S6-Week_03-FirstGame_Part2

See you all this Saturday again. We will be starting a new game and Ill need your help.

Martha

Explorers Week 2 – Our First Game!

code

Hi everyone!

Wow! what a fantastic turnout on Saturday for our first week back this year. We had our highest recorded numbers in the Dojo this week. 245 Ninjas and Parents, incredible.

Our little old room had 130 alone, so probably over 80 of you Ninjas came to start coding and make your first game. I hope you had a good time, I know that I really enjoyed it. There was a really great atmosphere and energy in the room.

I am attaching my notes in PDF for you. CDA-S6-Week_02-FirstGame

Please take a look at them as they contain details on each of the palettes that we didn’t go into fully on Saturday. It also contains all the code for each sprite in case you missed any part.

We will continue to add to the game next week but don’t worry if you weren’t here this week, I will have a copy of the game so that you can join in.shark

Don’t forget, anyone can join at any stage, let your friends know how much fun your are having.

See you all next!

Martha

 

Week 4 2017 – Explorers – Piano

Hello everyone,

Thank you all for coming yesterday on such a lovely day.

This week we did a simple Piano.

piano

We only had to draw two keys, and then could duplicate these and change the names. The same applied to the code. The code is the same for each key apart from one small change so the note is the appropriate for the key.

REMEMBER! You need to make four changes each time you duplicate:

Change the name of the spite to the next Note

Change the name of the TWO costumes

Change the NOTE played

Piano2

Piano3

Remember, no sessions for the next two weeks. Have a nice break and for anyone with confirmations to attend next week I hope the weather is extra nice for you.

See you back on the 4th of March

Here are notes from this week in PDF cda-s6-week-4-17-piano.pdf

Martha

Explorers Week 2- 2017, Paint.net

Hello everyone,

Today we took a look at Paint.net, which is a drawing program. I quickly went through the menus but the best way to learn a program like this is to use it and experiment with it.

PAINTNET

The main reason we looked at it this week was because we will need it next week as we begin our modelling and stop/motion animation. After we take our photos we will be able to “clean them up before we bring them into Scratch as our Sprites.

snake

Next week, if the Moms and Dads could bring along a camera or phone along with the lead to attach these to your laptop.

And of course most important of all bring your imagination!

Here the full notes from todays session in PDF form. cda-s6-week-2-17-learnaboutpainting.pdf

Explorers – Maths Game

Welcome back everyone and Happy New Year

We had a great day in Coder Dojo on Saturday! We did a huge amount of work developing a maths game in the Explorers group.CDA-S5-Challenge_10-Maths game-how to

  1. The player picks a level of difficulty and the computer chooses 2 random numbers to add (subtract or multiply- whichever you choose!) together and show the numbers to the player. For this we needed 2 SPRITES and 4 VARIABLES called SCORE, LEVEL, NUMBER1 and NUMBER2 as well as 2 BACKDROPS. CDA-S5-Challenge_10-Maths game-ask questions1CDA-S5-Challenge_10-Maths game-ask questions
  2. The player then has to enter an answer to the equation and the computer tells them whether they are wrong or right. CDA-S5-Challenge_10-Maths game-decisions alternative end
  3. We repeated the ask/answer questions 5 or 10 times.

We didn’t get to finish our game but we will next before we start learning Paint.net

See can you figure it out for yourself:

We will have a second sprite who reacted positively to correct answers BROADCAST and negatively to wrong answers BROADCAST. You can use whatever sprites you like and change their look whatever way you like.CDA-S5-Challenge_10-Maths game-sprite 2After all the questions were asked we will have  the 1st Sprite SAY – Game Over! and BROADCAST Game over so that the backdrop changed and music played. There are two ways to change the backdrop- see below!CDA-S5-Challenge_10-Maths game-alt backdrop CDA-S5-Challenge_10-Maths game-backdropCan you improve our game??! Can you figure out how to subtract or multiply instead of add? Can you get the computer to add three numbers together or give the user 3 level options like: easy, medium or hard?

The notes for the Maths Game are here:  cda-s6-week_1_17-mathsgame.pdf

See you all next week and don’t forget to Download Paint.net at         WWW.GETPAINT.NET

Martha

Week 9, Explorers – Pen Commands

Hello Everyone,

Thank you all for coming again this week. This week we looked at pen commands, we have not done this before in the Explorers group so it was new for everyone.

pencommand

We also created some variables which we set as sliders which again is something we had not done before with this group.sliders

And lastly we added buttons to our game. We added two separate buttons, a Start and Stop.

Here are the full Pdf version of my notes from this weeks session. cda-s6-challenge-pen-command.pdf

Martha