This website requires JavaScript.
Explore
Help
Sign In
gitea-mirror
/
basic-computer-games
Watch
1
Star
0
Fork
0
You've already forked basic-computer-games
mirror of
https://github.com/coding-horror/basic-computer-games.git
synced
2025-12-22 07:10:42 -08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
e513b77ac511bbe547c4a1ec722d76b24d08819c
basic-computer-games
/
60_Mastermind
/
python
/
mastermind.py
Joe Nellis
84fce13f35
Refactoring player turn and computer turn to separate methods. Computer turn logic previously ignored counting turns. Computer turn previously gave up the round if the user enters "inconsistent information" about the computers guess when it should have restarted the computers turn. Refactoring to remove usage of 'flag' variables to control program flow.
2022-04-30 01:31:59 -07:00
8.7 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink