$ cat post/coding-club's-new-project:-space-station-asteroid-mission.md

Coding Club's New Project: Space Station Asteroid Mission


Today in the coding club, we’re working on a new project called “Space Station Asteroid Mission.” It’s about a robot astronaut exploring asteroids. I’m super excited to see how our code brings this space adventure to life.

The teacher showed us some sample graphics for the asteroids and the space station. The asteroids are all different shapes—some round like planets, others jagged with craters. And the space station has a cool circular design with solar panels that spin slowly.

We’re programming the robot astronaut’s movements. It can rotate to look around, move forward and backward, and collect samples from the asteroids. Each asteroid has hidden treasure for the robot to find. If it collects enough treasures, it unlocks special missions.

I’m working on making sure the robot can detect when it’s near an asteroid by using distance sensors. That way, it knows when to start its exploration routine. I also added a function that lets the astronaut “grab” objects and store them in its inventory.

The teacher said we have to test our code thoroughly so nothing goes wrong during the missions. We’ve already had some bugs where the robot got stuck or couldn’t find treasures even though they were right there. But fixing those issues is half the fun!

After school, I’ll spend more time on this project and try out different coding challenges suggested by my friend Alex. He’s been really helpful in thinking of ways to make the space missions more interesting.

Tonight, while I’m at home, I’ll be happy to see how much progress we’ve made as a team. The idea of little robots exploring real asteroids is so cool, and I can’t wait to see what we come up with next week!