Skip to content

u/howprice2

In this archive from Feb 2025 to Nov 2026

1
posts
10
comments
0
media
20
score

Top posts

Top comments

This is what I always say to people who have never used Claude before. Some people are afraid it, and I say: just imagine you're messaging someone, in another office that you've never met before. Introduce yourself. Tell them who you are and what you're working on. Tell them what you're trying to do. Be polite. Make sure you've said what you want to say. Imagine it's like writing an email and it might take a day for the response due to time zones, so be sure all of the information you need to include is in there.

10 points

You are trying to communicate the first derivative of temperature with respect to time. Conveying the temperature itself is straightforward and conveniently achieved with a colour ramp. You could perhaps overlay one of two different particle effects depending on whether the temperature is increasing or decreasing (or none if steady state).

You mention "a temperature" which may throw a spanner into the works if this varies by object. If this is the case, you could ditch the colour ramp and perhaps make each object get "more excited" as it nears the target temperature. This could be done with particles, audio, animation etc.

Play a few Nintendo games. They are masters of this.

3 points

This comes with practice and learning from other people and codebases.

Some suggestions:

  • Start simple and build on knowledge from previous games you have completed. There is no shame in writing a simple game like flappy bird, snake, sokoban or asteroids as an exercise in game architecture.
  • Look at existing game engines and docs that do what you want to do. Study the language used in the docs and think about how it could map to your code.
  • Look at source code for existing games that are similar to yours. You may find the same problem solved in many different ways - and of which may really click with your way of thinking.
  • Avoid unnecessary abstractions until you need to add them to make the code easier to work with. For example you may store "score" as a file static in main.cpp initially. Then it may move into a Game class as the code grows. Then it may move into a Player class if you add multiplayer. Point is: dong be afraid to refactor as your architecture evolves.

Good luck!

2 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.