Map Maker

Map Maker
0

#1

I created a map maker to help create bases:
https://www.kevinbai.design/terminal-map-maker.

Feel free to use and point out any bugs or changes that can be made!

Open source code: https://github.com/kevinbai0/terminal-map-maker

(currently not mobile responsive and only tested with the latest version of chrome).


Terminal Community Contributions
#2

Looks great! I love that you can segment it with different colors.

It’d be really cool if you could place on both sides and maybe have blue/pink available by default so you can create on both sides of the map like how it’s currently laid out. Sometimes you want to grab locations on the other side of the map.


#3

Thanks, this is really usefull.
I agree with Ryan_Draves and also it would be great if the coordinates were given in the order, that I actually clicked on them. But otherwise great stuff.


#4

This is amazing


#5

Would be lovely if it was open source contrary to being obfuscated (“compiled” in this case) :+1:
Maybe it is just me who thinks so, but that would be my feedback.


#6

Great suggestion! I’ve just created a new repo on GitHub for the project (it used to be under a bigger project). It can be accessed at https://github.com/kevinbai0/terminal-map-maker


#7

Yeah, that’s something I was thinking of adding which I’ll do soon!


#8

Great idea. Will add soon!


#9

Awarded the silver “Open Source Contributer” and bronze “Open Source Begginner” badges

Also Kevin, your site looks amazing


#10

Thank you so much!


#11

I’ve been using this map maker recently, very useful.
One question though, is there a way to remove units on the board? I’ve tried using the ‘x’ option and it doesnt seem to work for me.


#12

Hmm… seems like there was a bug in the new update. I’ll fix it ASAP.

Edit: It’s be fixed now.


#13

Hi @kevinbai0!
Is your map maker down ? :disappointed_relieved:


#14

Oh no! I forgot to renew my domain which expired this week. I’ll get that up as soon as possible. In the meantime, you can still find the map maker at kevinbai.herokuapp.com/terminal-map-maker.


#15

@arnby


#16

tanks a lot :slight_smile:


#17

Uh-oh, @arnby is using a map maker. S4 is going to be brutal :wink:

Given your comment during the stream on being able run a minimum of 40k full simulations each turn (still in awe of that), was the genoracle series built by sim-ing “every” affordable combination of filter/destructor placement in the front 5 rows for defending predicted enemy spawns and sim-ing “every” affordable encryptor placement in the next 3 rows for maximizing your offensive units?

I’ve seen the occasional turn 1 placement of a basic defense, but I guess I’m asking if every other bit was decided based on extensive simulations, or did you introduce some kind of defensive or offensive bias in what it was building/attacking with?

(and don’t feel like you have to answer if it would give away any “secret sauce”, I’m asking mostly because I see genoracle has retired from the S4 leaderboard so I’m guessing you’re cooking up something new)


#18

Nothing serious, don’t worry :wink:

If I didn’t make a mistake, here is a function that compute the number of possibilities to place only filters and destructors on a given number of tile:

def getNPossibilities(n_tiles, n_cores):
   n_possibilities = 0
   for n_filter in range(0,n_cores + 1):
       max_destructor = int((n_cores - n_filter) / 6)
       for n_destructor in range(0,max_destructor + 1):
           n_possibilities += binom(n_tiles,n_filter)
           if(n_destructor):
               n_possibilities += binom(n_tiles - n_filter,n_destructor)
   return n_possibilities

And the result for 120 tiles (the first 5 rows) and 40 cores (first turn) is … 2.21103149893292e+32 :scream:
So at the speed of 120k simulation for 6 seconds, it would take me only 3.5e+20 years to compute the turn 0 (piece of cake) (oh and I did not take into account the encryptors and not even the attack possibilities and not even the opponent actions)

So no, I don’t simulate every possible combinations.

Aside from the specifications of the row you got right, there is no bias for neither attack nor defense

I am going to try ML once again, but I don’t have a lot of time so no idea what I will achieve


#19

Saaaame. Cheers!


#20

Ok, so turn zero with 40 cores is certainly ridiculous. But your point is well made that even with a smaller amount of cores on some later turn, brute-forcing is a foolish goal.

I’ve only worked with “highly opinionated” simulations where coming up with over 500 “meaningful” variations to sim yields diminishing returns rather quickly, so seeing 80-200x that much done each turn just kinda blew my mind.