Computer Science

Marlborough offers a robust, project-based Computer Science curriculum, including coding classes at all levels. All coding classes are project-based.


First year coding students choose projects involving interactive computer graphics, video games, and/or generative art, using the Processing language.


Students who want to study computer science at a deeper level enroll in AP Computer Science, where they learn object-oriented design and software development with the Java language.


AP Computer Science students also complete a project, which can include data analysis, music visualization, 3D graphics, or whatever else they are interested in.


After AP Computer Science, students can enroll in Honors Computer Science Projects, where students have the opportunity to direct their own learning, working on longer term projects in areas that interest them.

Computer Programming II Projects

Isabelle ‘24

A basic chrome extension that changes your background color!

Chrome Extension Tutorial
Lexie ‘23

A program where you can test how different melodies and beats sound layered on top of each other.

Generated Music
Angelita ‘23

My project uses keys “q” through “}” to place and play the pitch of notes on a staff in C, F and G major.

Playful Piano
Tiffany ‘23

A game similar to ‘hangman’ where you must guess a random word letter by letter.

Lily ‘23

A squid-like creation made from nested classes.


AP Computer Science Projects

Ashira ‘20

In this game, you hurtle through space aboard a rocket, avoiding falling asteroids while attempting to save your astronaut friends along the way. You can only gain points by saving as many marooned astronauts as possible, but don’t get hit! Death and destruction are all around!

Space Jam
Leela ‘23

This program allows you to listen to and switch songs randomly. Using beat detection from the song that is playing, an arrow game will be generated with a scoring system based on how close you are to the target.

Musical Arrow Game
Leah ‘22

The point of the game is to collide with as many balls as possible to win. You use your left and right arrow keys to move the bar.

Bouncing Ball Video Game
Grace ‘20

This is a two player game that is similar to air hockey. You gain points by scoring in your opponent’s goal.

Computer Hockey
Katie ‘23

In this game, the goal is to avoid the monster for as long as possible. You pick up swords to fight the monster off, and you pick up waters to avoid becoming dehydrated. Your score is determined by how long you stay alive and how many stars you pick up.

Flee the Monster!
Max ‘23

In this game, two players must compete to earn the most coins while both lasting long enough to attempt at claiming the high score. Players must use speed zones and mud piles to their advantage and their opponent’s disadvantage, all while avoiding getting hit by fireballs.

Car Race
Chesney ‘23

A fun game where you try to increase your size by absorbing balls smaller than you, yet still trying not to be absorbed yourself. As the levels pass, the game gets harder; more elements are added, keeping the player involved and having fun.

Honors Computer Science Projects

Julia ‘20

A compilation of minigames related to axolotls that includes an eating game and a matching game.

Axolotl Game
Emmi ‘20
Brooke ‘21

This is a single-player shooting game where you are in the Star Wars universe and are destroying enemy ships. Use the spacebar to accelerate and the mouse to move around and to fire lasers.

Star Wars Game
Peyton ‘20
Sidney ‘21
Fruit Ninja

A fun fruit ninja game with explosions and sound effects! Slice the fruit, but be careful of the bombs!

Maisie ‘21

A 3D model of gravitational attraction that realistically demonstrates Kepler’s Laws.

Model of Gravitational Attraction
Catherine ‘20
Coding Math and Data Structures

Studies of discrete math and data structures, through coding in Python and


Nell ‘20
Studies of Perlin Noise and Fractals

Some investigations into the use of Perlin noise and fractals in Processing.

Lily ‘20

A photobooth with tons of cool interactive filters such as pixelation, black and white, thermal camera, wigs/hats, and many more!

Emma ‘20
Gabi ‘20
Honors Research in Science: Analysis of Election Data

A data analysis and visualization of the North Carolina state voter file in conjunction with census data using Python and Processing’s GeoMap library.