codedex-io / projects

Codédex Projects 📝
https://www.codedex.io/projects
MIT License
53 stars 30 forks source link

Project Tutorial Proposal - 3t8 #17

Open 3t8 opened 1 year ago

3t8 commented 1 year ago
  1. Mastermind game in python - Beginning
  2. Calculator app with gui - Intermediate
  3. Wordle game telegram bot - Intermediate
sonnynomnom commented 1 year ago

Let's do 1 or 2! Which one do you like more?

Also, can you send us your name and one-line about yourself to team@codedex.io? Thanks!

3t8 commented 1 year ago

@sonnynomnom sent an email with a draft of the code for mastermind

Bobliuuu commented 1 year ago

Hey @3t8, the code looks good! 😄

Just a few changes:

Once you make those changes, you can start writing your project tutorial! Please use the project template provided by Codédex for your tutorial!

3t8 commented 1 year ago
  • To generate a better random number, you can create a list of '0' to '9', and generate 4 random values for that list (right now, 0s are more likely to be generated)

The probability of picking 1 number out of 10000 is 1/10000 (0.01%) The probability of picking 1 number out of 10 is 1/10 (10%) If we were to pick 4 numbers in a row with a 1/10 chance, the overall probability would be 1/10 1/10 1/10 1/10 = 1/10000 (10% 10% 10% 10% = 0.01%) I think there is no difference between the method I used and the one you proposed.

3t8 commented 1 year ago

@sonnynomnom let me know if I should change anything else in #32 I'm also not sure if you have a template for the header image or that's something you take care of internally

Bobliuuu commented 1 year ago

Hey @3t8, Thank you for getting back to us! We will review your project tutorial and let you know 😄 We will create the header image for you 🚀

3t8 commented 1 year ago

@Bobliuuu Did you get a chance to take a look at the project?