projects
projects copied to clipboard
Project Tutorial Proposal - 3t8
- Mastermind game in python - Beginning
- Calculator app with gui - Intermediate
- Wordle game telegram bot - Intermediate
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 sent an email with a draft of the code for mastermind
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!
- 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.
@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
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 Did you get a chance to take a look at the project?