MarsCraft

Inspiration

I am fascinated by space exploration and the challenges of Mars colonization. The reality is harsh with radiation, toxic soil, thin atmosphere, and dust storms. I wanted to create a game that captures the survival pressure of being stranded alone on Mars. The story is simple. Earth is failing. Humanity sends a mission. An alien attack destroys the spaceship. You are the sole survivor and must build a colony.

What it does

MarsCraft is a voxel survival game. You crash-land on Mars after an alien attack. Craft oxygen generators, CO2 converters, and radiation pills to survive. Explore biomes with different radiation levels. Some zones are safer. Others require shielding. Drive a rover, complete missions, fight aliens, and terraform the planet into a livable colony. Dynamic weather and dust storms add challenge.

How we built it

I built MarsCraft using Google's AI ecosystem. Gemini 3.0 Pro in Antigravity IDE handled game logic, UI, simulations, alien AI, and music. Veo 3.1 created the cinematic intro. The stack is Vite.js, JavaScript, HTML, and CSS. Deployed on GitHub Pages for instant browser play.

Gemini 3.0 Pro features used

Gemini 3.0 Pro was central to development in Antigravity IDE. It generated the code based on instructions and information related to Mars. We started with the main architecture (a static website for github pages) and from there we started to explain the mechanics. For example, for crafting, I explained combining regolith and water for oxygen. Gemini built the logic, inventory, and UI updates. It connected systems like oxygen to life support and radiation to biomes.

Besides, the music, models, and sound effects were done with javascript where Gemini helped to generate

Gemini acted as a collaborator, turning ideas into efficient code.

Challenges we ran into

System of missions failed for recognizing some tasks at some point. Sound effects were missing event after being imported. And physics of rover car was causing some bugs. Fortunately, these issues were solved with some patience.

Accomplishments that we're proud of

A complete playable game for this hackathon. Mechanics reflect simulated Mars science. AI assistance proved powerful. Browser deployment means anyone can play instantly. The Veo intro matches the voxel style perfectly.

What we learned

AI accelerates development significantly. Voxel art suits web games well. Survival systems are interconnected and hard to balance. Procedural generation benefits from constraints. Browser deployment removes barriers (and everyone can access it).

What's next for MarsCraft

Advanced missions and models of Aliens and structures. Improving saving system (at the moment only loads a file with player's items)

Built With

Share this project:

Updates