Welcome to Bytes N Bits

Learn to code.

Learn to make.

Have fun.

Learn To Code

Learn To Code

Learn programming the fun way by writing your own games. Click the link below to get started.

Beginner's Coding Course

Beginner's Coding Course

Never programmed before? Start here and code a complete Space Invaders game from scratch by following my step by step tutorials.

Learn To Make

Learn To Make

Learn how to connect computers to real world electronics. Click the link below to get started.

Beginner's Level 2 Course

Beginner's Level 2 - Asteroids

If you’ve completed the Space Invaders project you’re ready for the next level challenge. Full vector graphics with real game physics and particle effect explosions. Get Coding!

Beginner's Challenge - Code It Yourself

Beginner's Challenge - Snake

Time for you to code a game for yourself. Don’t worry – full coded solution if you get stuck!

Latest Posts

MAME ROMs Explained and Where To Download Them

Modelling the Game World in Space Commander – Learn to Code Your Own Games

The Games That Created the Gaming Industry – The Golden Age of Video Games

How to Overclock Your Raspberry Pi – Squeeze Out More Processing Power

Raspberry Pi I2S Sound – Add Digital Sound Output to Your Raspberry Pi

Raspberry Pi Zero Sound Output – Add Analog Sound Through a Headphone Socket and Speaker

Fix Sound Problems on Raspberry Pi Zero With GPIONext – Building Your Own Retro Gaming Handheld

Vector Graphics for Space Commander – Learn to Code Your Own Games

Using GPIO Pins For Button Inputs in RetroPie – Building Your Own Retro Gaming Handheld

Space Commander Overview – Learn to Code Your Own Games

RetroPie on a Raspberry Pi Zero at 50FPS on an SPI LCD Screen With ILI9341 Driver

Fastest FPS on Your Raspberry Pi SPI LCD Screen – Make RetroPie playable on a cheap LCD panel

Increase the Frame Rate on Your Raspberry Pi LCD Screen – SPI based LCD Panels

How To Decode and Display Bitmap Images Using an Arduino – Write Your Own Code

How To Load Images Onto Your Arduino LCD Screen From an SD Card

Download Every Game For Your Retro System In One Go

Add an SD Card To Your Arduino – Setup and basic file operations

My Favourite BBC Microcomputer Games

How to Unzip Multiple Archive Files in Windows 10

Arduino Bluetooth Control From Your Mobile Phone Using MIT App Inventor

Build Your Own Arcade Controller – Get that real Arcade feel!

Top Games for the Commodore 64

How To Win At Retro Games Using Snapshots – Get To Those Higher Levels!

Fix Your SD Card After Using It As a Raspberry Pi or Linux Boot Disk

Turn Your PC into a Commodore 64 and Play Every Game For Free

Using AT Commands to Set Up Your Bluetooth Module : HC-05 and HC-06

Adding Bluetooth to Your Arduino Projects

Coding Games on an ILI9341 SPI LCD Touchscreen with Arduino

Calibrating and Coding Your Arduino Touchscreen

Basic Animation on Your SPI TFT Touchscreen and Arduino

The Best Computer Language for Beginners

Connecting an SPI TFT Touchscreen to Your Arduino

The 8 Queen Problem – Computer Science

Getting Started With Arduino

Learn to Code Snake in TIC80 – Code Walkthrough

Learn to Code Snake in TIC80 – Game Overview

Attach a Joystick to the Fuse ZX Spectrum Emulator

A Bit of Computer History – The UK Computer Literacy Project

Learn to Code Asteroids – Lesson 11 – Alien Missiles Incoming

Learn to Code Asteroids – Lesson 10 – Alien Ships Sighted

Flappy Bird for Binocular Vision Suppression Training

Asteroids for Binocular Vision Suppression Training

Learn to Code Asteroids – Lesson 9 – Speeding Up The Code

Learn to Code Asteroids – Lesson 8 – Smoke Effects Code Challenge

Learn to Code Asteroids – Lesson 7 – Particle Effects

Vision Therapy Games – Space Invaders for Binocular Vision Suppression Training

The Central Processing Unit – CPU

Learn to Code Asteroids – Lesson 6 – Polygon on Polygon Collision Detection

Learn to Code Asteroids – Lesson 5 – Scaling Vector Graphics

ZX Spectrum Jetpac – Retro Game Deconstruction

Bounding Ball Collision Detection – Game Coding Tutorial

Bounding Box Collision Detection (AABB) – Game Coding Tutorial

Learn to Code Asteroids – Lesson 4 – Point in Polygon Collision Detection

Learn to Code Asteroids – Lesson 3 – Generating Random Vector Asteroids

Learn to Code Asteroids – Lesson 2 – Moving With Vectors

Learn to Code Asteroids – Lesson 1 – Drawing Vector Shapes

Learn to Code Space Invaders – Lesson 25 – Level Up!

Learn to Code Space Invaders – Lesson 24 – The Aliens Have Landed

Learn to Code Space Invaders – Lesson 23 – Player Lives and Game States

Learn to Code Space Invaders – Lesson 22 – The Aliens Fight Back

Learn to Code Space Invaders – Lesson 21 – Adding Sound

Learn to Code Space Invaders – Lesson 20 – Keeping Score

Learn to Code Space Invaders – Lesson 19 – Exploding Aliens

Learn to Code Space Invaders – Lesson 18 – Shooting The Aliens

Learn to Code Space Invaders – Lesson 17 – Aliens Walk This Way

Learn to Code Space Invaders – Lesson 16 – Alien Speed Control

Learn to Code Space Invaders – Lesson 15 – Aliens on the Move

Write Your First Game in Only 25 Minutes!

Learn to Code Space Invaders – Lesson 14 – The Aliens Are Here!

Learn to Code Space Invaders – Lesson 13 – The Aliens Are Coming!

Learn to Code Space Invaders – Lesson 12 – While Do Loops

Learn to Code Space Invaders – Lesson 11 – Repeat Until Loops

Learn to Code Space Invaders – Lesson 10 – More Arrays and Loops

Learn to Code Space Invaders – Lesson 9 – Arrays and Loops (part 1)

Learn to Code Space Invaders – Lesson 8 – Debugging the Firing Code

Learn to Code Space Invaders – Lesson 7 – Functions

Learn to Code Space Invaders – Lesson 6 – Firing Bullets

Learn to Code Space Invaders – Lesson 5 – Storing Data in Tables and Objects

Learn to Code Space Invaders – Lesson 4 – Creating and Moving Sprites

Learn to Code Space Invaders – Lesson 3 – Using the Control Buttons

Learn to Code Space Invaders – Lesson 2 – Moving Things Around

Learn to Code Space Invaders – Lesson 1 – Variables

Learn to Code Space Invaders – Lesson 0 – Finding Your Way in TIC80

Getting Ready to Learn To Code