I haven’t really talk much about the CS50x. If you want to check it out, here’s the website.
The class is fun to follow. It’s a great way to get an idea what CS is about, how it works. If you have done the learn ruby the hard way, this should not be a problem at all.
So week 0, the class has introduced some basics of computer programming, how it solves problems using algorithm. It also introduced a visual programming language by MIT called Scratch. I believe this is the only time we will use that, since the schedule starts C on week 1.
For week 0 problem set, I’ve created a air hockey game using scratch. Here’s the link to my mini game. I’ve run in a few problems with the game, the programming isn’t top class, but it’ll do the trick for now. It’s an endless game for now, maybe someday I will come back and put an ending scene. Total time spent on this project is 2 hours.
Here are the requirements for the game:
- Your project must have at least two sprites, at least one of which must resemble something other than a cat.
Done! A cat, a penguin, and a ball.
- Your project must have at least three scripts total (i.e., not necessarily three per sprite).
Done! Although the cat and penguin uses the same exact script, since it doesn’t do anything unless we told them to do so. The ball is however more interesting, it keeps record of the score, it’s fully automated.
- Your project must use at least one condition, one loop, and one variable.
Done! The if statements are my conditions, I have the forever loop, and scores are my variables.
- Your project must use at least one sound.
When the ball touches the characters, it will make a pop sound.
- Your project should be more complex than most of those demonstrated in lecture (many of which, though instructive, were quite short) but it can be less complex than Oscartime and Pokemon Go. As such, your project should probably use a few dozen puzzle pieces overall.
Unfortunately, I didn’t want to spend too much time on looking for pictures, so everything in my project is provided by default. No pokemon Go or Oscartime song. I might go crazy listening to it for 8 hours as Dr. Malan said.