Coding "Empire" Cellular Automaton in C++/SFML

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 มิ.ย. 2024
  • This is a cellular automaton that I came up with. TH-cam compression kinda ruins it, so I highly recommended you watch in highest quality you can, and also download the project to see it for yourself :)
    Source: github.com/Hopson97/Empire
    Download: drive.google.com/open?id=0B-b...
    ------------------
    NEWER VERSION:
    Just some QoL improvements:
    drive.google.com/open?id=0B-b...
    You can now press WASD to pan around, as well as you arrow keys to zoom in/ out
    Runs faster
    People wrap (eg, if they go to edge then they go to other side
    To see stats, roll mouse over the sigma symbol.
    Dead colonies are removed from the list.
    ------------------
    Rules: github.com/Hopson97/Empire/bl...
    Enjoy!
    Links:
    GitHub: github.com/Hopson97
    Discord Server: / discord
    Support me on Patreon: / hopson
    Follow me on Twitter: / hopson1997
    Follow me on Twich: / hopsonn
    Subscribe to the subreddit: / hopsoncommunity
    Community Channel: / @hopsoncommunity8184
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 688

  • @laurisgabers1655
    @laurisgabers1655 6 ปีที่แล้ว +1004

    damn didnt know youtube actually recommends somthing good these days

    • @LOLmomentsandfails
      @LOLmomentsandfails 6 ปีที่แล้ว +10

      lmao right

    • @eliasgallegos3058
      @eliasgallegos3058 6 ปีที่แล้ว +9

      I'm so happy i found this!

    • @J1428753
      @J1428753 6 ปีที่แล้ว +1

      They always have, It's just more fun to complain and bitch about stuff (same old :\).

    • @Carolina_Housing_Solutions
      @Carolina_Housing_Solutions 6 ปีที่แล้ว +1

      only if knows you deserve it! ;p aka you search for interesting stuff.

    • @johnheikens
      @johnheikens 4 ปีที่แล้ว

      i did this too. perhaps you will find this interesting:
      th-cam.com/video/4TjJjqYQj-g/w-d-xo.html

  • @yelizarmatsko6206
    @yelizarmatsko6206 6 ปีที่แล้ว +213

    Here's a suggestion: make each of the land pixels have an agriculture value. If the agriculture is high, it will increase the reproduction rate of a colony. If agriculture is low, reproduction will be slower. I think this can theoretically create deserts where not many people can survive and capital cities with a lot of individuals.

    • @mistycgc8492
      @mistycgc8492 6 ปีที่แล้ว +4

      Good idea!

    • @dwarfganon6900
      @dwarfganon6900 5 ปีที่แล้ว

      They should have militaristic and wealth variables as well, and land should have random value

    • @Kitulous
      @Kitulous 5 ปีที่แล้ว +11

      and the value should be determined using perlin noise not randomizer, because the adjacent lands should have nearly the same agriculture value.

    • @kamm6001
      @kamm6001 4 ปีที่แล้ว

      i know this is from 2 years ago but
      maybe have a randomly generated perlin noise thing, and it turns land greener/tanner, the more tan it is the more deserty and reproduction is slower and also traveling is

    • @willmungas8964
      @willmungas8964 3 ปีที่แล้ว

      @@kamm6001 also make inhabited land spaces become more agricultural up to a max limit above the starting point, and
      Make it become more desolate when people fight on or near that spot

  • @iBot.
    @iBot. 4 ปีที่แล้ว +108

    "child.isDiseased"
    this is code would be kind of hard to explain to someone

    • @jamescook7525
      @jamescook7525 3 ปีที่แล้ว +5

      What? Child.isDiseased.

    • @bing2517
      @bing2517 3 ปีที่แล้ว +3

      not really

    • @oogabooga2581
      @oogabooga2581 3 ปีที่แล้ว +6

      the naming convention is good in programming, but from a medical perspective it would be poor bed side manner

  • @furby201
    @furby201 6 ปีที่แล้ว +246

    What if after some time a colony could send out a couple people on a ship so they can control other continents and islands?

    • @robinsimek8137
      @robinsimek8137 6 ปีที่แล้ว +2

      I also had an idea like this so they can make boats and stuff like that I hope he finds your comment

    • @sophiacristina
      @sophiacristina 5 ปีที่แล้ว +7

      And peace treats and threats that would make wars that would decimate lot of those cells.

    • @awildfilingcabinet6239
      @awildfilingcabinet6239 5 ปีที่แล้ว +15

      Melvin fuck off, no one wants your political bullshit here

    • @somnia3423
      @somnia3423 5 ปีที่แล้ว +8

      ​@@Melvin420x12 nobody wants you here

    • @Melvin420x12
      @Melvin420x12 5 ปีที่แล้ว +7

      A wild Filing cabinet What politics? I’m talking about the cells.. Can’t even talk about a simulation idea without people hating on you and brining up real works politics. Jesus man

  • @wilddoggo9756
    @wilddoggo9756 6 ปีที่แล้ว +61

    Extremely interesting, I ran the game for about 6,000 years.

    • @wilddoggo9756
      @wilddoggo9756 6 ปีที่แล้ว +4

      noice

    • @wegvS
      @wegvS 6 ปีที่แล้ว +5

      So... How is living in the 9th millennium?

  • @threadsnakegaming
    @threadsnakegaming 6 ปีที่แล้ว +145

    This has lots of potential! Please do more to add on to this!

    • @threadsnakegaming
      @threadsnakegaming 6 ปีที่แล้ว

      Joseph ?

    • @targitausrithux2320
      @targitausrithux2320 6 ปีที่แล้ว

      ThreadSnakeGaming he is saying someone in Reddit or an entire sub Reddit will add a shit ton of stuff to the program.

  • @clemdemort9613
    @clemdemort9613 5 ปีที่แล้ว +22

    would be really cool that if a colony is taking over a whole continent it has a slim chance of fracturing into multiples colonies keeping the simulation going...

  • @aidensmith6277
    @aidensmith6277 5 ปีที่แล้ว +2

    Wow... looks like something like this would make a good smoke generator...? The way different colonies ripple through eachother looks like a cool effect.

  • @spiderartmc3912
    @spiderartmc3912 6 ปีที่แล้ว +339

    Paint.net master race

    • @Nugcon
      @Nugcon 6 ปีที่แล้ว +6

      Microsoft paint master race!!!!11

    • @xel_los
      @xel_los 6 ปีที่แล้ว +1

      SpiderArtMC bad paint master race for those of us who cant art

    • @123TeeMee
      @123TeeMee 6 ปีที่แล้ว +1

      with the mods you can get you can do anything

    • @tron7_
      @tron7_ 5 ปีที่แล้ว

      @Rajmund Csombordi mario paint master race

    • @illuminticonfirmed6248
      @illuminticonfirmed6248 5 ปีที่แล้ว

      paint.net master race

  • @mihailjianu9
    @mihailjianu9 6 ปีที่แล้ว +1

    So cool :o. I really love your videos, man. Keep up the good work.

  • @blackyusylvean
    @blackyusylvean 6 ปีที่แล้ว +22

    Wow, that's a neat system ! I'd love a part 2 with more stuff added ! I mean, it's satisfying enough to see a colony take over a whole continent but the "strong enough people can swim" rule can make it even more satisfying by having a colony take over the world AND kill the smaller colonies that think they're safe on their isolated island ! =D
    Also I saw a clever idea in the comments : sometimes a person could start a revolution in their colony under certain circumstances, but I saw you reply to that one so you know the stuff.
    Also, I'd love it if there were more things that could be edited in the configuration, such as the average number of people per starting colony, maybe the overall speed (by changing the length between years), maybe also some console commands that would allow you to kill an entire colony, or increase/decrease the strength of every member of a colony by a certain number, things like that. But the simulation is already cool and I'm jealous. =D

    • @Hopsonn
      @Hopsonn  6 ปีที่แล้ว +8

      Good ideas!
      Thanks :)

    • @blackyusylvean
      @blackyusylvean 6 ปีที่แล้ว +4

      You're welcome ! Also I was thinking about something. There might be an oversaturation of swimming people from stronger colonies (which could make it almost too easy to invade islands and isolated continents with their low average strength) so I thought about a rule like "for every year spent swimming, the colony members see their strength decrease by one. If it reaches a certain threshold (can be a configurable pre-determined constant or a calculation based on the average strength of the colony), then they'll drown." Do you think this could work ?

    • @Hopsonn
      @Hopsonn  6 ปีที่แล้ว +6

      Ah yeah, that is good :)

    • @Nugcon
      @Nugcon 6 ปีที่แล้ว

      I think colonies should build boats based on how high their strength rather than swimming.

  • @Drakefance5
    @Drakefance5 6 ปีที่แล้ว +139

    Ha... i know nothing about C++

    • @okinawadreaming
      @okinawadreaming 6 ปีที่แล้ว +21

      Neither do i, i really want to learn it eventually tho.

    • @abijo5052
      @abijo5052 6 ปีที่แล้ว +13

      Meh C# master race

    • @darthvador3699
      @darthvador3699 6 ปีที่แล้ว +38

      Daniel Wikes
      Pretty sure C++ is master race.

    • @RandomGuyyy
      @RandomGuyyy 6 ปีที่แล้ว +13

      C++ master race

    • @csgamer11
      @csgamer11 6 ปีที่แล้ว +3

      C masterrace :P - Made my one

  • @BuildEver
    @BuildEver 6 ปีที่แล้ว +1

    The project looks great! I would love to see part two.

  • @paintedeevee4581
    @paintedeevee4581 6 ปีที่แล้ว

    I love your videos, you have some really cool ideas with awesome implementation.

  • @bluescanfly1981
    @bluescanfly1981 5 ปีที่แล้ว +1

    Just subscribed. This is really awesome.. One idea would be to give each colony unique characteristics such as aggression, creativity, resilience etc, and watch them duke it out.. oh wait, been playing too much Civ4 lately

  • @diego6789
    @diego6789 6 ปีที่แล้ว

    Please keep doing more automaton vids! I'm pretty sure I'm not the only who likes them lol. Keep up the good work!!!

  • @vamheredur413
    @vamheredur413 6 ปีที่แล้ว +1

    Loving your work! Keep it up!

  • @twill1197
    @twill1197 5 ปีที่แล้ว

    I love this video because it's really interesting and I love the music choices

  • @VariniusAurelius
    @VariniusAurelius 6 ปีที่แล้ว +1

    This is so awesome!
    It's videos like this that make me want to program!
    I am currently trying to learn C++ and C#.
    Thank you so much for the awesome video and inspiration!

    • @jimhalpert9803
      @jimhalpert9803 3 ปีที่แล้ว

      How you doing?

    • @VariniusAurelius
      @VariniusAurelius 3 ปีที่แล้ว

      @@jimhalpert9803 Im in college now, did a lot with C#, had to do a lot of Java for computer science classes and I'm now finding a new passion in Database.

  • @d3nxfr494
    @d3nxfr494 6 ปีที่แล้ว

    Wow I REALLY like the concept ! I was searching to something like this =)

  • @guppy3463
    @guppy3463 6 ปีที่แล้ว +16

    That dragon quest music :D

    • @JartaYT
      @JartaYT 5 ปีที่แล้ว +1

      Honestly it was such a nostalgic experience

  • @Nugcon
    @Nugcon 6 ปีที่แล้ว +1

    I don't understand anything in these but I somehow enjoy these videos, probably because i like seeing people doing great things.

  • @skudilidoo2092
    @skudilidoo2092 6 ปีที่แล้ว +8

    Dude the DK soundtrack.... You are a god

    • @Kitulous
      @Kitulous 5 ปีที่แล้ว

      drift king? donkey kong? danya kashin?

    • @krakor92
      @krakor92 5 ปีที่แล้ว

      @Kitulous It’s « Stickerbush Symphony » from Donkey Kong Country 2: Diddy’s Kong Quest

  • @DuckofTruthTV
    @DuckofTruthTV 5 ปีที่แล้ว

    This is oddly hypnotizing.. I"ve been staring at this program for half an hour.

  • @Adam-wo9ol
    @Adam-wo9ol 6 ปีที่แล้ว +2

    In my first game none of the islands started off with colonies on them so they never got inhabited. I think after A certain amount of time or some other trigger the colonies can "invent boats" and start travelling across the small distances of ocean, but only small amounts of people at a time and if they find an enemy they continue to send more and more people until they rule the island of the island send people to their mainland and take them over. It would also be interesting if there were revolutions so that once a colony owned a isolated piece of land they wouldn't always own it no matter what, another colony could pop up and try taking it over. Then in my second game one colony started on an extremely small island and stayed there for the entire game. Also no one spawned on north/south america so the only populated continents were europe, asia, africa, and australia. and none of the islands got populated except that one which has a population of 40 and a strength of 45. I'm not criticizing your game I think it's great. I'm just giving you some suggestions on how to make it even better.

  • @subliminalcastillo2126
    @subliminalcastillo2126 3 ปีที่แล้ว

    Love it. You got yourself a new subscriber

  • @darkcisum3384
    @darkcisum3384 6 ปีที่แล้ว +20

    I didn't fully see how it works, but when you iterate over all the pixels, how do you make sure to not take into account previously changed pixels? Say 0,0 moves to 0,1, but your next check is 0,1, which has been changed just in the last step. Other differently asked, do you create any biases by iterating top to bottom, left to right or do you get the same results if you'd reverse it (bottom to top, right to left)?
    Quite a neat project! Too bad video compression doesn't like it as much.

    • @Hopsonn
      @Hopsonn  6 ปีที่แล้ว +17

      Changes are saved into a new vector, which is then std::move 'd back into the main one.
      Iteration direction is random. Sometimes it will go top to bottom, sometimes bottom top lop, left to right, right to left etc
      Thanks! and yeah it is shame about the compression :(

    • @darkcisum3384
      @darkcisum3384 6 ปีที่แล้ว

      Ah, I see!

    • @longbutsweet
      @longbutsweet 6 ปีที่แล้ว

      perhaps iterate in a more random fashion? I could clearly see the patterns of how the data is being processed. (i.e. the result is not circular). i.e. array of all pixel indices (0 to w*h -1) - randomize array, then iterate with the randomized... for each frame...

  • @dnetne5508
    @dnetne5508 6 ปีที่แล้ว

    I started learning C sharp I think like a month ago,and I watched like 2of 20 videos and I quited but now I will try it agin,due to you!

  • @technologies4me999
    @technologies4me999 6 ปีที่แล้ว

    Very nice! I'm going to write a Langton's ant example in Javascript now. Keep up the great videos!

  • @beasticle1199
    @beasticle1199 6 ปีที่แล้ว

    A part two would indeed be greatly appreciated

  • @Cyamond
    @Cyamond 6 ปีที่แล้ว +19

    this isn’t technically cellular automata, at least, not the deterministic kind.
    there is a concept of “move randomly” in this, a deterministic cellular automaton would think “this is beside me, therefore i turn into this”
    it’s a cool concept though, great job

    • @johnjackson9767
      @johnjackson9767 4 ปีที่แล้ว

      If the randomness is seeded, then surely it's deterministic.

    • @willmungas8964
      @willmungas8964 3 ปีที่แล้ว

      @@johnjackson9767 but it’s not cellular by neighbors

  • @SuperHman03
    @SuperHman03 6 ปีที่แล้ว

    I like the migrating hordes in the last one there, that's pretty cool looking.

  • @simeon2396
    @simeon2396 6 ปีที่แล้ว

    NICE :) Keep making videos like this please :)

  • @PanCave
    @PanCave 6 ปีที่แล้ว +1

    Very interesting! What about peace? I mean the system could easily be changed, so that war causes a lot of death and not only for the people at the borders. Then it could be more valuable for colonies to stay in harmorny with some other colonies, rather than loosing thousands of people in a constant war. Also I would make it so that colonies are claming land. That means a pixel is for instance red, if there is a person and light red, if there is no person, but this pixel was claimed by the red colony (because it is inside the borders).

  • @TheNinjaDwarfBiker
    @TheNinjaDwarfBiker 6 ปีที่แล้ว

    Very nice! Add straights between continents and islands (Like 1 pixel bridges) so it is possible to conquer the world! Also I don't like the disease thing, in the last clip you showed us, yellow looked almost nomadic and it is very weird! Good job tho!

  • @brdwthacgr2699
    @brdwthacgr2699 6 ปีที่แล้ว

    i found something super interesting about this program! if you take two equally large areas and connect them through a small passage way, spawn only two colonies so that one spawns in each area, the simulation will go on forever.

  • @TrustPatches
    @TrustPatches 6 ปีที่แล้ว

    Wow, the evolution thing that occurred was actually amazing

  • @grantmayberry7358
    @grantmayberry7358 4 ปีที่แล้ว

    Super cool, man!

  • @damienk777
    @damienk777 6 ปีที่แล้ว +4

    This is a really interesting project!

  • @till8413
    @till8413 6 ปีที่แล้ว +12

    I like the background music :D
    Good work :thumb_up:

    • @TheVopi
      @TheVopi 6 ปีที่แล้ว

      What is it

    • @wegvS
      @wegvS 6 ปีที่แล้ว +1

      It reminds me of the Dragon Quest OST, but I could be wrong

    • @utryping
      @utryping 6 ปีที่แล้ว +1

      ^ You're right.

    • @TheVopi
      @TheVopi 6 ปีที่แล้ว

      Smoke Weeb Every Day so you know which song?

    • @utryping
      @utryping 6 ปีที่แล้ว +2

      um one of the songs is The Sun Gathering Village

  • @acorn9992
    @acorn9992 6 ปีที่แล้ว

    this guy deserves much more subs

  • @jantumo1425
    @jantumo1425 6 ปีที่แล้ว

    The last simulation with the high eurasia-africa strength and the low americas strength is a good metaphor

  • @casey3594
    @casey3594 6 ปีที่แล้ว

    Dude that's awesome!

  • @AlbySilly
    @AlbySilly 6 ปีที่แล้ว

    I'd love to see a continued series of this

  • @Falquano
    @Falquano 6 ปีที่แล้ว

    This is really awesome!
    I think you should try to add stuff to it, like boats, science discoveries (including the boats?) to make more difference between the civs. Maybe add reasons for a civ to attack another, so that they won't just attack any neighbour. But I think the most important thing is boats, because there are a lot of un-used lands right now.

  • @hxllside
    @hxllside 6 ปีที่แล้ว +165

    How dare you do the work of the almighty. All those tiny people on your computer screen are now riddled with disease because you think you are GOD. This is BLASPHEMY!!1

    • @alexanderfortier5488
      @alexanderfortier5488 6 ปีที่แล้ว +11

      DEE JAY REE DOO, he doesn't think he's a god. He IS a god.

    • @Nugcon
      @Nugcon 6 ปีที่แล้ว +6

      God is lazy so Hopson he did what he can do ;)

    • @genericusername4206
      @genericusername4206 6 ปีที่แล้ว

      The NuggetBacon I see u everywhere (especially 2b2t videos)

    • @mistycgc8492
      @mistycgc8492 6 ปีที่แล้ว

      Its a game

    • @SkyenNovaA
      @SkyenNovaA 4 ปีที่แล้ว +1

      @@genericusername4206 *The oldest anarchy server iN MiN eCr af t*

  • @SpaghettiEnterprises
    @SpaghettiEnterprises 6 ปีที่แล้ว

    Super rad! This simulation is actually surprisingly insightful. Have you considered recording statistics? Also, it'd be cool if you added a click event that wiped out everything within a certain radius, or a random natural disaster effect that did this automatically. I agree with some of the commenters; that there should be a random chance for people to spontaneously change colors. Potentially scaled with strength value?

  • @foggofed9163
    @foggofed9163 6 ปีที่แล้ว

    This is rad. Thanks for sharing.

  • @donavangaudet3829
    @donavangaudet3829 6 ปีที่แล้ว

    I would LOVE to see a part 2 of this, i feel that giving a food value would also be important. Make parts of the world where food grows more abundantly and add in a food value requiring that for a new population x amount of food is required, the food would be collected as a person walks over a food tile and either have it be shared by a global variable for each colony or per each person. a new ailment you could add is something that makes a person require more food. though i think that there should also be an immunity variable per person as the straight 50% chance seems a little simple at best.

  • @ThatGuyMagnum
    @ThatGuyMagnum 6 ปีที่แล้ว

    Please make a part 2! I wish this video was a year old so I could immediately go to it!

  • @DarkYuan
    @DarkYuan 6 ปีที่แล้ว

    Wow! Way more impressive than the ants and antlions sim I had to do in college. It'd be kinda cool if our last project was "make a world-life simulation any way you want"

  • @cgabsorbedtuberg2982
    @cgabsorbedtuberg2982 6 ปีที่แล้ว

    Woooow, this is so cool!

  • @passingtime8700
    @passingtime8700 6 ปีที่แล้ว

    Bro ur content is awesome

  • @tr7zw
    @tr7zw 6 ปีที่แล้ว

    Few small things: Hide dead Colonies, add that too large Colonies get some debuffs(longer to reproduce/get stronger more slowly or so), so it becomes easier for multiple colonies to stay alive next to each other.

  • @zejewbear
    @zejewbear 6 ปีที่แล้ว

    Really cool project. I'm playing around with the simulation now, and noticed one kind of weird pathology. Regardless of the settings, you generally get "roving bands" of abnormally strong groups (~5000 pop, Avr Str ~420) walking virtually unopposed through a larger but weaker dominant force on the landmass (~120k pop, Avr Str ~280).
    These little bands seems to kill each other then they meet, and often just eventually run into the coast and die.
    I'm aware this is still under development and may change in future versions. Again, really cool project. You might find the work of Cederman on ABM in International Relations interesting.

  • @thebleakgamer427
    @thebleakgamer427 6 ปีที่แล้ว

    Omg the Dragon Quest IX music brought back so many memories

  • @rcookie5128
    @rcookie5128 6 ปีที่แล้ว

    i love how you use dragon quest 9 for your background music! Has some of my favourite VGM tracks..

  • @cowcannon8883
    @cowcannon8883 6 ปีที่แล้ว

    Nice choice of background music.

  • @mrglibb
    @mrglibb 6 ปีที่แล้ว

    Love that you used the dragonquest soundtrack.

  • @MrTurbo_
    @MrTurbo_ 6 ปีที่แล้ว +1

    Didn't take me long to decide to subscribe

  • @xingchen8077
    @xingchen8077 6 ปีที่แล้ว

    great video! I suggest adding terrains like mountains where fighting and moving will be very very slow.

  • @Treyzania
    @Treyzania 6 ปีที่แล้ว

    I noticed some upwards motion bias in a lot of the earlier tests. I'm not sure exactly how you're structuring your code but did you try processing each iteration as a function of the current map returning the next step in the iteration. If you directly mutate the data then it could cause problems like that, depending on which order you perform computations.

    • @Hopsonn
      @Hopsonn  6 ปีที่แล้ว

      About 50 people have mentioned this already... I would look for another comment mentioning this. (And no, I do not "directly mutate the data")

    • @Treyzania
      @Treyzania 6 ปีที่แล้ว

      Hopson Oh balls, my mistake

  • @johnathan71118
    @johnathan71118 6 ปีที่แล้ว

    Love these videos

  • @SkullCrewGaming
    @SkullCrewGaming 6 ปีที่แล้ว

    Yes make this more complex, this seems like a really great idea, add things like, people swimming, rebelions and maybe add a wepons system, boosting the strenght of a colony, but without any add-ons its already amazing

  • @guit6452
    @guit6452 6 ปีที่แล้ว

    Hey, absolutely loved this video!
    If you are looking for a idea for a next video I might have one for you; risk. I think the easiest way of making one is by copying the version on 4chan, were a random number equals the amount of turns, doubles, triples and quads giving you a bonus. By paying some of these turns you can get a upgrade or by capturing more tiles you can get a upgrade.
    It's really interesting and fun to play, sadly the risk scene is kind of dead, though I really suggest you trying to play it for once, or twice when you can. You can find it on /bant/ as most other boards have banned it.
    Good luck.

  • @robinhodson9890
    @robinhodson9890 6 ปีที่แล้ว +1

    "Races" change and merge over time though; they don't expand, run up against each other, and halt. They also like mixing a lot, and your map lacks boat travel and mountain barriers.

  • @JS_SN_UQAU
    @JS_SN_UQAU 6 ปีที่แล้ว

    Nice! Here's some suggestions for you:
    *Civil War*
    Not everyone is going to be that faithful to their country. You could make it so that a person has a 1% chance of starting revolution. Thus, gigantic empires which are unmatched won't form, and isolated lands won't develop tiny strength values.
    *Resources*
    _Food_ would increase strength.
    _Wood_ would allow people to build shelters and boats.
    Both would be randomly spawned around the world, and spawn every 5-10 seconds
    *Shelters and Boats*
    _Shelters_ would range from teepees to houses to buildings. They would reduce the likelihood of disease.
    _Boats_ would allow movement across waters.
    Hopefully you read this and take this into consideration! 😀

  • @storerestore
    @storerestore 5 ปีที่แล้ว

    Very cool! It's not strictly a cellular automaton, though. With cellular automata, each cell has one of a finite number of states that for each generation is dependent on a neighborhood of that cell in the previous generation. So you can know given only a cell's current state and the states of it's neighborhood what state it will have in the next generation, and you never need to model the individual behavior of agents. This looks more like a large scale multi-agent system or maybe even a fluid dynamics simulation. Reminds me of the fire graphics effects of yore.

  • @redacted6813
    @redacted6813 6 ปีที่แล้ว

    In some of the unfinished versions the colors are a lot more solid and that would be nice to see in the finished version so it's easier to see whats going on, and also to avoid TH-cam compression.

  • @TheGabrielbowater
    @TheGabrielbowater 6 ปีที่แล้ว

    I love the way there are like waves coming out across Eurasia and Africa. Easy to imagine them as Mongols or Huns or something washing over agrarian communities

  • @ChupachuGames
    @ChupachuGames 6 ปีที่แล้ว

    You should make a mountain texture that grants an attack penalty/defense buff that makes mountains really good to hold onto, making nations have a stronger survival chance and giving them better separation and whatnot

  • @RandomGuyyy
    @RandomGuyyy 6 ปีที่แล้ว

    Fascinating!

  • @narthex1681
    @narthex1681 6 ปีที่แล้ว

    This is really good

  • @nullrazor267
    @nullrazor267 6 ปีที่แล้ว

    Awesome project

  • @alanbu5837
    @alanbu5837 3 ปีที่แล้ว

    Loved the cave story BGM!

  • @lubieplackixd9223
    @lubieplackixd9223 6 ปีที่แล้ว

    this is amazing make it editable easy and more complicated and this will be the best game i've ever seen

  • @vinibp
    @vinibp 6 ปีที่แล้ว

    thank you for sharing it, very interesting

  • @naynay4058
    @naynay4058 6 ปีที่แล้ว

    If you consider making a part two, I think you should add the probability of a civil war developing among a race, thus causing the race to split apart and start fighting. I also think that you could make it such that people with very high strength can build boats and travel to continents

  • @hadenirtv
    @hadenirtv 6 ปีที่แล้ว

    Great video!

  • @undefinedbhvr
    @undefinedbhvr 6 ปีที่แล้ว

    I have a suggestion for a game, however this is a long one.
    This is a direct copy and paste from an idea I had a while back. It's probably going to take a while to make, and since I don't know coding yet, I decided to suggest it for you.
    It's a bit long so bear with me on that;
    First Person Shooter
    Wild West Theme
    Small town 10 buildings? 6 randomly generated in location, one bank, 1-2 bars, 3-4 shops, others are decorative and non important.
    Graphics: 2d(could be 3d but would take longer) top down perspective, simple.
    Town Design: Shops, Bar, Bank are able to be entered, other buildings are decorative.
    Goals:
    Game ends when everything in the town is robbed or Robber is arrested by Sheriff
    Robber: Starts in hidden cellar, random spawn in map, only available to robber. Items are a lockpicking set 10 uses, allows robber to hide in a house 1 min maximum, and a pistol
    Sheriff: Starts in bar, has a pistol and cuffs, can either cuff or shoot robber. Cuff is instant win, shooting requires shooting robber 3-4 times.

  • @sutorenjaa
    @sutorenjaa 6 ปีที่แล้ว

    so cool!! :D please make a part 2 :D

  • @brotherjudas7709
    @brotherjudas7709 6 ปีที่แล้ว

    God bless you, you're a genius.

  • @clearz3600
    @clearz3600 6 ปีที่แล้ว

    Nicely done. I'd add a few sliders to let you dynamically control the values.

  • @cyrilpujol2047
    @cyrilpujol2047 6 ปีที่แล้ว +1

    you should make the colony id to be a float and to let it change (slowly) via mutations, thus a colony could split into two.
    a cell would consider someone to be an ennemi if the colony id is too different from his.
    this will let the things evolve even after conquering a hole continent

  • @Wiejeben
    @Wiejeben 6 ปีที่แล้ว

    Well done :)

  • @evyatarbaranga5624
    @evyatarbaranga5624 6 ปีที่แล้ว +1

    great video!!!
    i will be happy if you would make part two

  • @ikariim
    @ikariim 6 ปีที่แล้ว

    I think you could also create mountains and deserts which are more difficult and arduous to traverse, maybe making people die slightly earlier, or making them move slower and reproduce less.
    Also, maybe each round a civilization has a low chance of developing better weapons or travel making their strength higher and moving faster.

  • @steven-cb2ek
    @steven-cb2ek 6 ปีที่แล้ว +1

    This is AWESOME

  • @henryambrose8607
    @henryambrose8607 6 ปีที่แล้ว

    A lot of people are talking about boats... I think the best way for that to work would be a similar mechanism to the mutation but with the colony itself that allows some people (again, randomly defined) to move on water. Implementing this might involve making them not age when on water or making them move faster or only be able to move in one direction.
    Another thing that might be interesting would be including resources for civilisations to compete over, or maybe even eventually drain and then trade, although I'm not going to seriously ask you to program your cells to build economies and stuff.

  • @TarousDT
    @TarousDT 5 ปีที่แล้ว

    The wave pattern in the last couples clips was interesting. I wonder why the simulation creates that.

  • @ThePhobosAnomally
    @ThePhobosAnomally 6 ปีที่แล้ว

    Awesome. Maybe you could calculate a center (coordinate) of each colony as it developes.. the further it is from the center, the higher health penalty or something.. that way there would be no patches all over the place. Also, you could add a slight chance of two persons from different colonies meet, that they too can have a baby that would resoult in a new color combination. Eventually once there is enough of people with that color, you could add a new colony to your colony array. .. just thinking

  • @jamesklark6562
    @jamesklark6562 3 ปีที่แล้ว

    You should have added something similar to those ant simulations for crossing bodies of water. Imagine every so often there's a chance of a sailor spawning and they follow the same routes across the ocean.

  • @sabrinathomason4948
    @sabrinathomason4948 5 ปีที่แล้ว

    Loving the RuneScape font xD

  • @pedroocm
    @pedroocm 6 ปีที่แล้ว +1

    You can create a code that makes the parts of the colonies which are surrounded by other colonies weaker, so that there is no colony inside a colony

  • @MixxC
    @MixxC 6 ปีที่แล้ว

    You should definitely continue this! Maybe you could implement boats, or as you said, if the strength is high enough they can swim across oceans.

  • @ArttuH5N1
    @ArttuH5N1 6 ปีที่แล้ว

    I have no idea what this is but for some reason I'm intrigued

  • @Hyuts
    @Hyuts 5 ปีที่แล้ว

    Very cool. Seems kinda like a genetic algorithm. Thanks for sharing!

  • @mekquake5879
    @mekquake5879 6 ปีที่แล้ว

    awesome video! woulda been cool if people could go over see's somehow, but their chance of death increased or something

  • @hfrox1
    @hfrox1 6 ปีที่แล้ว

    this is amazing

  • @RandomGameFun
    @RandomGameFun 6 ปีที่แล้ว

    wow, this was actually interesting.