\

Show HN: I created a Mars colony RPG based on Kim Stanley Robinson's Mars books

100 points - today at 5:08 PM

Source
  • ariaalam

    today at 5:09 PM

    I built a desktop Mars colony survival game called Underhill, in homage to Kim Stanley Robinson's Mars trilogy. Land on Mars, build solar panels and greenhouses, and try not to pass out during dust storms. Eventually your colonists split into factions: Greens who want to terraform and Reds who want to preserve Mars.

    There’s Chill Mode for players that just want to build & hang, and Conflict Mode that introduces the Red v. Green factions. Reds sabotage, the terrain slowly turns green as the world gets more terraformed.

    Feedback welcome, especially on performance and gameplay!

      • pmontra

        today at 6:23 PM

        I visited the site on my Android phone with Firefox. It loads and the UI fits the screen, however it seems slow. Words appear at 3 or 4 characters at a time, then there is a pause, then another 3 or 4 characters. Some music when characters appear, then it stops, then it starts again. I muted it soon.

        It looks nice, so I hope to give it a try from my laptop. The Mars trilogy was a great read. When I saw the title of this Show HN I said, oh wow!

        By the way, dust storms could be a plot device but are they really that bad with so low air pressure?

          • ariaalam

            today at 7:05 PM

            Thanks for giving it a click! Let me know how it goes on desktop. Actively trying to improve the phone experience now...

        • captn3m0

          today at 7:09 PM

          Got power water and o2 but can’t seem to scroll the list of items to build for food on Firefox/iOS (should also be Safari/iOS) since it selects on tap before the scroll.

            • ariaalam

              today at 7:12 PM

              Another person just mentioned this to me, looking into it.

          • mkl

            today at 9:01 PM

            Do you have permission from the publisher for an adaptation? If not, you're taking a legal risk basing it off the books.

              • cantalopes

                today at 9:40 PM

                It's based on it, it's not an adaptation.

                Also, this would very well fit within fair use

                  • stevage

                    today at 9:55 PM

                    That does not match my understanding of fair use at all.

        • saltwatercowboy

          today at 8:22 PM

          This is so cool. How are you going to simulate Michel's longing for Provence? Seriously though I adore the trilogy. I started a Mars storymapping project which incorporated Underhill, Senzeni Na, the Moholes etc. a little while back too:

          https://saltwatercowboy.github.io/marsinplace/

            • ch4s3

              today at 8:31 PM

              It’s BYO longing for Provence.

          • AnotherGoodName

            today at 7:31 PM

            Terraforming Mars is a board game that heavily references these novels which i highly recommend.

              • baq

                today at 8:16 PM

                It’s great but really needs the expansions, don’t play without

            • sointeresting

              today at 7:45 PM

              Loud music warning for those wearing headphones.

                • michaelteter

                  today at 7:54 PM

                  You weren't exaggerating! I didn't even have headphones on, and it scared the sh*t out of me when I clicked on the little man.

                    • Teckla

                      today at 8:43 PM

                      The music was so loud from my monitor's speakers that I nearly jumped out of my skin and rushed to close it, and my volume isn't even turned up much!

              • magicmicah85

                today at 6:51 PM

                Played for a bit, liked the aesthetics so I bookmarked it to come back to it later and discovered a bug. On mac/chrome, I hit CMD + D to bookmark. By doing so, I setup some kind of autowalk bug where I kept walking to the right. I couldn't stop myself from walking, even pressing WAS temporarily stopped me but as soon as I let go, I kept walking right.

                  • ariaalam

                    today at 7:06 PM

                    Thanks for this, I'll address it now.

                • UltraSane

                  today at 10:13 PM

                  When the mars space elevator was brought down and wrapped around mars TWICE was one of the most memorable moments of any book I've ever read.

                    • Aeolun

                      today at 10:21 PM

                      Spoilers! But yeah, that was a memorable scene.

                  • 3eb7988a1663

                    today at 8:54 PM

                    I must have missed something because my HP keeps ticking down until I pass out and get warped back to the command center. Eating food and resting do not seem to change the situation.

                    • personjerry

                      today at 9:22 PM

                      Had 1000 of each resource, lots of income, landing pads and habitats, but never got more colonists?

                        • emaro

                          today at 9:29 PM

                          Same, I'm stuck at 18 inhabitants.

                            • personjerry

                              today at 9:32 PM

                              I'm stuck at 0 lol

                      • jimnotgym

                        today at 8:37 PM

                        I'm on mobile (Android, Brave), and I can do everything but interact with the people. Am I doing something wrong?

                          • jimnotgym

                            today at 8:59 PM

                            Oh and I can't scroll down on the hq menu. The engineer guy only spoke to me after 15 mins

                        • lazyasciiart

                          today at 7:19 PM

                          Hmm, I just get a black screen on my iPhone when I click your link.

                          Did you use any existing stuff like the mars-sim project? https://mars-sim.sourceforge.io/

                            • ariaalam

                              today at 7:21 PM

                              Try it now! And no I didn't but that is very cool.

                                • lazyasciiart

                                  today at 7:24 PM

                                  Much better, now it opens up the game. Is this open source?

                          • number6

                            today at 7:06 PM

                            Great, how did you build it? Also I have to read the books

                              • ariaalam

                                today at 7:15 PM

                                vanilla JS and canvas plus a hefty bit of technical help from Claude.

                                  • lukan

                                    today at 8:28 PM

                                    It seems you draw everything every frame onto the canvas? The result is quite GPU heavy, for your next game I would recommend looking into a graphic libary like pixijs, to make use of the webgl/webgpu .. then it would run smooth even on old mobile phones.

                                    • evilhackerdude

                                      today at 9:49 PM

                                      check out raylib, it should be amazing for this :)

                              • xcf_seetan

                                today at 7:11 PM

                                I am on Firefox and it does nothing, no movement, just flashing resource monitors with zero values...

                                • oug-t

                                  today at 7:21 PM

                                  Interesting game, love the design.

                                  Struggled a little before understanding the instructions.

                                    • ariaalam

                                      today at 7:37 PM

                                      are you on mobile? it looks like there's a bug where the opening scene/dialogue is not loading, so the instructions aren't clear. working on it now.

                                  • tantalor

                                    today at 9:21 PM

                                    Surviving Mars (2018) is another really good game in this category.

                                    https://www.youtube.com/watch?v=5djTZfKVIKQ

                                    • deafpolygon

                                      today at 6:53 PM

                                      It’s not really clear how it’s played.

                                        • ariaalam

                                          today at 7:06 PM

                                          Thanks for trying it out. Can you say more? Was it the controls or more about what you're supposed to build/do first?

                                            • today at 8:28 PM

                                      • Vaslo

                                        today at 8:22 PM

                                        Made me think of this gem:

                                        https://www.myabandonware.com/game/ultima-worlds-of-adventur...

                                        • desireco42

                                          today at 7:21 PM

                                          It is hard to understand and play... maybe make it more obvious. I made a solar panel, it says I should assign staff...

                                          I would love to play if it would work. And music, thank god for the mute button.

                                            • ariaalam

                                              today at 7:37 PM

                                              are you on mobile? it looks like there's a bug where the opening scene/dialogue is not loading, so the instructions aren't clear. working on it now.

                                          • ahhhhnoooo

                                            today at 8:24 PM

                                            Lovely series. One of the first science fiction series I read that gave a proper anarchist culture a shot. (A big thing most people don't understand about anarchism is that it's not a violent, crime ridden, disorderly society without rules, but rather a society built on the idea that everyone deserves care, and we should all put in some effort to achieve that in a self organizing way.)

                                            Loved seeing things like gift economies, self organization and free association, and a general care for both the people and the planet in those books.

                                              • vogtb

                                                today at 9:19 PM

                                                Same. I thought his portrayal of anarcho-primitivism was really cool and interesting as well. Also, other people called it boring but one of my favorite parts was in Blue Mars as they hammer out the Martian constitution.