Epicodus Intro to Programming – Week 3

screenshot of my week 3 independent project for Epicodus Intro to Programming course

Ping-Pong is a variation on Fizz-Buzz. We did this project for our week 3 independent code challenge in  the Epicodus Intro to Programming course. The assignment is similar to a coding challenge known as “fizz-buzz” that apparently shows up on a lot of job interview coding challenges. It also used to be the entrance exam for Epicodus, before they added this “Introduction to Programming” course.

screenshot of Ping-Pong project after classroom learning...

We had 8 hours to work on the challenge, and were not allowed to leave early. By lunch, everyone I talked to was done with the coding and had moved on to working on the design, or gone back to some other project from earlier in the week. It was nice to see classmates that were worried about passing on Thursday talk about how easy the challenge was on Friday afternoon.

I think most of us tried to do some kind of “ping pong” look and feel to the project.

The night before, I spent a few hours finding the image of these chipmunks and editing out the acorn so that I could (hopefully) animate it to bounce back and forth across the screen while playing some ping-pong sounds.

By the end of the day I got the acorn to move and the sounds to play, but the timing was still messed up when I turned the assignment.

October Update: Our second JavaScript course was all about using JavaScript with Node and setting up a development environment with NPM/Gulp/Bower to allow us to minimize and package our code and import modules, etc. This version has exactly the same look/feel and function as the first, but with all the fancy packaging added.

January Update: Once school was out I had time to take another look at the sound and animation and try to figure out how to make everything work the way I really wanted it to as far as the timing is concerned. I got a little help from Stack Overflow to get it working.