14.02 Revised Interactive Web Experience Assignment
Assignment Deliverables
- Screenshot or Screen Recording showing your revised interactive web experience running with the new assets visible/audible.
- Label file YYYY-MM-DD Lastname Firstname revised interactive web experience (
.png,.jpg,.mp4)
- Label file YYYY-MM-DD Lastname Firstname revised interactive web experience (
- Active URL to your hosted interactive web experience, n̶o̶t̶ t̶h̶e̶ l̶o̶c̶a̶l̶h̶o̶s̶t̶ U̶R̶L̶ o̶n̶ y̶o̶u̶r̶ m̶a̶c̶h̶i̶n̶e̶
- Label file YYYY-MM-DD Lastname Firstname revised interactive web experience url (
.png,.jpg,.mp4) - You may paste the URL into the comment section of the assignment submission page
- Label file YYYY-MM-DD Lastname Firstname revised interactive web experience url (
Assignment Overview
Move beyond the “prototype” phase of the previous natural language programming assignment. Similar to the development of creative, artistic work,software development is rarely one and done. It requires iteration, refinement, and the integration of bespoke artist created assets such as imagery, animation, and sound.
In this assignment, you will take your existing natural language coded web experience, or start a completely fresh project, and replace placeholder elements such as colored rectangles, blank background, and basic beeps with original content created by you. You will continue to use GitHub Copilot in Visual Studio Code to implement these changes, focusing on how to prompt an Large Language Model or “AI” to handle external files and assets.
Interactive Web Experience?
Interactive web experience simply means any webpage that responds to user input such as clicking, hovering, scrolling, typing, or microphone input to change the state of the audio or visuals. It does not need to have a “win state,” a “score,” or “enemies.”
Here are four categories of experiences you can build with GitHub Copilot and your original assets.
Interactive Narrative
Instead of a game, create a story that advances as the user interacts. This is excellent for students who want to focus on illustration and voice-over. This could take the form of a digital comic book or poetry reader where the environment changes based on the user’s progress.
Scrolling down the page or clicking Next might advance the story.
Backgrounds could fade from day to night or characters could change expressions as the mood shifts. Ambient noise such as rai or city traffic could fades in on certain sections. Specific voice over lines could play at specific moments.
Process
- Make a list of things to change, remove, and add to your natural language coded web experience.
- What placeholder graphics look boring?
- What physics feel floaty or what gameplay is non responsive?
- Does it work on mobile?
- Do you want to add computer vision face detection or pose detection?
- What sound effects are missing. such as jump sounds, background ambience, button clicks?
- Spend time creating original visual and auditory content to add to the site. Spend minimum 1 hour creating original content. This includes recorded sounds, images sprites, vector graphics, text and story information, voice over, music, and any other type of experiential digital content made by you.
- File management and organization is important when working on digital projects.
- Save images with descriptive, lowercase names without spaces such as
player-idle.pngorbackground_forest.jpgThis helps you stay organized and helps the LLM understand your content better thanuntitled.jpgIt is also helpful to make a folder such asimgorassetsto put content files in.
- Save images with descriptive, lowercase names without spaces such as
- Spend a minimum of 1 hour using Copilot in visual Studio code to create an interactive web experience. This could be a game, an abstract sequence of animations, a physics simulation, a poetry evaluator, or any other interaction that can occur via a webpage. Try some of the example prompts below or modify them to fit your project.
Change the red player rectangle to use the image located at 'assets/images/hero_sprite.png'Play the sound file 'assets/audio/jump_sfx.mp3' whenever the spacebar is pressed.Create a CSS animation that rotates the logo image when the user hovers over it.Adjust the physics so the character falls faster, and play 'thud.mp3' when they hit the ground.
- Use your content in the webpage.
- Put sound files, image files, and video files into the folder of your project.
- Give instructions to copilot to use those specific files on your web program.
Assignment Resources
Sound Resources
- Create Sound Effect in Adobe Audition
- Export MP3 from Adobe Audition
- Add Sound Effects with GitHub Copilot
- Set Audio Hardware Adobe Audition
- Create New Audio File Adobe Audition
Troubleshooting
- What to do when Copilot gets stuck?
- Sometimes Copilot hallucinates, makes up code that doesn’t exist, or gets stuck in a loop Delete the last block of code it gave you and rephrase your request. Make sure the file you are referencing, the
index.htmlorstyles.cssis actually open in a tab in Visual Studio Code so Copilot sees the context. Sometimes the classic IT trick of turning it off and on again by reloading the Visual Studio Code window helps clear the context.
- Sometimes Copilot hallucinates, makes up code that doesn’t exist, or gets stuck in a loop Delete the last block of code it gave you and rephrase your request. Make sure the file you are referencing, the
Example 1 Prompt Games
Emoji Avalanche Prompt: make a html single page game that has falling emoji that bound into each other and react with real physics and gravity the play need to move around with out getting hit they an press space to jump and have lots of parallax scrolling background
Breathing Box Prompt: Code a "Breathing Box" relaxation widget using HTML5 Canvas. It should be a soft blue square that expands and contracts rhythmically over 4 seconds. Add a slider so I can adjust the speed, and display the text "Breathe in... breathe out..." in sync with the animation.
Digital Soundboard Prompt: I need a complete code setup for single page webpage, everything included (HTML/CSS/JS) for a soundboard. Create a CSS Grid with 2 columns and 2 rows. It should fill the whole screen. In each grid cell, place one of my images: assets/img1.jpg, assets/img2.jpg, etc. Make the images object-fit: cover so they fill the cell perfectly. When I hover over a cell, make it slightly brighter (filter brightness). When I click a cell, play the corresponding sound (assets/sound1.mp3, etc.) and make the image flash white for 100 milliseconds." For now make generated place holder graphics and sounds
Physics Login Puzzle Prompt: Write a single web page in HTML and JavaScript that requires the user to do a puzzle like maybe move some blocks around to be in a line. And use some like physics. So like when they're moving the blocks around they bounce into each other and it's kind of cool. So basically they got to get the different shapes together and they have to do this before they log in to the page if they successfully do it then it logs in and it shows the text super huge on the screen you did it make this all in one single web page make sure all the code is correct and then give me everything working. now
Grading Rubric
| Assessment | Weight |
|---|---|
| Screenshot Uploaded | 60 points |
| URL Submitted | 30 points |
| File Management and Labeling | 10 points |



