Inspiration: Since the theme for this was exploration I wanted to make something that allowed you to travel through space and explore things there, as that is what I first thought of when thinking of exploration.

What it does: This is a UI where users can fly around in a spaceship through the solar system and they can explore planets while doing this and by going near a planet and clicking on it you will be able to land on it. Once you land, you can do research on the planet by clicking a research option on the bottom right corner, allowing you to get information about the planet. You also have options to do quests as seen in the top right corner.

How we built it

Core Components: App.tsx - 3D canvas and keyboard controls SolarSystem.tsx - Solar system scene with sun, planets, spacecraft, and stars Spacecraft.tsx - Player-controlled spacecraft with movement and camera following Planet.tsx - Individual planets with orbital mechanics and click interactions

Data & State Management: planetData.ts - data for all 8 planets ( experiments.ts - 5 different measurement types for experiments useSpacecraft.tsx - Spacecraft position useSolarSystem.tsx - Game mode, planet selection, and mission progress

UI System: GameUI.tsx - UI for mission panel, planet info, and controls MissionPanel.tsx - Displays exploration objectives and progress PlanetInfo.tsx - Shows planet information ExperimentPanel.tsx - Scientific instruments interface for exploration

Features(WOW!): 3D Solar System: Realistic planetary orbits and sizes Spacecraft Control: physics-based flight with the "W" "A" "S" "D" keys Planet Navigation: auto-pilot when you click on a planet Landing System: Surface exploration mode with experiments Scientific Data: Temperature, pressure, soil, radiation, and gravity measurements Mission System: Exploration objectives

NOTE: You can view the system names above the code in the doc as well

Challenges we ran into

Well most of the coding langauges that I had to use were not soemthing I knew but for the most part to understand how to use and apply them a video would have suficed and the video allowed me to connect all the parts and import and combine nessary libraries and files. However for some of the code writing for the langauges I didn't know I needed to use ChatGPT to write code for what I needed for the part. So I had to explain and prompt what exact UI I needed in the langauge I had to use. Some of these coding languages were still a bit difficult so I needed help from other people and it helped me out. Also a problem I had was that VS Code drained too much battery so I had to switch to an online editor in order to save battery and work on the project so I had to paste my code onto a google doc.

Accomplishments that we're proud of

I am proud that I was able to complete this project with langauges I didn't know by utilizing videos to understand the concepts behind them and than learning prompting skills to utilize resources like ChatGPT to write the code.

What we learned

I learned how to prompt AI better and get the results from it I needed, and I also learned some generaliztions of coding langauges as well as improving my coding skills.

What's next for Space travel simulator

I think this is a pretty cool Idea and I would like to add the ability to actually travel and land on the planet with the UI representing that so you can interact on the planet and view specific things on the planet like looking at the eye of jupiter and specific features relating to that. I think I would have to use the langauges that I already know and learned but it would just be a longer and more detailed process.

Built With

Share this project:

Updates