Coding for Kids in Python
Create Your First Game with Python
Ellen Tale
Introduction
Shay, Matilda, and James are cool. They can code! They go on awesome adventures on their computers. They create games sometimes during some of these adventures. They even sometimes sell these games and get some money. They use this money to get more experience on their computer and sometimes the dreamy things they want in real life.
This book is written to help you to be cool like Shay, Matilda, and James, to have fun like them, create games like them, and maybe sell your games one day.
To do this, this book will teach you how to Code with Python, one of the easiest ways to go on beautiful adventures on your computer. There are so many awesome adventures you can go on with coding, but we would focus mainly on creating games. At the end of this book, you would have the necessary tools to develop yourself further with the python programming language.
Now get yourself a good computer and let's go on this beautiful adventure together. Some parts of it may be annoying, some parts hard and others complex. Still, it is necessary because, in every excellent experience, the hero must face hard and complicated things else. You would have no adventure, and going to the kitchen to stuff your face full of cake would be an adventure.
When things get hard or confusing as you read this book, all you have to do is to try to break down what you are doing into the simplest of terms. For example, when you don't understand a sentence, you should read each word in that sentence understanding the meaning of each word then reread the sentence. If you try this, you will find out that usually, you will appreciate the sentence like magic the same works for this book.
You will need a good map to find your way around on this adventure, and we have made one for you!
MAP
The first checkpoint (boring adults call them chapters) you will encounter is titled " the beginning ." It would tell you why python should be the programming language you will use for this adventure and not other programming languages. Also, it explains how to download the python application so you can use it on your computer.
Next, you will arrive at a checkpoint called " getting to know python-basic skills and concepts ." This is where you would be introduced to the computer language. This stage is like the helicopter ride over the city where the adventure will take place.
Next, you arrive at a checkpoint which contains the "levels." On each level, you will encounter many villains (bad guys) which you will fight. They will come in the form of exercises which you would solve (don't worry, they are not like practices form school) and at the end of each level, you would encounter a big evil villain which you would have to fight to finish the degree.
The 1st level is the level of numbers and variables . At the end of this level, you would earn the medal of courage and bravery , which would unlock level 2.
The 2nd level is the level of the Strings, lists, tuples, dictionaries, and loops
. The villains here are very nasty and will try to confuse you. At the end of this level, you will earn the medal of wisdom , which unlocks level 3.
The 3rd level is the level of data flow where you will earn the medal of creation, which unlocks the next level.
The 4th level is the level of functions and modules . At the end of this level, you would earn the medal of persistence .
The 5th level is the level of the turtles. At the end of this level, you will earn the medal of craft , which unlocks level 4.
The 6th and final level is the level where you finally begin to create your games. To enter this level, you need the medals from levels 1to 4. At the end of this level, you earn the wizard's badge , which shows that you now know the basics of creating games.
Let's hurry and begin our adventure!!
Copyright 2020 by Ellen Tale all rights reserved.
This document is geared towards providing exact and reliable information in regards to the topic and issue covered. The publication is sold with the idea that the publisher is not required to render accounting, officially permitted, or otherwise, qualified services. If advice is necessary, legal or professional, a practiced individual in the profession should be ordered.
- From a Declaration of Principles which was accepted and approved equally by a Committee of the American Bar Association and a Committee of Publishers and Associations.
In no way is it legal to reproduce, duplicate, or transmit any part of this document in either electronic means or printed format. Recording of this publication is strictly prohibited and any storage of this document is not allowed unless with written permission from the publisher. All rights reserved.
The information provided herein is stated to be truthful and consistent, in that any liability, in terms of inattention or otherwise, by any usage or abuse of any policies, processes, or directions contained within is the solitary and utter responsibility of the recipient reader. Under no circumstances will any legal responsibility or blame be held against the publisher for any reparation, damages, or monetary loss due to the information herein, either directly or indirectly.
Respective authors own all copyrights not held by the publisher.
This material is provided for educational purposes only and is not intended for medical advice, diagnosis or treatment. The presentation of the information is without a contract or any type of guarantee assurance.
The trademarks that are used are without any consent, and the publication of the trademark is without permission or backing by the trademark owner. All trademarks and brands within this book are for clarifying purposes only and are owned by the owners themselves, not affiliated with this document.
The information herein is offered for informational purposes solely and is universal as so. The presentation of the information is without a contract or any type of guarantee assurance.
The trademarks that are used are without any consent, and the publication of the trademark is without permission or backing by the trademark owner. All trademarks and brands within this book are for clarifying purposes only and are owned by the owners themselves, not affiliated with this document.
Contents
Checkpoint 1
The beginning
Welcome to this checkpoint! You may proceed:
Adventure tools
We introduce you to the means of your adventure.
Your computer: this is the most excellent tool of all for this beautiful adventure. Your computer is like a gun in a war game; you cant play without it.
Computers are mighty but very dumb. They have the power to do beautiful things, but they cant do those beautiful things except you command them to do it.
Computers like humans use languages. When you code, you talk to your computer in a language it understands. If you know the language of the machine, you can make it do almost anything you can think of.
There are several languages used by computers. Python is one of these languages.
Python language has several advantages.