26
Unpopular opinion: I started learning Python by making a dumb text game about my cat
I was stuck on tutorials for a month, so I just opened a file and tried to code a game where my cat, Mr. Whiskers, hunts for treats. Figuring out how to make a simple 'if/else' choice work for that was way better than any lesson. What's a weird little project that actually helped you get a concept to click?
3 comments
Log in to join the discussion
Log In3 Comments
martinez.kim20d ago
What, you didn't want to make a calculator like everyone else?
1
susan64920d ago
The assignment was to build a working web server from scratch. A calculator would have been way easier.
0
taylorellis20d ago
Honestly, breaking the server down into tiny steps saved me. Started with just sending "hello world" as plain text over a socket. Then slowly added parsing the request line and headers. Using the built-in socket library in Python kept it from getting too wild.
6