Recommend
175 
 Thumb up
 Hide
452 Posts
1 , 2 , 3 , 4 , 5  Next »  [19] | 

Terra Mystica» Forums » General

Subject: Play TM against AI opponents in your browser! rss

Your Tags: Add tags
Popular Tags: solo_rules [+] terra_mystica [+] [View All]
Lode
msg tools
badge
Avatar
mbmbmb
I programmed an implementation of Terra Mystica in JavaScript. This allows playing a very fast game against AI opponents in your browser, to try out strategies etc....

It's here:

http://lodev.org/tmai/

It's still in alpha stage, and any feedback to improve it is welcome. Does it work for you (in what browser)? Did you encounter any bugs? Or do you have any suggestions? If so, please let me know.

In any case, please enjoy it!
163 
 Thumb up
105
 tip
 Hide
  • [+] Dice rolls
Ivan Pratama
Indonesia
Yogyakarta
DIY
flag msg tools
badge
Avatar
mbmbmbmbmb
How do you sacrifice powers? (permanently lose power in order to move power to bowl 3),
Also it seems i can't find the round marker/ round bonus.

Anyways good job on implementing this. looking forward to the gold version.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Sutanto Joji
Indonesia
Jakarta
Jakarta
flag msg tools
mbmbmb
great implementation! Appreciate it.

I can't seem to find the accumulated coin bonus on the pass token.


additionally, when I tunnel dig, the targeted hex doesn't get converted.
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Sutanto Joji
Indonesia
Jakarta
Jakarta
flag msg tools
mbmbmb
perapera wrote:
How do you sacrifice powers? (permanently lose power in order to move power to bowl 3),
Also it seems i can't find the round marker/ round bonus.

Anyways good job on implementing this. looking forward to the gold version.


it's on the "burn" action, located on "Convert:", under the power action.

you need to execute it each time you need to burn. (different from juho, where you only state burn x, here you need to burn burn burn burn)
3 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Thornsen
United States
Nottingham
Maryland
flag msg tools
designer
Avatar
mbmbmbmbmb
it looks like the game is trying to cost me 5 coins to upgrade my shovel track as the Halflings. Shouldn't it only cost 1 coin?

I needed an image of the race board to know the costs of the various buildings. Not sure if you can add that information on the screen somewhere.
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Tim Tarnow
United States
Denver
Colorado
flag msg tools
badge
Avatar
mbmbmbmbmb
Darklings priest to spade doesn't give you 2 vp in the program.
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
"2 Spades" Power Action
The official rules of "2 Spades" Power Action say "If you only need one Spade to transform a Terrain space into your Home terrain, you may spend the second Spade on another Terrain space."

How do you do it?
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Ivan Pratama
Indonesia
Yogyakarta
DIY
flag msg tools
badge
Avatar
mbmbmbmbmb
Ah i get it, when you picked 'random' games, the bonus tile does not appear.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Lode
msg tools
badge
Avatar
mbmbmb
Thanks for the feedback

And thanks for finding the bugs, I'll fix them soon.

BUGS so far (X = fixed, hard refresh to ensure to have the fix)
[X] no 2 VP for darklings digging with priest
[X] no coins on leftover bonus tiles
[X] wrong digging upgrade cost for halflings
[X] that there are no round tiles on a "Random" game is a weird bug as well
[X] if you use the double dig action, it does not allow you to click on a different tile to spread the dig if needed
[X] clicking on an action in the beginning of the game while it asks to pick your initial bonus tile, results in inability to pick the bonus tile and breaks the game
[ ] possible wrong end game scoring for the cult tracks (I couldn't reproduce this)
[X] improve the UI: add building costs somewhere
[X] some low hanging fruits to make the AIs better
[X] better initial dwelling placement for the AIs
[X] dwelling, trading post and SH/SA pass VP bonus each gave one point too much per building
[X] does not allow to pick town tile if you upgrade to SA making the town size 6, and take TW6 tile
[X] resources of town tile bonus can be used before actually forming the town
[X] allow to see if AI's have taken their special action
[X] reduce the amount of confusion with when to click what by hiding action buttons when not needed
[X] avoid yellow text on white background for yellow races
[X] AI with fakirs sometimes attempts to carpet without actual action
[X] also had to choose pass bonus tile in last round
[ ] AI somtimes places useless bridge
[X] in beginner game, for picking bonus tiles, it begins with the second last instead of the last player
[ ] the AI's can still be improved a lot on using the cult tracks, do that
[X] hide the action buttons when something else (like taking a tile or clicking the map) is expected of the human player, and make more clear what is expected
[X] cult resource bonus of next round instead of current round was given
12 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Lode
msg tools
badge
Avatar
mbmbmb
> Do you have permission from the publisher?

Yes, I emailed them with the form on the official Terra Mystica website, and they replied that it is ok for me to make my website.

I have been very conservative with using the word "Terra Mystica" on the website however, just in case it's a trademark infringement. If it is ok to use the name somewhere (and give credit to the designers and publisher), I would
23 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Fabian L
Germany
Berlin
Berlin
flag msg tools
publisher
Avatar
mbmbmbmbmb
I'm excited for when you get the kinks worked out! I find the interface a little difficult, but I think this could be a great way to play the actual game with just two players (or even solo) by adding a couple AIs to fill the map out a bit more.

Great stuff!
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Doug Adams
Australia
Oakleigh
Victoria
flag msg tools
badge
Polynesia
Avatar
mbmbmbmbmb
Just played a blazing game of witches vs cultists. Fantastic effort!

Is there any way to review the AI moves? They play fast
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Chasseur d'Ours
France
flag msg tools
mbmbmbmbmb
Ready for a pretty IOS version
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Matthias Adler
Germany
flag msg tools
mbmbmbmbmb
Addon to BUGS:

- The bonus tiles for points on passing for dwellings and trading posts note and give one point too much each
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Lode
msg tools
badge
Avatar
mbmbmb
dougadamsau wrote:
Just played a blazing game of witches vs cultists. Fantastic effort!

Is there any way to review the AI moves? They play fast


Yes there is, if you scroll down, at the bottom, there is a log of all moves. The top entry is the most recent one.
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
jon dee
Denmark
Unspecified
Unspecified
flag msg tools
looks like there is some problem around upgrading to sanctuary and chosse the favor18 (size 6 town combined with build on 3 spaces) didn't recognice a town- increasing it to power7 size4 didn'y help afterwards.
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Tables
United Kingdom
Coventry
flag msg tools
badge
Avatar
mbmbmbmbmb
Seems really cool. I came across a bug though. I was playing 4P, on turn 3. all the AIs had passed. I decided to pass, but it wouldn't let me. Hitting Pass asked me to choose a bonus tile, okay, but after choosing the bonus tile, pressing execute didn't do anything. Trying other actions I couldn't take was causing (valid) error messages. I eventually tried refreshing, but that loses everything (unsurprisingly).
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Helge Ostertag
Germany
Hofheim
flag msg tools
designer
Avatar
mbmbmbmbmb
eaglewing wrote:
Addon to BUGS:

- The bonus tiles for points on passing for dwellings and trading posts note and give one point too much each


dwelling should be 1vp each, trading post should be 2 vp each.

Very nicely done, even though the AI isn't that strong so far:

Game 1 over
Final scores:
human (chaos magicians): 145
AI4 (mermaids): 77
AI1 (alchemists): 59
AI3 (dwarves): 59
AI2 (fakirs): 55

Game 2 over
Final scores:
human (nomads): 124
AI4 (cultists): 83
AI1 (witches): 82
AI3 (engineers): 69
AI2 (darklings): 68

Game 3 over
Final scores:
human (mermaids): 159
AI3 (engineers): 77
AI1 (halflings): 75
AI2 (witches): 75
AI4 (giants): 68

Game 4 over
Final scores:
human (fakirs): 101
AI3 (cultists): 89
AI1 (auren): 85
AI2 (alchemists): 72
AI4 (chaos magicians): 64

Game 5 over
Final scores:
human (giants): 158
AI2 (engineers): 89
AI1 (nomads): 66
AI4 (swarmlings): 66
AI3 (darklings): 60


Another bug:
I was able to use the workers I just gained for the towntile to build the town - actually it should have said "can't afford action", because I didn't change a priest into a worker in the first place...


It would be nice to see, what special actions other players still can do.
7 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Fabian L
Germany
Berlin
Berlin
flag msg tools
publisher
Avatar
mbmbmbmbmb
I think this game screams for an awesome (PlayDek?) iOS implementation! Or maybe even Steam??
5 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Allan Clements
Norway
Oslo
flag msg tools
badge
Turns out Esseb did touch the flag. Don't tell him I said so though.
Avatar
mbmbmbmbmb
I don't think most cult bonuses work, it updated my income to say I was going to get 8 workers (4 or so from the cult bonus of that round) but when next turn came my workers were only at 5.

Digging bonuses definitely work, but some of them don't
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Wayne Louvier
United States
Anaheim
California
flag msg tools
badge
Avatar
mbmbmbmbmb
Bug (or operator error): Refused to convert workers into coins. Had 6 workers, 1 coin. Clicked on w->c and then execute. Generated an error.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Lode
msg tools
badge
Avatar
mbmbmb
I fixed a lot of the reported bugs, thanks for the testing!

About getting an error when converting errors: when you press Execute, there has to be a true action in your sequence. For example you can convert workers to coins and then build a dwelling, then press Execute. Pressing execute means taking a whole turn.

By the way, I don't have IE available to test on, did anyone see it working in IE? Thanks!
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Er heisst
Germany
flag msg tools
Avatar
mbmbmbmbmb
I can't do the final pass in round 6. The program requires me to choose a new bonus tile (which it shouldn't) and then does nothing when I try to execute the pass move.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Mark Thomas
Australia
VIC
flag msg tools
badge
Avatar
mbmbmbmbmb
Hello,

This a great program you have made, helps with strategies. I found a bug, when playing the alchemists in a 4 player game I could not upgrade digging no matter how many resources I have. It says I am at Max digging. Thanks,

Mark.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Alex Peters
Netherlands
Brunssum
flag msg tools
badge
Avatar
mbmbmbmbmb
The end game scoring on the cult tracks is wrong. The fire cult gives no points at all. The others give me 8 points irrespective of my position on them. Otherwise great effort and keep up the good work.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
1 , 2 , 3 , 4 , 5  Next »  [19] | 
Front Page | Welcome | Contact | Privacy Policy | Terms of Service | Advertise | Support BGG | Feeds RSS
Geekdo, BoardGameGeek, the Geekdo logo, and the BoardGameGeek logo are trademarks of BoardGameGeek, LLC.