Skip to main content

Posts

Why you're here

Kids Hacking is a great playground for my cyber friends to learn coding, exchange knowledge, collaborate on new ideas and the most important to enjoy and have fun during their stay on the site. Except from the material published on this site, a collection of videos can be watched at my YouTube channel and all available source code can be forked from my GitHub account. Also, you may text me in Twitter . Further, in order to clear any misunderstandings on the origins and the meaning of the term "hacker", based on Wikipedia " A computer hacker is any skilled computer expert that uses their technical knowledge to overcome a problem ".
Recent posts

Micro:bit - Heads and Tails v.2

This is an updated version with more advanced features of the head and tails software that we programmed in a previous post . Download project source code from GitHub: microbit-Heads-and-Tails-2.hex

Micro:bit - Heads and Tails

Use microbit instead of a coin, shake it and play the heads and tails game. Download project source code from GitHub: microbit-Heads-and-Tails.hex

Micro:bit - Sound Meter

Scream as loud as you can, microbit will measure it for sure... good luck! Download project source code from GitHub: microbit-Sound-Meter.hex

Micro:bit - Calculator

If you were ever thinking on how to code a calculator in microbit, then why don't you take a look in my solution? Download project source code from GitHub: microbit-Calculator.hex

Kids Hacking - Astronomia

Astronomia performing on a digital piano

Kids Hacking - Yamaha P-125B Digital Piano, The Sound of Silence

Hello darkness, my old friend I've come to talk with you again Because a vision softly creeping Left its seeds while I was sleeping And the vision that was planted in my brain Still remains Within the sound of silence In restless dreams I walked alone Narrow streets of cobblestone 'Neath the halo of a street lamp I turned my collar to the cold and damp When my eyes were stabbed by the flash of a neon light That split the night And touched the sound of silence And in the naked light, I saw Ten thousand people, maybe more People talking without speaking People hearing without listening People writing songs that voices never share And no one dared Disturb the sound of silence "Fools", said I, "You do not know Silence like a cancer grows Hear my words that I might teach you Take my arms that I might reach you" But my words, like silent raindrops fell And echoed In the wells of silence And the people bowed and prayed To the neon god t

Micro:bit - Stopwatch

At this tutorial, using microbit, we present the functions included into a stopwatch! Actually, it is a time counter with few more functionalities :) Download project source code from GitHub: microbit-Stopwatch.hex

Micro:bit - Countdown Time

At this tutorial we will build a countdown timer. We will focus on the concept of code refactoring and explain that a program can be constructed by more than one ways. Download project source code from GitHub: microbit-Countdown-Timer.hex

Micro:bit - Unboxing Halo

Halo for microbit is a cool add-on accessory that places your device and your programs on a higher level.

Micro:bit - Night Light

Clap your hands once to turn on the lights, clap them again to turn the lights off. With few blocks of code you can create a night light in microbit. Download project source code from GitHub: microbit-Night-Light.hex

Micro:bit - Thermometer

Use microbit's temperature sensor and build a thermometer. Press button A to display the temperature and button B to show a happy face if it is hot (above 20C) else show a sad face. Download project source code from GitHub: microbit-Thermometer.hex

Micro:bit - Rock Paper Scissors

Shake the microbit and play the all times classic game "rock paper scissors". Download project source code from GitHub: microbit-Rock-Paper-Scissors.hex

Micro:bit - Dice

Learning control structures (if, else-if and else) on micro:bit. The program displays a side of a dice when shaking the micro:bit. Download project source code from GitHub: microbit-Dice.hex

Micro:bit - Emogies

Learning micro:bit's basic concepts using buttons A and B. The program display a happy, sad or wow face depending on the button pressed. Micro:bit's version 2 special feature: after each face, play a sound from build in speaker. Download project source code from GitHub: microbit-Emogies.hex

Micro:bit - Unboxing of version 2

I have just received the new micro:bit v2 and I can't wait to demonstrate it at you. So, please enjoy the micro:bit unboxing with uploading a flashing hearts program on it!

Micro:bit - Hello World!

Classic "Hello World!" program, written with Microsoft MakeCode in Blocks for Micro:bit. Also, presented top two functionalities, such as IDE Translation in 30 languages and integration with GitHub. Download project source code from GitHub: microbit-HelloWorld.hex

Kids Hacking - Retro game console of a young coder (Snoopy Nintendo Game & Watch Table Top 1983)

Snoopy Nintendo Game & Watch Table Top 1983 My grandfather bought it as a gift from the USA in 1983 for my mother. 37 years later, still gives hours of enjoyment to the whole family including his granddaughter ;)

ScratchJr - Birthday in lockdown

Birthday in lockdown is a true story that our children may face this period and we must help them to be patient, but careful not deprive their dreams. #stayhome #lockdown #besafe #fightCovid-19 Download project source code from GitHub: Birthday_in_lockdown.sjr

Kids Hacking - Budgies of a young coder

Meet my budgies Flam the blue female and Sam the yellow male.

Kids Hacking - Hobby of a young coder (Yamaha PSS-470)

Young coders do have hobbies as well, their interest is not only in front of a laptop monitor. You believe it or not, one of their favourite hobby is learning and playing piano. Enjoy such a performance on a legacy harmonium the "Yamaha PSS-470", which is running on a Sound Blaster 16!.

ScratchJr - Wizard and Dragon II

The Dragon returned for a revenge, but the Wizard transformed on a Dragon too and defended him self on an endless fight! Download project source code from GitHub: WizardAndDragonII.sjr

ScratchJr - Wizard and Dragon

The Wizard knew that he was only one small part of the collective defence against Dragon, a solitary node if you like, yet he felt himself to be solely responsible for the defence of the realm and knew that many others like himself felt the same way. Consequently, he had spent most of the day updating his spells and charms, trying to anticipate the nature of Dragon’s attack, without knowing exactly what form it would take. Now, with nightfall fast approaching, all he could do was to wait. Download project source code from GitHub: WizardAndDragon.sjr

ScratchJr - Soccer Shooting

Become a star footballer on ScratchJr by shooting the ball and achieve memorable goals!... but it won't be that easy, since you have to confront the number one goalkeeper in football history. The program utilises the Reactor Design Pattern. In detail: "The reactor design pattern is an event handling pattern for handling service requests delivered concurrently to a service handler by one or more inputs. The service handler then demultiplexes the incoming requests and dispatches them synchronously to the associated request handlers." Wikipedia Download project source code from GitHub: SoccerShooting.sjr

ScratchJr - Hungry Monkey

Yet another great ScratchJr story. " Many mammals eat fungi, but only a few feed exclusively on fungi; most are opportunistic feeders and fungi only make up part of their diet. At least 22 species of primate, including humans, bonobos, colobines, gorillas, lemurs, macaques, mangabeys, marmosets and vervet monkeys are known to feed on fungi. " Wikipedia . Download project source code from GitHub: HungryMonkey.sjr

ScratchJr - Sky Warriors

Welcome to the first ScratchJr Flying Airshow and enjoy Sky Warriors on an epic dogfight! Take control of the aircraft and execute unique maneuvers, but avoid collisions with the enemy's fighter. Download project source code from GitHub: SkyWarriors.sjr

ScratchJr - Fly Flap

Buzz, buzz, slap! Why flies can be so annoying. Play this exciting ScratchJr and try to hit the fly the fastest possible... will you make it? Download project source code from GitHub: FlyFlap.sjr

ScratchJr - Jingle Bells

"Jingle Bells" is one of the best-known and commonly sung American songs in the world, now in a ScratchJr project story. Download project source code from GitHub: JingleBells.sjr Lyrics Jingle bells, jingle bells Jingle all the way, Oh what fun it is to ride In a one-horse open sleigh, Jingle bells, jingle bells Jingle all the way, Oh what fun it is to ride In a one-horse open sleigh. Dashing through the snow In a one-horse open sleigh Through the fields we go Laughing all the way. Bells on bob-tail ring Making spirits bright What fun it is to ride and sing A sleighing song tonight. Jingle bells, jing-jingle bells Jingle all the way, Oh what fun it is to ride In a one-horse open sleigh, brruup Jingle bells, jingle bells Jingle all the way, Oh what fun it is to ride In a one-horse open sleigh. Dashing through the snow In a one-horse open sleigh Through the fields we go Laughing all the way. Bells on bob-tail ring Making spirits bright

ScratchJr - Flowers Bloom

A ScratchJr story about the flowers that rise and bloom after rain. Download project source code from GitHub: FlowersBloom.sjr

ScratchJr - Basketball Dunk

Enjoy the best slam dunk ever in basketball history programmed in ScratchJr. Download project source code from GitHub: BasketballDunk.sjr

Kids Hacking - Trailer

Meet Coocooda, the Owl! Owner of www.kidshacking.com .

ScratchJr - Tic Tac Toe

Code and enjoy playing with your friends the famous Tic Tac Toe game in ScratchJr. Tic-tac-toe (also known as noughts and crosses or Xs and Os) is a game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game. " Because of the simplicity of tic-tac-toe, it is often used as a pedagogical tool for teaching the concepts of good sportsmanship and the branch of artificial intelligence that deals with the searching of game trees " Wikipedia Download project source code from GitHub: TicTacToe.sjr

ScratchJr - Battleships

Battleships is an advanced ScratchJr game, where you can sail a ship on the sea by clicking on the four green arrows and yell the well known pirates exclamation "Sail ho". Careful not to crash on the enemy ship and fire with the cannon to sink it. Download project source code from GitHub: Battleships.sjr

ScratchJr - Einstein

Einstein ScratchJr game aims on the young geniuses. Click on the child that answered the teacher's exercise correctly. Download project source code from GitHub: Einstein.sjr

ScratchJr - User Manual & Sample Projects

If you don't know how to start over with ScratchJr coding, the ScratchJr application itself includes a comprehensive User Manual and a rich set of Sample Projects that can help you to start over with this amazing programming language. Table of Contents 1. About ScratchJr 2. Interface Guide ( Save, Stage, Presentation Mode, Grid, Change Background, Add Text, Reset Characters, Green Flag, Pages, Project Information, Undo and Redo, Programming Script, Programming Area, Blacks Palette, Block Categories, Characters ) 3. Paint Editor Guide ( Undo, Redo, Shape, Character Name, Cut, Duplicate, Rotate, Drag, Save, Fill, Camera, Color, Line Width ) 4. Blocks Guide ( Triggering Blocks, Motion Blocks, Looks Blocks, Sound Blocks, Control Blocks, End Blocks ) 5. Sample Projects ( Under the sea, Farm, Seasons, Friends, Dance, Animal Race, Bump, Quick Intro )

ScratchJr - YouTube Playlist

Enjoy watching all ScratchJr videos into a single YouTube playlist, as published by www.kidshacking.com

ScratchJr - Solfege

Play the ScratchJr Solfege game by placing each child on the correct order and learn the syllables Do, Re, Mi, Fa, So, La and Ti. Download project source code from GitHub: Solfege.sjr

ScratchJr - Bikathon

Bikathon is a never ending ScratchJr game, until the bike to crash on the car. Click on the car to start the game and click on the bike to jump over the car, careful not to hit the car. Download project source code from GitHub: Bikathon.sjr

ScratchJr - Bat Invaders

ScratchJr Bat Invaders implementation got inspired by the all time classic arcade game Space Invaders. Click on the ball to throw it and hit the moving bats. Click on the rancher to restart the game. Download project source code from GitHub: BatInvaders.sjr

ScratchJr - The Adventures of a Starfish

A great ScratchJr story, where the little starfish plays at the sand and suddenly a crab attacks it. In order to save itself quickly returns to the sea and is looking for its mother. Click on the crab to start the story, next click on one of the fishes to start over. Download project source code from GitHub: TheAdventuresofaStartfish.sjr

ScratchJr - The Jumping Frog

An amazing ScratchJr game, yet easy to implement. Click on the children to throw the ball, but careful not to hit the frog! Download project source code from GitHub: TheJumpingFrog.sjr

ScratchJr - Falling Back to Earth, Source Code Overview

Let’s go through all the source code written for the ScratchJr program “Falling Back to Earth” as published on this  post . Download project source code from GitHub: FallingBacktoEarth.sjr

ScratchJr - Coding Hard

The gear used for the implementation of our software development projects, is a laptop, a tablet and a broadband internet connection. Other than that, select your favorite Integrated Development Environment (IDE) and you are ready to code hard.

ScratchJr - Falling Back to Earth

This is my first program in ScratchJr, aiming to understand its capabilities and provided list of functions. I was impressed by its completeness and ease of use. Everything that you may need by a basic programming language is in there... objects, variables, actions, loops, timers, triggers and messages presented as blocks help you to understand all these concepts. The only guidance that you may need by an adult, is to define the problem (project requirements) that you will have to solve (code) and your motivation will boost to maximum. ScratchJr is awesome!... I can't wait to code more projects ;)