The aim of this challenge is to use HTML, CSS and Javascript to create an interactive sliding puzzle. Step 1: Creating 9 tiles from a single picture, using CSS Our aim is the use a single picture file called flower.png…
The idea of this python challenge is to write a python program to help guitar players learn and practise new songs. Our program will read all the chords used in a song and display and animate a visual representation/chart of…
In this challenge we will use Python code to create text-based (ASCII) animations. Each of these animations is using a main loop that repeats the given code every 0.2 seconds and clear the screen between two iterations (frames). Check our…
Adding a Splash Screen to your Python Projects A splash screen usually appears for a few seconds while a game or program is launching. It can contain basic information such as the name of the game and its version number.…
You have been asked to create a program to keep track of the scores from the football Premier League. Your program will store match results in a text file using the following format: home team;away team;home score;away score; For instance,…
Check your understanding of the page rank algorithm used by search engines such as Google to sort search results. To find out more about this algorithm, read this blog post first: Search Engine Indexing and Page Rank Algorithm Quiz #1…
Search Engines Indexing Search engines like Google maintain huge databases called “indexes” of all the keywords and the web addresses of pages where these keywords appear. When a web designer creates a new website they can contact the search engine…
In this challenge we will write a set of functions to calculate how many Bytes there are in a given number of kilobytes, megabytes, gigabytes, terabytes or petabytes. First let’s investigate the link between these storage units: Subroutines? By completing…
In this blog post you will use Python Code to complete this simulation of the game of connect 4. (Rules of the game) You will first need to reverse-engineer the code provided. The code so far is used to: Display…
Langton’s Ant is a cellular automaton that models an ant moving on a grid of cells following some very basic rules. At the start of the simulation, the ant is randomly positioned on a 2D-grid of white cells. The ant…