News for hackers. Stuff that matters.
Re:The Board Game at the Heart of Viking Culture by mrec on Wednesday June 27, 2018 @01:27PM (#17410062)
It's an interesting game, mostly because unlike most modern games it's massively asymmetrical. Goals, strategies and attitudes are very different for the two players, and despite the numerical lopsidedness in pieces it's much easier to win as the defender, and a slow cautious style is much more important for the attacker.

See Fetlar Hnefatafl for a modern codification of the (very vague) historical rules:

http://tafl.cyningstan.com/page/88/fetlar-hnefatafl

Re:The Board Game at the Heart of Viking Culture by DrHuman on Wednesday June 27, 2018 @03:07PM (#17410873)
I actually wrote a toy app recently following the Fetlar rules as a React exercise:

https://htafl.herokuapp.com/

Not sure how it renders across machines but it looks ok on my Mac.

Re:The Board Game at the Heart of Viking Culture by INTPenis on Thursday June 28, 2018 @03:28AM (#17414791)
If you could add a rooms feature and online game like http://tafl.herokuapp.com/ then I think you'd see some real use of that app.

The one I linked looks much worse than your board.

Re:The Board Game at the Heart of Viking Culture by DrHuman on Thursday June 28, 2018 @03:25PM (#17419742)
I would like to flesh it out at some point. Not sure how to go about doing the back end though. I'm currently taking a Node course so maybe after that I'll give it a shot.
Re:The Board Game at the Heart of Viking Culture by INTPenis on Friday June 29, 2018 @03:18AM (#17422974)
Or release the source. I'm good at backend but only a hobbyist with node. Perhaps I could do something with your ready-made frontend code.
Re:The Board Game at the Heart of Viking Culture by mrec on Wednesday June 27, 2018 @03:33PM (#17411087)
Yeah, I did the same (VanillaJS) a couple of years back, and started thinking about implementing a computer opponent, but it's really not clear what the evaluation function should be.
Re:The Board Game at the Heart of Viking Culture by formalsystem on Wednesday June 27, 2018 @05:46PM (#17412105)
You need only codify the victory and loss conditions to build an AI using standard Reinforcement learning algorithms. Feel free to message me if you want more detail on how this would work. We should be able to hammer something out in less than a day.
Re:The Board Game at the Heart of Viking Culture by mrec on Thursday June 28, 2018 @12:43PM (#17418449)
Thanks for the pointer, but I'm afraid I have zero knowledge of ML and wouldn't be any help.

I have to say I'm a bit sceptical that this approach can work purely based on win/loss conditions - an attacker victory in particular can often take hundreds of moves in Tafl games.

Re:The Board Game at the Heart of Viking Culture by DrHuman on Wednesday June 27, 2018 @10:59PM (#17413729)
Agreed. The only thing I could think to do would be look for pieces to capture in any given turn, but that would never get it to an end game condition. It's beyond my current capabilities to make a proper computer opponent, but it would be a good exercise.
Re:The Board Game at the Heart of Viking Culture by mrec on Thursday June 28, 2018 @12:40PM (#17418416)
> look for pieces to capture in any given turn

Not as a general rule. If you're playing as the attacker, you don't always want to take defender pieces even if they're "free" - they're more useful boxing their own king in.

Re:The Board Game at the Heart of Viking Culture by DrHuman on Thursday June 28, 2018 @02:54PM (#17419501)
Yea, it's not even a good strategy really. Just the only thing that I felt like I could code that would be a step up from just making a random legal move.
Re:The Board Game at the Heart of Viking Culture by kwhitefoot on Wednesday June 27, 2018 @02:24PM (#17410534)
Sounds a bit like Thud in which each player has to take a turn playing each side. See https://wiki.lspace.org/mediawiki/Thud.
Re:The Board Game at the Heart of Viking Culture by UnderProtest on Wednesday June 27, 2018 @04:40PM (#17411665)
It does sound a bit like Thud, doesn't it? From your link:

Thud is a board game based on the earlier dwarfish game of Hnaflbaflsniflwhifltafl. It is played mainly by Dwarfs and Trolls... The game itself echos the game played by Vikings and Anglo-Saxons "Hnafletafle"- which literally means "Kings Table". Hnafletafle echos go beyond just the name. Like 'Thud' it is unusual in that it is an 'asymmetrical' game...

In that Thud is a parody of it.

Re:The Board Game at the Heart of Viking Culture by YeGoblynQueenne on Thursday June 28, 2018 @05:46AM (#17415426)
Note that Thud! is a real-world version of the game, that is never precisely described in the books. Er, as far as I remember :)
Re:The Board Game at the Heart of Viking Culture by zjacobi on Wednesday June 27, 2018 @03:11PM (#17410911)
I've played it a few times with friends and I have to agree the defenders have an easier time (although it certainly feels more intimidating to play the defender). I think defenders heavily benefit from most people's familiarity with chess. It's very easy to distract someone with pieces they can capture, then sneak your king out the side.