Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

80%
+6 −0
Meta Is this a good fit for Code Reviews, and if so, how to best post it?

I've just dived into pygame and written a little game in it, of which I'd like a review (it's my first try of pygame). However I'm not sure if it is a good fit for the site, and if so, how exactly ...

2 answers  ·  posted 3y ago by celtschk‭  ·  last activity 3y ago by Peter Taylor‭

#1: Initial revision by user avatar celtschk‭ · 2021-09-14T11:53:11Z (about 3 years ago)
Is this a good fit for Code Reviews, and if so, how to best post it?
I've just dived into pygame and written a little game in it, of which I'd like a review (it's my first try of pygame). However I'm not sure if it is a good fit for the site, and if so, how exactly I should post it.

First, the rules ask for complete code. Here's what `wc` says about all the Python files:
```
   27   115   846 colours.py
  113   403  3663 objects.py
   54   140   888 settings.py
  239   641  7970 uboot.py
  433  1299 13367 total
```
As you see, the code in total has more than 400 lines, and more than 13 kilobytes. I fear that might be too large. On the other hand, if I'd only post parts of the code, it would no longer be complete.

If it is not too large, I wonder how exactly I should post it. Should I do one code block per file? Or should I subdivide it, e.g. to one code block per function (but then, most functions are in classes; how to handle that in this case)?

Also, the code uses three images; I wonder if I should post them, too. They are fairly small (and of negligible artistic value); however the code will not work without them.