Some interesting code demos

This is a small collection of interesting little side projects and code ideas I have created. I hope you enjoy them!

Rock Paper Scissors

A simple game of Rock Paper Scissors

View Demo

Color Picker Game

A game to guess colors based on their RGB values

View Demo

Guess a number

A simple game to guess a number in a range

View DemoCassidoo

Count and Say

Generate a count and say string from a sequence of numbers

View DemoCassidoo

Fizz Buzz

Simple Fizz-Buzz... the obvious programming question

View Demo

Odious numbers

An 'odious number' is a non-negative number that has an odd number of 1s in its binary expansion.

View DemoCassidoo

Factorial Zeros

How many zeros does the factorial of a number have? This is a simple algorithm to find out.

View DemoCassidoo

Student Projects

Here are some of the projects my students have created.

View Demo

JSON Depth Calculator

This is a simple algorithm to calculate the depth of a JSON object

View DemoCassidoo

Missing Letters

This is an algorithm to find the missing letters in a list of consecutive letters

View DemoCassidoo

Reversed Squares

This is an algorithm to find if a number is botha square number, and the reverse of a square number

View DemoCassidoo

Pokemon

Using the pokemon API to find out what a pokemon is strong and weak against

View DemoCassidoo

Isomorphic Strings

Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if there is a one-to-one mapping possible for every character of the first string to every character of the second string.

View DemoCassidoo

Markdown Link Parser

This will parse markdown formatted links in a string

View Demo