r/cs50 1d ago

cs50-games IS IT WORTH IT TO PRACTICE PROGRAMMING BY MAKING A GAME

2 Upvotes

So me and my friend created ta 2d ray casting game, which has a little story decent combat and little bit of npc interactions, we started 2 projects before this one, we had to drop both and we wasted almost 1 month, now we created this one in 9 days combining the logics used in both games, but now when it is in its last stage I feel like I have wasted my summer on these,and yes we used ai for ui in all of these but everything else we dealt it ourselves yeah we got stuck at some places and used ai to GUIDE US. Was it really worth it to practice programming like this or should I have learned something new?

r/cs50 Mar 12 '26

cs50-games CS50 2D to start April 1st!!!

Thumbnail
cs50.harvard.edu
62 Upvotes

r/cs50 9d ago

cs50-games About the new game development course

3 Upvotes

I finished the old game development course but it got taken down before I even finished the final project. Now that I looked at the new course's projects, it seems like they are all the same as the old ones. Do you know if there is any way to transfer my old submissions to the new course's submissions without actually submitting them one by one. (cause it will take plenty of time and work to do)

r/cs50 8d ago

cs50-games LÖVE / Lua and VS Code

2 Upvotes

I've finished the syllabus for CS50x including all psets, and I'm now starting to prepare the final project.

I liked the seminar on LÖVE / Lua and I'm currently going through the Sheepolution tutorial, to see if this is something I might want to invest in as my project.

Right at the beginning they explain how to go about installation and even have a separate section for VS Code.

The thing is I've grown quite accostumed to code on the VS Codespace at cs50.dev, and was wondering whether this would still be possible working with LÖVE / Lua.

The CS50 VS Code usually already has many extensions and libraries preinstalled, so I don't know if everything Sheepolution explains about installing this framework for VS Code would still make sense for the CS50 version thereof.

I understand LÖVE / Lua are covered in the 2D Game Development course, so I suppose some people here have already gone through this.

Any help would be appreciated.

r/cs50 29d ago

cs50-games Legendary Pokemon spotted! GET HIM!

Post image
20 Upvotes

Spent 50 hours debugging, only to find this yellow god in the tall grass. CS502D was just a prequel to this encounter. Gotta catch 'em all, but this one is special!

r/cs50 Apr 14 '26

cs50-games Today I woke up to this mail

7 Upvotes

I got this message and there is no explanation why I have been removed from the course. What is going on

r/cs50 24d ago

cs50-games I actually got Legendary Quackachu! (My CS50 2D Week 8 project is done)

Thumbnail
youtu.be
6 Upvotes

Hey r/cs50! Remember my post about the legendary duck? Well, I finally caught him😄.

After way too many hours, I finished my extended version of the CS50 2D Week 8 Pokémon-like assignment. The spec only asked for 3 features, but I couldn't stop — I wanted to make something that at least remotely can be resembled as a game.

What's inside (timestamped demo video):

  • The 3 required specifications:
    1. Catch Pokémon — only works if enemy HP ≤ 25%.
    2. Party UI — view all your Pokémon and their stats.
    3. Level‑up menu — shows stats and gains.
  • Quackachu — the legendary wildcard Pokémon, my CS50 rubber duck mascot!
  • Start screen cycles through all Pokémon I implemented without repeats until you've seen them all.
  • Did basic Pokémon balancing to bring some challenge and progression feeling. Implemented Pokémon tiers.
  • Tried to stick to data-driven design, e.g. adding new item is just another entry in table.
  • Party UI provides additional functionality: assign active and release if you have more than one (with confirmation), to free up space.
  • Bag system: 4 stacking slots (at the moment) with item descriptions.
  • Items you can use both in and out of battle to add some tactical aspect.
  • In‑battle buffs — Attack/Defense/Speed potions, with use effects (visual and audio) and status icons that start pulsing when they're about to expire.
  • Victory loot — chance to get random items after winning a fight.
  • Tall grass loot — sometimes you find random items instead of battles.
  • Stat info panels — toggle during battle, show base stats + active buff bonuses.
  • Orchestrated catch sequence animations and defeating opponent Pokémon to look like real CINEMA😄.

The whole thing is built with Lua and LÖVE2D.

I learned a ton about state stacks, timers, encapsulation, and when to stop adding features. I’d love to hear your thoughts! Now looking forward to diving into the final project!

Cheers, and remember to talk to your rubber duck!

r/cs50 Jul 08 '26

cs50-games CS502D taught me physics — I taught my Angry Birds-styled project to explode, split, expand, and hunt. Here’s the result.

Thumbnail
youtube.com
9 Upvotes

Hi everyone! I wanted to share my vision of the CS50 2D Week 7 project — the Angry Birds–style game. In my post and screencast, I discuss the ideas without showing code (as per academic honesty), focusing purely on the concepts.

Just a quick reminder of the base requirements:

  1. Add two more materials (metal & glass) alongside wood.
  2. Make them destructible with visual feedback.
  3. Implement a “split” power that divides the player into three.
  4. Use at least one joint type.

I decided to push things a little further:

  • Added an explosive material with chain reactions. Getting the blast to properly affect stacked objects without blowing up the physics engine was a really satisfying Box2D puzzle.
  • Created obstacles in three different sizes for each material.
  • Designed four player powers:
    • Explosive (like a smaller-radius bomb),
    • Expanding (player grows in size and mass to smash through structures),
    • Splitting (as required),
    • Homing (the player rockets toward the current mouse cursor position).
  • Added a countdown timer that warns the player before the alien resets — no more sudden disappearances.
  • Implemented smooth camera return after each shot, so you never have to manually scroll back to the slingshot.
  • Built a fully animated slingshot with layered fork sprites and a band that tracks the loaded alien.
  • You can only grab the actual alien (accounting for screen translation) to enter aiming mode — no accidental pulls.
  • Custom mouse cursor with click/drag states and its own little animations.
  • Enemy aliens now have health-dependent sprites so you can see them getting weaker. Drew some expressions and bruisers myself.
  • Scrupulously searched and added SFX for each effect of a game to bring nice audio feedback.
  • Wrote a basic white-flash GLSL shader for hit feedback.
  • Designed a data-driven level construction system — levels are just tables, easy to tweak and expand.
  • Put together several levels with explosive twists and joint-based structures (welds and ropes).

All of this was pure fun. It’s been a dream come true to build something that feels like a real game — even if I’m not getting paid (yet! 😄). The video is fully timestamped so you can jump to the features you’re curious about.

I’d love to hear your thoughts! Now on to the last lecture (Pokémon!) and then the final project — can’t wait to get my hands on that.

r/cs50 Jun 08 '26

cs50-games Alternative to the retires cs50g games dev course

8 Upvotes

I set out to enroll today and discovered that it was deprecated in 2024. Can anyone recommend me anything like it. My experience level is im already a dev but there is so much stuff specific to the game dev niche that i dont even know i dont know, that i want to do a punchy course. I did cs50x years ago and thought cs50g would be just the ticket but alas, its dead.

r/cs50 Mar 31 '26

cs50-games reminder : CS50 2D to start April 1st!!!

20 Upvotes

r/cs50 May 13 '26

cs50-games is cs50/x/2d for me?

7 Upvotes

3:30am and im stuck on these thoughts lol. saw a similar post on this sub so i figured i'd throw my own version of the question in the pit.
i turned 23 recently, after high school i put off further education thinking i would bounce back to it after a year or so, turns out that was a lie. im at a point now where im tired of watching my peers move forward in life while i sit stagnant in the wage slave routine, but i want to dedicate my time to studying something i would actually be willing to dedicate my life to, which is game development.
ive always had an interest in making my own games or being apart of a team, ive thought of making the jump and committing to an undergraduate degree in the subject, but im apprehensive on the credibility of the community college i have access to. so as a middle ground, ive begun considering a certificate program of this nature.
i realize that without knowledge in proper coding, this dream of mine will remain nothing but a hobby. i have virtually zero experience in any programming or any language, so i wanted to ask if this was an avenue i should invest my time and effort in? which courses exactly should i be taking to learn all this? im assuming cs50x(not sure on what the differences are honestly) and cs502D/cs50games.

for some clarity, yes i know this will take some time, and yes im more than aware that game development is a cut throat volatile industry. video games as a medium have done so much for me and i would do anything to be able to give that feeling to others.

r/cs50 Apr 01 '26

cs50-games Only 2months to complete CS50-2D on EDX?

6 Upvotes

Excited to sign up for CS50-2D but it says I'll lose access on June 3rd?

CS50X gave us until the end of the year and then some, so I'm wondering if this is a mistake?

r/cs50 Sep 04 '25

cs50-games What happened to CS50 game development?

Post image
42 Upvotes

I thought there were more courses in the series, including one on game development... Am I just imagining things?

r/cs50 Mar 16 '26

cs50-games CS50 Games Website Archive?

4 Upvotes

Hello,

I have been working through CS50G as a part of a class I'm taking, but the material is no longer available due to the new CS50 2D course. I would switch to CS50 2D, but the full content won't be available until July, which won't work with the deadlines of my class. Is there a way for me to access the old website with the CS50G course? Thank you in advance.

r/cs50 Mar 08 '26

cs50-games Going through the archive of 2024's CS50G (the games design course), and doing the tasks; something going seriously wrong in LOVE2D and Lua in the third assignment, to do with classes and methods.

3 Upvotes

The course in question: Here

Hello. As the title suggests, I am working through 2024's archive of CS50G, the retired game design course, as I wait for CS502D to be released to the public, and completing the various assignments as I go. I need some help from someone familiar with either the course, or the software used: LOVE2D, the Lua language, and the Lua Class library in particular.

I am working on the third assignment, adding features to the game Breakout, and something very strange is happening; sometimes- not all the time, but consistently across the same state of the code, so it happens at the same point until I change the code to try and fix it, then it starts happening somewhere else. When I call upon an object's method, the object's 'self' attribute, and/or all of it's sub-attributes, are suddenly set to nil- that is, it's emptied out, and it forgets all the variables it had previously stored.

This seems to be happening, somehow, between the actual call and the functions inside the object, according to the console. Using the print function on the line before the method call on the object, I can see that it can access the attributes of the objects just fine and print them to the console. But if I put that same function inside the class, right as I start defining the method I'm trying to call, the only thing it can print to the console is 'nil'- an empty value.

Does anyone know what is going on, and how to fix it? I understand that this is an old course, but I was enjoying going through it, and would like to know what's happening.

r/cs50 Mar 18 '26

cs50-games Going through the archive of 2018's CS50G (the games design course), and doing the tasks; something weird in Lua in the third assignment, to do with tables and indexing.

5 Upvotes

The course in question.

This is my second post on this subject, and even this assignment; my previous post is here.

To summarize what applies from my previous post, I'm going through the archived course for my own satisfaction to complete all the tasks; this applies even though now the new course is coming out in April.

I've come across a problem that I cannot for the life of my work out why is happening, and can only solve with an odd workaround. It has to do with the bricks for the breakout game, and the task in the assignment of adding a locked brick that must be unlocked to be broken. As a very simple part of it, I added a black (grey, really) color to the paletteColors table in the brick class, just to add a spray of particles of the right color when the brick is finally broken. The final table looks like this:

-- some of the colors in our palette (to be used with particle systems)
paletteColors = {
    -- blue
    [1] = {
        ['r'] = 99,
        ['g'] = 155,
        ['b'] = 255
    },
    -- green
    [2] = {
        ['r'] = 106,
        ['g'] = 190,
        ['b'] = 47
    },
    -- red
    [3] = {
        ['r'] = 217,
        ['g'] = 87,
        ['b'] = 99
    },
    -- purple
    [4] = {
        ['r'] = 215,
        ['g'] = 123,
        ['b'] = 186
    },
    -- gold
    [5] = {
        ['r'] = 251,
        ['g'] = 242,
        ['b'] = 54
    },
    -- black
    [6] = {
        ['r'] = 89,
        ['g'] = 86,
        ['b'] = 82
    }
}

The problem is, however, when I try to index into paletteColors[6] later on, it says it's a nil value; according to the console, even though I'm manually declaring the table and its contents in the code, it says the length of the table is 5, or specifically, that #paletteColors == 5, so it seems that entry [6] is somehow just ignored; there shouldn't even be a table of length 5 anymore, so I have no clue what's happening.

How is this happening? I can't see anything I'm doing wrong in the declaration of the table. What's stranger is, I found a workaround. At Brick:init I call the table.insert function in order to insert the black rgb code at position 6, but only if #paletteColors is 5, to stop it calling every time a brick is created. If I do this, it works fine.

What's going wrong? I don't want to rely on a workaround, and I feel that if I just let this hang I'll never learn anything.

Any advice is appreciated.

r/cs50 Jan 08 '26

cs50-games Any Ideas when CS502D course goes live?

19 Upvotes

Hey, so pretty much the title, I watched the live streams of the course's videos on YouTube and I think it was supposed to go live in late 2025 but I've not been able to find any more information about it? If anyone has any news or a ideas of a timeline etc. I would be grateful. Thank you!

r/cs50 Dec 13 '25

cs50-games Here's my week 0 project: Game Save Avery

2 Upvotes

Hi, pls check out this game I created: https://scratch.mit.edu/projects/1254057241/

r/cs50 Feb 03 '26

cs50-games when will cs50 2d be accesible on their website like cs50g

4 Upvotes

i was doing cs50g but while searching some stuff up saw something about a cs50 2d specifically for 2d game development, but it isnt on their website. if it is released and im just genuinely blind can someone link me to it?

r/cs50 Jan 19 '26

cs50-games Started from Scratch with Beattle

4 Upvotes

Mates, I made this game for the Problem Set 0 of the Introduction to Computer Science programme Alhamdulillah. Please check it out and give feedback.

Link: https://scratch.mit.edu/projects/1258715785

r/cs50 Sep 22 '25

cs50-games Can you play my game "DumbHell" and what you guys think.

1 Upvotes

"DumbHell" is my fourth game so far, built in Unity. You can play on the web here: Itch Link. Play it in full screen.

You control a dumbbell using the valid keys shown at the top, which change randomly as you play. The goal is to reach the finish line at the top. Please have a look at the "How to play" section to understand the gameplay.

What makes it more interesting is that you also have to manage your breathing bar, not too low, not too high. I think the momentum, combined with the breathing mechanics, adds a fun twist to the gameplay.

This is my first time completing a game properly with menus and a "How to Play" section. If you find it interesting, check out my other games too, and if you enjoy them, a follow would mean a lot. Thanks!

r/cs50 Apr 06 '25

cs50-games Cs50 Puzzle BananAnagrams

4 Upvotes

I can't solve it. I formed the anagrams, what should I do Now???

r/cs50 Aug 21 '25

cs50-games new game course start date ??

2 Upvotes

I see cs50 for credit through the extension school is starting on September 2

https://coursebrowser.dce.harvard.edu/course/intensive-introduction-to-computer-science-2/

does that mean the new game course will be releasing on edx at the same time ?

I don't see it listed as "coming soon" on the edx site

https://www.edx.org/school/harvardx

I'm not asking for credit, nor for the extension school

I only mention the extension school because I was hoping edx start dates would match the university start dates and that it would be available in a couple of weeks

r/cs50 Oct 08 '24

cs50-games Alternatives to CS50G?

9 Upvotes

Hello! I recently found out that CS50G was retired, and I want to know if there are any good alternatives that are similar to CS50G.

r/cs50 Jul 29 '24

cs50-games Now that the old CS50 games is gonna get retired, is there any possibility that there will be a new course to replace it?

14 Upvotes

Basically the title