top of page
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

Wyeth R. '24

Soaked: A Game

Use an umbrella to protect a child moving to the rhythm of "It's Raining Tacos" from rain droplets and falling tacos.

Emma M. '25

Keyboard With Octave Change

Press the mouse to play the keys. Use the up and down aroows to change octaves.

Novin S. '24

Flappy Bird with Pipes

Try to move the "bird" through the game while the theme music is playing without hitting any of the moving poles.

Riley R. '25

Piano with a Pedal

Press keys on your keyboard to play certain notes on the piano! Click the up arrow to play a scale and hold space to get a staccato sound.

Eloise S. '25

Two Player Platformer

Two Player Platformer

Lauren S. '23

Sound Playground that Imitates a DJ Type Setting

Uses a keyboard to pause and play music. There is a visualization and the mouse can be clicked to the beat to add fireworks, and on the top left-hand corner, there is a waveform that analyzes one of the songs.

Melodie E. '24

Virtual Piano with Staff

Use keys on your keyboard to play different keys on this virtual piano! Both black and white keys can be played and the range is an entire C major scale. Watch as the notes appear on the staff when played and as they are color-coded. You can also click the key with your mouse and get the same effect. :)

Sydney A. '23

Turntable Visualization

Choose between several different options of songs to see their customized visualization. This assignment uses mouse clicks and keys to play the music and change to different game states. Each state has a different color pattern that correlates to the album colors and a waveform is included to analyze the beat with samples.

AP Computer Science Projects

Lexie B. '23

Mini Game

This project has a series of different mini-games that are challenging and fun! Have fun playing and trying to pass all the levels!

Angelita C. '23

Falling Game

In this game, you must maneuver your character down a series of rising floors to avoid getting squished on the ceiling. In order to pass each level and win, make it to the bottom of the screen 15 times. Beware though, as the game progresses, the floors will rise faster as you go!

Julianne H. '22

Rover to Rocket

In this project, you must drive the rover to the rocket by rotating the rover and moving it forwards and backward. Make sure to avoid the craters!

Lily J. '23


In this neon and circular version of pinball, the main goal is to achieve the highest score possible. Your score is calculated by the time spent in one of the score spots, and once the game ends, a large GAME OVER sign appears across the screen!

Eliza K. '21

Place Invaders

In this game, you have to shoot the falling targets without getting hit yourself. Make sure to have a good aim because, for each bullet shot, a new target emerges.

Jocelyn S. '23

Block Breach

In this modernized game of brick breaker, the main goal is simple—control your paddle to destroy bricks with a ball. Hitting bricks will allow you to collect coins that can be used in the shop to customize your game!

Tiffany T. '23

Rocket Game

In this game, you need to collide with the stars while also avoiding the meteorites. Enjoy!

Senya W. '23

Circle Aim Trainer

In this project you must click on the circles that appear as fast as you can. If time runs out you fail, but if you click on all the circles before time runs out, you pass.

Casey Y. '23

Speed Boat

This driving game requires you to take your boat from the shallows to the open sea, maneuvering around the obstacles that come with each depth zone. Stay away from rocks, sharks, and whirlpools for a full 90 seconds to win!

Layla G. '22

Wilbur's Interactive Story

This project is a choose-your-own-adventure story, where a pig named Wilbur tries to get a flower crown while traveling through a forest. This is a really fun game with a bunch of different characters, backgrounds, and situations Wilbur gets in!

Shine P. '22


This is a classic Etch-A-Sketch game where you have trouble trying to draw what you want to draw because it takes a lot of time to get the ball to go where you want it to.

Sofia S-T. '21

Maze Game!

This is a game where you have to navigate a maze to win! It involves using two 2D arrays to create the mazes with a player and a couple of game states.

Honors Computer Science Projects

Catherine O. ' 21

CISLA Data Analysis

In this project, I used P3D and Perlin noise to create a torus floating on water.
In this project, I used Python's panda and matplotlib libraries to create graphs and word clouds from CISLA survey responses.

Isabelle S. '21

(1) Perlin Noise Music
(2) Liberty Hill Data Analysis

1) I mapped Perlin noise values to piano keys and played them using an AudioOutput object. 2) I analyzed and mapped data of all arrests of minors in LA County in 2019 for Liberty Hill, an organization that fights for social justice in LA.

Maisie T. '21

Music Particles

I created a particle system with gravity that relies on the level of sound to determine the size and color of the particles!

bottom of page