Jump to content
  • Advertisement
Sign in to follow this  
Sweptile65

Code Reviewfor my SIMON game

This topic is 1085 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I learned python and pygame mainly for game development. After going through the learning process I decided to make my first game; a game made purely by me and not following any tutorial. I have made it and it works flawlessly. However, I would like some people much more experienced than me to review my code and suggest improvisations to make my code better.

 

Here is my code --- http://pastebin.com/zsZT3kHW

 

 

Thanks in advance!! smile.png

Edited by Sweptile65

Share this post


Link to post
Share on other sites
Advertisement
Nice first game, congratulations :)

I had a quick check, and wrote and changed a few things. See http://dpaste.com/2KPQX4H
You probably want to make a copy of your current version of the game, and then try to understand my notes, and change the game code.

It's possible I was too cryptic, I am not really sure what you know and don't know. Please feel free to ask followup questions if things are not clear.

Share this post


Link to post
Share on other sites

Nice first game, congratulations smile.png

I had a quick check, and wrote and changed a few things. See http://dpaste.com/2KPQX4H
You probably want to make a copy of your current version of the game, and then try to understand my notes, and change the game code.

It's possible I was too cryptic, I am not really sure what you know and don't know. Please feel free to ask followup questions if things are not clear.

 

Thanks a lot!!! Your code showed me how to improve my code in simple terms. Its fascinating how just creating the Squares array makes the code much more simpler and shorter!

 

Thanks again!!!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!