Live data from Hacker News

Wargame: LaTeX package to prepare hex'n'counter wargames

ctan.org

11–20 of 28 posts

Re: Wargame: LaTeX package to prepare hex'n'counter wargames

#12
On a related note, does anyone know of a Javascript/Typescript library (or framework) for doing hex-based wargaming on the web platform? Something that draws the maps, allows the user to give orders and move the units around, and resolves combat etc?

Re: Wargame: LaTeX package to prepare hex'n'counter wargames

#13
post #11

This is cool! I was just pondering some leisure coding on a hex-based game, and the manual for this package gives some good detail on the underlying mathematics for such a coordinate system.

See the hex grid reference stuff here: https://www.redblobgames.com/ for basically everything you ever wanted to know about hex grids.

Re: Wargame: LaTeX package to prepare hex'n'counter wargames

#15

TikZ is wonderful , and any graphics prepared with it just have an edge of professionalism that raster graphics don't. I really just wish we had a WYSIWYG interface for it, à la Illustrator or Inkscape (yes, the latter can export to TikZ, but I would like a vector graphics editor specifically to work with the TikZ model).

TikzEdt does but it hasn't been updated in ages.

tikzedt.org/

Re: Wargame: LaTeX package to prepare hex'n'counter wargames

#16
post #13
post #11

This is cool! I was just pondering some leisure coding on a hex-based game, and the manual for this package gives some good detail on the underlying mathematics for such a coordinate system.

See the hex grid reference stuff here: https://www.redblobgames.com/ for basically everything you ever wanted to know about hex grids.

Sweet, thanks. They link to a specific collection of Hex references too: http://www-cs-students.stanford.edu/~amitp/gameprog.html#hex

Re: Wargame: LaTeX package to prepare hex'n'counter wargames

#18

Remember first time I tried to generate some hex map for wargames using a computer and realized that no one had printers bigger than A4, they were monochrome and so on... and how hard it was to generate one using just pencil and ruler.

> and how hard it was to generate one using just pencil and ruler

Oh I did that when I was ... young :-)

My aunt worked in the printing industry and we regularly got the big leftover paper rolls from her. I am talking about one meter by tens of meters. When I learned about wargaming I immediately drew a huge 2x2m hexmap by constructing the hexes from equally spaced triangles.

Sadly that was before digital photography ... I would love to see that old map again.

Re: Wargame: LaTeX package to prepare hex'n'counter wargames

#19

On a related note, does anyone know of a Javascript/Typescript library (or framework) for doing hex-based wargaming on the web platform? Something that draws the maps, allows the user to give orders and move the units around, and resolves combat etc?

Vassal is not exactly what you are asking for (not web based for example) and it does not generate maps or counters, you have to create your own and import them. But it does allow players to share a screen, move counters, and play a game over internet. This is known by most wargamers, so my apologies if I am pointing out the obvious,.

https://vassalengine.org/

Post reply on HN