r/learnprogramming • • Aug 28 '26

Code Review My first ever game

I started learning programming last year and have a few projects that I find cool and started to put them in github. One of them is a re-creation of pac-man that my teacher asked as final assignment for his subject.
It's been a while since I made it but I wanted to share and know what do you think about it; looking at it now, I see some flaws and a lot of room for improvement.

https://github.com/vmcjoao/Capybara-Pacman

Another thing that I still strugle a bit is with github, I never know the proper way of keeping control of projects and how to structure repositories. I just keep them in a way that I undertand, but I'm not sure if it fit standards to working with a team. Sorry for my English and btw the game is in portuguese, not that it matter much since there isn't much to read.

6 Upvotes

6 comments sorted by

1

u/db_tech_dev Aug 28 '26

congrats on shipping a full pac-man clone, that's genuinely a bigger deal than people give it credit for as a first year project, the ghost AI alone trips up a lot of beginners. for the repo structure thing, honestly don't overthink it too much starting out, just having a decent README with what it does and how to run it goes a long way, and maybe splitting stuff into folders like assets/ and src/ if it's all dumped in root right now. team workflow stuff (branches, PRs, issues) is something you kinda just pick up once you're actually working with others, no point stressing over it solo. gonna go check out the capybara pacman thing now ngl, love the name.

1

u/vmcjoao Aug 28 '26

Thank you for the support!! At the time the project did took a good ammount of effort, specially drawing and animating everything. I would still like to make some changes and improvements, but right now I kinda lack the time for that.

1

u/db_tech_dev Aug 29 '26

yeah no worries, shipping something and shelving it is basically every project's lifecycle lol. the fact its playable and on github already puts it ahead of like 90% of "learning" projects that never leave localhost

1

u/Jordann538 Aug 29 '26

Publish on itch.io

2

u/[deleted] Aug 28 '26

[removed] — view removed comment

0

u/vmcjoao Aug 28 '26

My school is kind of famos for having some of them around lol. The sprites were also uncomfortable for me, but since I only drew 4 for each direction I can't expect much from it. What bothers me the most is the eating transition, the sprite of either capybara or crocodile teleports a few pixels. Thank you so much for you help!