Scratch programming channel

Back to a few basics for the Code club, a YouTube channel with lots of nice lessons on Scratch.

Remember to stay safe, while on line.

Feel free to share projects with the PaigntonCodeClub2020 studio, please contact the library for info and invites.


Python Text Adventure Game

Welcome to the 2nd day of the EU Code Week activities, presented as part of Paignton Library code club.

So today, there is an activity on Building a text based adventure game using the Python Programming language.

As with other activities you can probably use to complete this and collaborate with others.

This activity is also mentioned on the going further but is presented here as part of EU Code Week.


CodeWeek 2020 Update

We are now listed as an event for EU Code Week 2020. Details here.

So what does this mean?

  • Publicity
  • Activities posted every other day
  • Hopefully more people taking part

I have schedulled some more advanced activities, but started off with a Scratch course, then moved on to a Python Text Adventure game activity.

If anyone is interested please get in touch via the about page.

#codeclub, #coding, #codeweekEU

Astro Pi 2020-2021

Just spotted this on the CodeClub Twitter feed.

Runs from 14th September 2020 to 19th March 2021 for more information please visit the Astro Pi Website


Even though Code Club is still remote, we can still have a go at this, so maybe time to dust off the Raspberry Pi and have a go.

#iss,#astropi,#raspberrypi,#coding,#programming,#cs, #codeclub,

Paignton library Code Club: JavaScript

As I have been sending out material since mid March, I am sending out other learning opportunities.

By now you will probably have an account with both and FreeCodeCamp, so jump straight in and start reading, watching and of course coding.

Both websites have excellent forums, you should be able to ask for help with custom projects on

You have a lot of choice here, you can learn to develop games, learn data analyses, machine learning or how to use JavaScript with webpages and much more.

If you would like any help please get in touch with me on twitter @zleap2018 or via the library @paigntonlibrary



While Code Club itself is aimed at 9-13 year olds, these activities can be followed by anyone.


Please feel free to discuss on Discourse

Rocks and Diamonds – Level Creation 3

Placing the same element, multiple times, in the playing area, in random positions.

As mentioned my previous post I am going to briefly discuss random placement of elements on the playing area.

It is important this point to stress that the game editor will randomly place the selected element multiple times, and NOT just place random elements on the playing area.

On the game editor find the following block.

random placement 1

Within this there is a random placement button, depicted by a dice. Select this:

random placement 2

If you now click on one of the game elements for example a green emerald, and press the dice the editor will place several on the playing area.

random placement 3

You don't need to keep everything where the editor puts it, feel free to delete and add others manually elsewhere, but where you need lots of one thing it may help.

This is one of the features you end up wishing you had known about, especially when you have spent weeks, creating levels by manually placing the items multiple times.

Don't for get to add your exit block manually.

Placing lines of blocks.

The third button in, is a line drawing tool. As this sort of relates to the above, I will cover this too. Pressing the line button and then selecting, for example a wall element, you can draw straight lines. This makes it quicker and easier to draw longer walls or even mazes for example.

#games, #levels, #rocksndiamonds, #level,#creation,#codeclub, #random

Rocks and Diamonds – Level Creation 2

Further to previous post you can see that creating levels for Rocksndiamonds is fairly simple.

I would like to share the following tips for any budding level designers:

  • Start simple
    • Experiment with different game elements
    • Add new elements as you create new levels
    • Don't overwhelm users or players
  • Testing levels
    • Self test levels
    • Get others to test
    • Get feedback
    • Consider any feedback
    • Act on feedback
  • Set the time so that there is :
    • Enough time to complete the level
    • Have a few seconds left over
    • Set time once level is completed
  • Mix it up
    • Start simple and work up to more complex levels
    • As you create more complex levels throw in a simple level
  • Make use of the game editor features to save time such as:

    • Random element placement (discussed in next post)
    • You can draw lines
    • Shapes
    • Fill feature, don't add 25+ blocks manually
  • Have fun

  • Take regular break

  • Stop and comeback later, this gives a fresh view

  • Submit and share levels with the game developers, they can be part of the game level archive

    • If doing this, remember to follow online safety rules
      • Ask permission from an adult
      • Make sure you have not included your name or contact info in any levels
      • Follow any guidelines for submitting levels

#games, #levels, #rocksndiamonds, #level,#creation,#codeclub

You can find me on Friendica at

cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

Rocks and Diamonds – Level Creation 1

Reposting this from my main blog:

We have Rocksndiamonds installed at the library for Code Club.

I am going to write a series of tutorials on level creation. Firstly a very basic how to create a simple level.

When you load the game you are presented with the main menu.


The two items we are concerned about here are :

LevelSet and the screen at the bottom. This screenshot shows level 12 with a preview at the bottom of the menu. This is part of my own level set.


If you click on LevelSet you get the following


Select custom and make sure this is set to 1, which it will be by default. Now LevelSet will read 001



If you now click on Level Creator You get a similar screen to that below: ( this is one of my own levels you will get a blank playing area with just the brown sand)


I have already created a very basic level here. We can explore how this is done.

Firstly the default level created is huge usually 128x128, this is too big for what we need. On the right hand side there are lots of options. Clicking on CONF:


Brings up the level properties.


For this level we are going to set

  • Size to 8 x 8
  • Gems to collect to 4


Press Escape to return to the editor area.

For a level to work we need at least 2 items.

Exit door


Emeralds to collect


If you click on the item to select, then click on the level to place it on the playing area.


Press Enter to test.

Press Escape to go back to the editor, you now need to save your new level. Click SAVE, this can be found in the same panel area as conf



Answer yes. Your level is now saved.

Pressing esc from the editor takes you back to the main menu. The new level will be shown at the bottom.

So adding a new level is pretty easy.

You may want to create your own level set as the above adds to an existing level set.

Location of level files in different Operating systems.

  • Linux – ~/.rocksndiamonds/levels
  • Windows –
  • Mac

Note : The file levelinfo.conf is important without this the levels won't show up when you copy them to a new location.

#games, #levels, #rocksndiamonds, #level,#creation,#codeclub

You can find me on Friendica at

cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)


Another useful programming language is Ruby, if you liked the Sonic Pi activities, then you may find, that Ruby is a nice step on from this.

If you have a account then you can start programming in browser, which is great, as it saves having to install the software locally, which isn't always possible or allowed if you're in school for example. You can also ask for help from the forums or collaborate with friends.

In terms of more semi formal learning, Codecademy has a course, which I found pretty good.

A few other resources are listed below:-

There is, or was, Kids Ruby which was a nice programming application for kids. I am not sure on the current status. I have, asked @kidsruby on Twitter to try and find out.

In the mean time, a search on Duckduckgo, should give you lots of useful information.


Raspberry Pi – Blender

Code Club also offer Blender activities

We have Blender installed at Paignton Library. However as this is a virtual code club, please make sure your home computer meets the minimum specification for installing running Blender.

Further links

Blender Projects

Feel free to share projects on services such as Notabug, this uses git.

Well done for completing all the Code Club activities. I will keep posting more content over the next few weeks. Either new topics or to build on existing topics.

On a related note here are the results of the coolest projects contest.



I can be contacted on Mastodon here. I can also be contacted on twitter at @zleap2018

cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)