projects icon indicating copy to clipboard operation
projects copied to clipboard

Project Tutorial Proposal - 3t8

Open 3t8 opened this issue 2 years ago • 7 comments

  1. Mastermind game in python - Beginning
  2. Calculator app with gui - Intermediate
  3. Wordle game telegram bot - Intermediate

3t8 avatar Oct 25 '22 01:10 3t8

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 [email protected]? Thanks!

sonnynomnom avatar Oct 26 '22 22:10 sonnynomnom

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

3t8 avatar Oct 28 '22 15:10 3t8

Hey @3t8, the code looks good! 😄

Just a few changes:

  • Please follow the formatting guidelines.
  • Python indentations are two spaces
  • while (guess != number):
  • 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)
  • 'Correct position: ' and 'Correct number: ' seem a bit confusing, maybe put 'Correct position and number: '?

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

Bobliuuu avatar Oct 29 '22 05:10 Bobliuuu

  • 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 avatar Nov 06 '22 18:11 3t8

@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

3t8 avatar Nov 06 '22 18:11 3t8

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 🚀

Bobliuuu avatar Nov 08 '22 16:11 Bobliuuu

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

3t8 avatar Nov 18 '22 20:11 3t8