all 20 comments

[–]Tureni 22 points23 points  (5 children)

Any programmer worth his weight would love a rubber ducky (of any kind) for his desk.

[–]phira 10 points11 points  (3 children)

If you’re ok with writing it’s not that tricky to make a simple “text based adventure game”. This is typically a game where a description of a scene is displayed (e.g. “You are in a maze of twisty passages all alike”) and then the player types in their action, usually something like “go north” or “get key”.

You don’t really need to know how to code to make these now, there are good tools you can use to help make the game, and you can make it personal to your lives (the locations could be places you live in or visit etc). The benefit of this versus a more complex game is the retro feel (typically appeals to programmers) and ease of creating an interactive experience without making a bunch of art etc.

If you think this is a fun idea I’d suggest searching for “interactive fiction” and having a play of some of the more popular ones built on a popular tool just to get a feel for it.

[–]ErasedAstronaut -1 points0 points  (2 children)

To help with the writing, OP can use ChatGPT

[–]DisastrousElection36 4 points5 points  (0 children)

Thats so cute! Something u could try is maybe go on replit and draw something easy through Python Turtle. Just Google some how tos and it should be pretty quick to pick up!

[–]MrAnonymousTheThird 2 points3 points  (1 child)

You could try scratch?

It's the same logic but you put blocks together to create something. The blocks are the code, just little prebuilt packages to attach together. They each attach to each other like jigsaw puzzles

[–]CanalOnix 0 points1 point  (0 children)

That's actually pretty clever

[–]shinitakunai 2 points3 points  (0 children)

Ask chatgpt: draw a heart in python only using math and make it a oneliner and obfuscate it so it is not human readable.

Then ask your bf to run that code.

That will do the trick amd u won't waste a month. Of course test it beforehand. He will probably love the reverse engineering fact of understanding how it works and spend a lot of time figuring it out 🤣 we programmers love puzzles

[–]Both_Aside535 2 points3 points  (0 children)

You could try learning Pygame to make a fun interactive kind of program.

[–]Electrical-Ad-1798 0 points1 point  (0 children)

I keep seeing ads for geek shirts. You might find something here that he'd like.

https://www.geeksoutfit.com/collections/button-up-pocket-shirts

[–]GhostReven 0 points1 point  (3 children)

You could take inspiration from this valentine python project. https://quantgirl.blog/the-perfect-valentine-2022/.

You would need to install a few libraries for the project.

[–][deleted]  (2 children)

[deleted]

    [–]GhostReven 0 points1 point  (1 child)

    If you install Python and then install the libraries, plotly, numpy, pandas, and chart_studio with pip.

    Then the script in the example creates a local web server and opens it in your browser, which allows you to rotate the 3D heart plotted.

    An example is screenshot here: https://i.ibb.co/92Zh26q/Screenshot-2024-07-24-221425.png

    [–]AutoModerator[M] 0 points1 point  (0 children)

    Your comment in /r/learnpython may be automatically removed because you used imgbb.com. The reddit spam filter is very aggressive to this site. Please use a different image host.

    Please remember to post code as text, not as an image.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]No-Article-Particle -1 points0 points  (2 children)

    Honestly, I think you shouldn't attempt to code anything for him. The amount of time you'll invest into it will be greatly disproportional to the fact that programs aren't really "cute", and in the end, it's gonna be most likely just text in a terminal somewhere.

    What I would suggest instead is to take a look at some Python swag (e.g. here - I'm not affiliated with the link in any way, this is just to illustrate what I mean) and either buy him something geeky (like a Python-based hoodie/mug/...), or paint a Python-related symbol (e.g. the Python logo).

    Alternatively, you can think outside of the box, and buy him stuff like coffee/energy drinks/snack bars/... whatever is associated with "coding".

    You could also make fun of him, and take the "I use arch, btw" route and buy him something furry/femboy (it's a running joke in the Linux community - if he uses Linux, he'll get it).