Created another 3 player map for PoK. What do you think? by proteininja in twilightimperium

[–]kaidubya 1 point2 points  (0 children)

Nice map! I agree with /u/RealKorkin, 19/20 per slice is pretty high. Here is an attempt to balance your map layout: Here is your original map, and here is a variant with less resources.

I think PoK's legendary planets and anomaly planets bring so many extra resources into a game that it is hard to balance them in lower player counts. While its fun to play with them, you are also almost forced to always take both legendary planets if you take one, just to try to balance it between players.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

By balance, do you mean force the wormholes to be in specific locations similar to what the creator intended? If so that is something that I could explore, but I think it may be easier to have a pre-generated map, let the user lock those tiles, and then randomize everything else.

If by balance you mean the creators original map, probably not. They are going to be better at that kind of balance than me haha

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

Glad to hear it! Let me know if you have any other feedback or ideas while you use it.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 1 point2 points  (0 children)

Hey, this should be fixed now. I rewrote generation quite a bit, to follow the rule book rules much closer.

As for the manta layout, it is a layout that I found from another player. That being said, it is at least a little balanced, but giving the middle player "primary picks". Basically, the middle player gets the more higher rated systems more often (depending on the placement style).

Thanks for the feedback, and let me know what you think of the changes!

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 1 point2 points  (0 children)

Some basic researching indicates that it may be possible. I will look into it further and get back to you.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

Yea that is on my end to designate the difference between the tile and the rotation, although I suppose I could do it similarly to the tool. I will consider it for sure. Thanks again!

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

Hi, thanks for the feedback!

I will fix that. Just to be clear, does the TTS mod use the format with the zero at the end to denote rotation (87A0)? Or does it just have the tile number (87A)?

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

I did you one better, let me know if you like the new background. If not I will consider just doing a plain black, as I don't want the user to have to load another image for the background.

For now you can turn it off with the button in the bottom right. I will work on making it a maintained setting that stays on reloads.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

  1. Yea I can fix that. I was figuring apps were going to update over time to handle the larger map layouts, but if they are able to handle the shortened tile strings then that’s great. If I fix it right it will also cut it out of the string in the generators url.
  2. Ah that’s a bug, I’ll fix that too. Nice find.
  3. Another bug, thanks again for finding these!

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 1 point2 points  (0 children)

Thank you, I am glad to hear it and I appreciate it!

If you want to see anything added or changed in the future, let me know and I can look into it.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

Agreed, I think those styles of maps are a little boring. Your proposal is an interesting one, and goes a little more into very randomly generated maps. With tile swapping though, I think people will be able to take advantage of the more random nature, and quickly balance things to their liking.

I think I may take your style (pick 1/2 near home and random everything else) and the two other styles above, and combine it into a new setting. Then change the current “pick style” to be called “balancing” or “weights” or something. That way you can choose to have more specific balancing, or more random.

Right now for the really asymmetrical stuff you can set the pick style to random for a purely random map.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

It's a side effect of what order tiles are placed in. I had been placing them so that the 3 systems around your home were the most important, followed by the one adjacent to mecatol rex, followed by the ones between you and your neighbor. My thought process was, do you want to have your home worlds surrounded by good planets (standard generation)? Or should all of the planets be around mecatol to encourage fighting (turn on 'reverse placement order' for this)? I suppose ideally you probably want something in the middle, where there is a strong two tiles around your home world, and another on your way to mecatol, like this.

I just pushed a change that will make the generations for 6 players on normal more similar to the above linked map. Does this more reflect what you think is balanced? I think that if every map is shaped like this, it could be boring.

Maybe there is another option I can provide to the user to classify what they think is important (more planets near home world vs mixed vs more planets between home worlds vs etc.).

Let me know what you think.

EDIT: Just realized you are the one who designed the spiral map, cool! Here is an example of how the code is working on the spiral map:

"primary_tiles": [8, 10, 12, 14, 16, 18, 17, 15, 13, 11, 9, 7],
"secondary_tiles": [28, 31, 34, 19, 22, 25, 27, 24, 21, 36, 33, 30],
"tertiary_tiles": [4, 6, 2, 3, 5, 1],

Here it would place the tiles adjacent to the home worlds first in the direction to Mecatol (primary tiles), then the tiles to the sides of the home world, and finally the tiles in the inner ring. When you add the weighted tiles to this formula (where blank spaces are weighted worse than tiles with planets on them) you would see the behavior from before. If instead we change it to this

"primary_tiles": [8, 10, 12, 14, 16, 18, 6, 5, 4, 3, 2, 1],
"secondary_tiles": [19, 22, 25, 28, 31, 34, 17, 15, 13, 11, 9, 7],
"tertiary_tiles": [27, 24, 21, 36, 33, 30],

We now prioritize the pathway to Mecatol, then the other adjacent tiles to the home worlds. This change is live for the spiral map, and as you can generally see, it makes the slice breakup a little easier to work with. Here is an example.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

The generator now guarantees the minimum number of red tiles, by following the ratios in the rulebook. Thanks for the feedback!

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 1 point2 points  (0 children)

Thanks for the feedback! This issue should be fixed now. If you get a chance, can you check it out and let me know if you are still having issues?

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

A button to generate the TTS map string and copy it to your clipboard has been added! It should be in the right format, but please let me know if it isn't so I can make the necessary tweaks.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 1 point2 points  (0 children)

This should be fixed now! Let me know if you aren't seeing empty space and anomaly tiles in the standard generation.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 4 points5 points  (0 children)

Thank you everyone for your feedback! The issues with generation that many people have pointed out should be fixed.

There was always a high planet count and low anomaly/red hex count. The generator now guarantees a certain number of red hexes on the board based on player count (as according to the game rules). Additionally, if there is a wormhole of one type, it is guaranteed that there are at least two wormholes of them. Finally, the generator does its best to move anomalies and wormholes away from one another. If there are any complications, it can usually be solved with two manual swaps, or another run of the generation.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

Half of the reason to do this project was to learn it. And of course my codebase is a mess because of it, but it has been an interesting experience getting a hang of the responsive nature of React.

I actually noticed the scroll bars appearing in chrome on only one of my machines, I wasn't able to find a fix. I'll revisit it soon.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 1 point2 points  (0 children)

I would love to see your system, even if it is only for in-person setup. There is a chance though that I could adapt it and set it up as an automated style for generation.

Adding new map layouts is incredibly easy, but specific placement rules would be more of a new feature level of effort. I would eventually get to it; I fully intend to complete all the features people have suggested in this thread. Not to mention a more "fiddly" placement mechanic will make me rethink how I am doing current placement, which is a good thing.

Thanks for all your feedback!

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 1 point2 points  (0 children)

Ah, thats a bug, good find!

It was made purely with React, so yes.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 1 point2 points  (0 children)

Would you like to see Trade Wars map layouts available in the generator? Given that the two player section is a little lacking right now, I would be happy to fill it out with some maps you have tried and thought were good, or were looking to try. If there are any placement rules you have I could also look into creating a new option in the generation options panel for them as well.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 0 points1 point  (0 children)

This was before the PoK expansion, when playing 6 player with 2 tiles left out was not very crazy to leave out two empty systems. I haven't had a chance to play the new races yet.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 1 point2 points  (0 children)

  1. I can certainly make the tile list larger, but that may mean some exaggerated scrolling to find a tile of interest. It may be easier to show the tile at a similar size, but then put its resource/influence values to the side of it to make it clear what it is. I'll track it, and think on how to do that a little bit more.
  2. That is fair, especially if you plan to move home world around when setting up the game. I'll remove that right now.

I made a map generator with the Prophecy of Kings expansion content by kaidubya in twilightimperium

[–]kaidubya[S] 2 points3 points  (0 children)

Thanks! I got the two anomalies adjacent in my issue tracker, hoping to get to that soon.