Author Topic: Hnefatafl: The Viking Board Game (download on page 7)  (Read 34227 times)

0 Members and 2 Guests are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #60 on: April 03, 2010, 03:57:06 pm »
Looks great. :)

I like the changes you made to the readme since I last checked it out. The BG color is definitely more fitting.

I'm wondering if this will also be hosted in Omnimaga's downloads section. Might make it easier to find, for those who don't regularly browse the forums.
yeah I thought about it, it will be much easier to find. I don't know yet for the AI version, it would most likely need to include the multiplayer one, contain code from it or be by an Omni staff, but since jsj is working on it it will most likely land in there. I might upload the multiplayer version earlier, though.

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #61 on: April 03, 2010, 05:32:37 pm »
Okay, seriously, I'm working on it. I intend to put in the menu for the custom rules, make A.I., save games, etc.
Also, I changed the board design a bit, and the king piece. Here's the screenshot of the board.
Tell me if you like it. If many like the older one, then it's not hard to change it back^^

Also, there's the screenshot of the menu.

Edit: lol I just found the spelling error on the Hnefatafle rules... there's not supposed to be extra 'e' at the end. Just changed it^^
« Last Edit: April 03, 2010, 05:33:55 pm by jsj795 »


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #62 on: April 03, 2010, 05:37:31 pm »
I love how this looks like, nice job guys so far :)


Offline Zera

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 737
  • Rating: +82/-7
  • Monochrome Artisan
    • View Profile
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #63 on: April 03, 2010, 06:29:40 pm »
I originally included dots along the board grid to help the player discern each tile, but AP left them out for some reason. I assume there was probably a reason for that. Not really sure. Either way, I do like that you added them back in. (ableit, in a slightly different fashion than what I originally produced)

I can't say I'm too fond of the new king design, though. In games where the pieces weren't represented as actual figurines, I've noticed the king's piece usually had a cross to differentiate him from the other pieces. I tried to follow in that method, but it's difficult to produce something very detailed with such a small resolution. On the other hand, your version does seem easier to discern than mine.

I attached some of the working ideas I had for an A.I. script, if this could help in any way. I was thinking one way to handle the A.I. is to give it a list of various moves. It would cycle through this list, from priority of first entry to last, until it came across a move that could be executed; then it would execute it. If it couldn't execute any of the moves on the list, then it would select a "random" piece and move it to a "random" location. (within the confines of the game's rules, of course) The moves list I created details what I think would be the most essential moves a player could make in order to win the game. It would create a very deterministic A.I., and the A.I. would make a few dumb moves or set itself up for a capture. It would be *some* form of A.I., though.

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #64 on: April 03, 2010, 07:41:48 pm »
I made the king like that, because when I first played it, it looked more like black's piece, not white's. So I took out two pixels... and thanks for the AI text! It will help me immeasurably!
After researching, I intend to include these custom rules:
Quote
Castle- Affects the nature of the central square
King Capture- Affects how the king is captured, either with 2 pieces or 4 pieces
King Strength- Either Armed or Weaponless
Shieldwall
# of rounds


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline Zera

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 737
  • Rating: +82/-7
  • Monochrome Artisan
    • View Profile
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #65 on: April 03, 2010, 11:41:15 pm »
I haven't heard of the first two rules. The "armed king" rule, to my knowledge, is just a house rule someone else created which doesn't fall into common use.

Just me, personally - I would only include the shieldwall on / off rule, the king movement rule, (king needs to make two moves in order to reach a burg) and the round type. (either a single round, or require players to switch sides and play a second round) The others would just be too uncommon. If you're taking over the code, though, what you include is your prerogative.

If you want to do some testing on the A.I., I can help with that, since I'm very familiar with the game. The notes I included earlier are just some essential moves I've thought of. If we get into testing, I might be able to examine the A.I.'s behavior and define some additional movement rules. It's kind of hard to create rules that would allow the A.I. to actively capture opponent pieces, but some of the rules I already included will capture according to a few common exploits and oversights that most human players would set themselves up for.

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #66 on: April 04, 2010, 09:08:32 am »
oh okay^^ but I don't get the king movement rule, what do you mean by making two moves in order to reach a burg? isn't the king automatically making two moves to get there? like, going all the way to the edge, and then corner?


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline Zera

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 737
  • Rating: +82/-7
  • Monochrome Artisan
    • View Profile
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #67 on: April 04, 2010, 11:11:48 am »
This rule means that the king must first position himself next to the burg, as opposed to moving directly into it in a single turn - that is, as he is moving toward the burg, he must stop immediately next to it and end his turn. On white's next turn, he can move into it and end the game.

This rule tries to balance the strategy between attackers and defenders, as it's fairly simple for the king to find a safe, unobstructed route of escape.

As for the movement you detailed above - the king's movement is like that of any other piece: He can move any number of spaces in any straight direction. He does not need to leave the board in any specific number of moves. (that is, he doesn't have to shoot straight for the boundary of the board, and then a burg) The king can, in fact, be chased all around the board and back while he's attempting to escape.

By the way - if you want to get in touch with me about any specific rules or details, you can always hit me up for a PM conversation. I'm also on AIM, Yahoo, Google Talk and IRC.

EDIT: Upon further research, I would give more consideration to the "unarmed king" rule, as well. Apparently, there are a sizable number of sources that know about this rule. It even appears in some computerized versions of the game.
« Last Edit: April 04, 2010, 11:15:37 am by Zera »

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #68 on: April 04, 2010, 06:40:33 pm »
Oh okay! Those won't be too hard to implement^^

The rules that I wanted implement was from the java version of this game. So I figured it was variant in many sources, but apparently not... And I'll implement the unarmed king rule. They are not that hard to do.

I think I'll finish this either by tomorrow or tuesday lastest. Wait... I have to make the AI and test it, so it might go upto wednesday.


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #69 on: April 04, 2010, 06:44:11 pm »
Good luck! I hope you don't have too much speed problems :)

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #70 on: April 04, 2010, 08:22:29 pm »
Okay, I got the "King's Escape" (meaning the king has to take 2 turns to get to burg) and the weaponless king implemented. When I finish the king's capture along with shieldwall and the AI, it is pretty much done.

Also, I implemented the saving feature. Coming along very nicely, way better than I expected :)


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #71 on: April 04, 2010, 09:00:51 pm »
glad to hear it's going nicely :), keep up the good work :)

Offline Zera

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 737
  • Rating: +82/-7
  • Monochrome Artisan
    • View Profile
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #72 on: April 04, 2010, 11:28:10 pm »
Good work, indeed. I didn't expect you to put this much detail into it. :)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #73 on: April 05, 2010, 12:55:53 am »
So this is pretty off topic (but related to the game) but how do you even pronounce it? I skimmed and didn't see anything so sorry if I missed it :P
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hnefatafl: The Viking Board Game (download on page 4)
« Reply #74 on: April 05, 2010, 01:04:27 am »
It's pronounced like Hentai-Fatal I think