Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: 1 ... 3 4 [5] 6 7  All

Author Topic: Play Temporum online, single-player against AI!  (Read 42561 times)

0 Members and 1 Guest are viewing this topic.

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #100 on: February 08, 2015, 07:06:54 pm »
+4

Age of Cybernetics (Time IV Zone) is done!! I'm excited about this one; I haven't played it much in person yet, and it seems like it could lead to craziness. Also, I made a pretty fundamental change to the way cards as objects are handled, so there's a chance some stuff that used to work is buggy now. It seems to work fine, but I haven't tested every zone/card with the new code.

*Edit* Age of Cybernetics is now optional, as per the actual card text. Which makes me ask.. Donald, is there a particular reason that Age of Cybernetics, Cats, & Toys are "may"? As already discussed, there's rare edge cases where you would want to visit the zone and just do nothing at all that turn, but they are so very rare... it just seems like the cards would have been simpler to make those types of effects mandatory.

Another note... there's a known bug with Age of Cybernetics that should come up in a game basically never. If you copy Investments or Treasure Map, and then discard the copy for the effect, it doesn't revert back to the original card. So if you actually go through the whole deck after doing so, and re-draw the original card, you'll draw an additional Investments/Treasure Map instead. Not worth fixing at the moment since it's just so rare.
« Last Edit: February 08, 2015, 09:57:40 pm by GendoIkari »
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

LastFootnote

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7495
  • Shuffle iT Username: LastFootnote
  • Respect: +10721
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #101 on: February 08, 2015, 08:14:57 pm »
+1

Age of Cybernetics (Time IV Zone) is done!! I'm excited about this one; I haven't played it much in person yet, and it seems like it could lead to craziness.

Awesome work!
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #102 on: February 08, 2015, 10:46:33 pm »
+2

Information Age (Time IV Zone) is done!

Minor known bug: say you have 4 crowns in I and III. You visit Information Age which sends you to III. If your action in III causes you to move a crown from I to II (so now you only have 3 crowns in I), you will still visit I, even though you shouldn't. Conversely, if your action in III causes you to move a 4th crown to II, you won't visit II. It's calculating which zones you should visit up-front, instead of after each zone is visited. Will fix later.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

LastFootnote

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 7495
  • Shuffle iT Username: LastFootnote
  • Respect: +10721
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #103 on: February 08, 2015, 11:44:30 pm »
+2

There's an issue with Alien Contact. I visited it and drew Inventor, but when I tried to score it, I got:

Code: [Select]
You visited Alien Contact
You drew Inventor
You paid $NaN to score undefined
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #104 on: February 09, 2015, 12:40:15 am »
+2

There's an issue with Alien Contact. I visited it and drew Inventor, but when I tried to score it, I got:

Code: [Select]
You visited Alien Contact
You drew Inventor
You paid $NaN to score undefined

Thanks. Must be related to the sweeping changes I made. Will fix tomorrow.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

Donald X.

  • Dominion Designer
  • *****
  • Offline Offline
  • Posts: 6357
  • Respect: +25672
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #105 on: February 09, 2015, 07:00:58 am »
+2

There's an issue with Alien Contact. I visited it and drew Inventor, but when I tried to score it, I got:

Code: [Select]
You visited Alien Contact
You drew Inventor
You paid $NaN to score undefined
Age of Toys also crashes with NaN, regardless of the card played.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #106 on: February 09, 2015, 09:13:52 am »
0

So because Predict the Future and Step on a Butterfly are both "At the end of this turn", I'm pretty sure there's no way to change history in the middle of a turn. But just so that the program handles that possible situation correctly; what should Age of Information do if your visit to Time III caused a different Time III to become real? A literal reading of the card would suggest that you now get to visit the new Time III Zone, because it is "a Zone you have not visited yet this turn", and you have 4 crowns there. But it also seems more likely that the intent was that you only get to visit each time at most once with Information Age.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #107 on: February 09, 2015, 11:28:33 am »
+1

Age of Toys, Alien Contact, and Information Age are all fixed now.

The coding of Information Age currently assumes that the literal wording on the card is correct, even though my guess is that the intent is that you can never visit the same time twice with it. Also, it never matters for now because no card allows History to be changed in the middle of a turn. But if you visited Time III as part of Information Age, and by doing so played a card that made a different Time III real, you would then visit the new Time III.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #108 on: February 09, 2015, 06:16:25 pm »
+4

Tired of being constrained to visiting realities that actually exist? Well look no further! Anubis Statuette is now implemented. Have fun visiting locations that don't even exist!

This means that all 30 player cards are done now! No longer can people accuse me of not playing with a full deck!
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

Ozle

  • Cartographer
  • *****
  • Offline Offline
  • Posts: 3625
  • Sorry, this text is personal.
  • Respect: +3360
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #109 on: February 09, 2015, 06:19:38 pm »
+5



I'm sorry, you are going to have to take this down.

Jay has just sold the online rights to an investment company who are going to turn it into a multi platform offering with Next Gen console support.

Please don't be too upset, it was to have it while it was free, and it will probably be better than the replacement.
Logged
Try the Ozle Google Map Challenge!
http://forum.dominionstrategy.com/index.php?topic=7466.0

Sullying players Enjoyment of Innovation since 2013 Apparently!

liopoil

  • Margrave
  • *****
  • Offline Offline
  • Posts: 2587
  • Respect: +2479
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #110 on: February 09, 2015, 06:49:03 pm »
0



I'm sorry, you are going to have to take this down.

Jay has just sold the online rights to an investment company who are going to turn it into a multi platform offering with Next Gen console support.

Please don't be too upset, it was to have it while it was free, and it will probably be better than the replacement.
Stop it, that's not funny.
Logged

Donald X.

  • Dominion Designer
  • *****
  • Offline Offline
  • Posts: 6357
  • Respect: +25672
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #111 on: February 09, 2015, 07:20:56 pm »
+2

So because Predict the Future and Step on a Butterfly are both "At the end of this turn", I'm pretty sure there's no way to change history in the middle of a turn. But just so that the program handles that possible situation correctly; what should Age of Information do if your visit to Time III caused a different Time III to become real? A literal reading of the card would suggest that you now get to visit the new Time III Zone, because it is "a Zone you have not visited yet this turn", and you have 4 crowns there. But it also seems more likely that the intent was that you only get to visit each time at most once with Information Age.
I always change history after other stuff to avoid confusion, but yes as written Information Age would visit the new real Time III. That wasn't intended but it follows from the card text and doesn't matter.
Logged

Donald X.

  • Dominion Designer
  • *****
  • Offline Offline
  • Posts: 6357
  • Respect: +25672
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #112 on: February 09, 2015, 07:21:28 pm »
+8



I'm sorry, you are going to have to take this down.

Jay has just sold the online rights to an investment company who are going to turn it into a multi platform offering with Next Gen console support.

Please don't be too upset, it was to have it while it was free, and it will probably be better than the replacement.
Stop it, that's not funny.
Yeah, don't toy with my emotions by pretending that Temporum is a big hit.
Logged

Donald X.

  • Dominion Designer
  • *****
  • Offline Offline
  • Posts: 6357
  • Respect: +25672
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #113 on: February 09, 2015, 07:27:45 pm »
+1

Tired of being constrained to visiting realities that actually exist? Well look no further! Anubis Statuette is now implemented. Have fun visiting locations that don't even exist!

This means that all 30 player cards are done now! No longer can people accuse me of not playing with a full deck!
I went to Warm Globe. Another player played Anubis Statuette. After finishing Warm Globe, it had me pick where to go, and then I went there, not them.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #114 on: February 09, 2015, 10:32:56 pm »
+2

Tired of being constrained to visiting realities that actually exist? Well look no further! Anubis Statuette is now implemented. Have fun visiting locations that don't even exist!

This means that all 30 player cards are done now! No longer can people accuse me of not playing with a full deck!
I went to Warm Globe. Another player played Anubis Statuette. After finishing Warm Globe, it had me pick where to go, and then I went there, not them.

Oh right, the game needs to act different when it's an AI that played Anubis Statue. So it would have been broken however the computer played Anubis, not just from Warm Globe. That part is fixed.

The Warm Globe part, man that's a mess. So I'm guessing that if more than one player plays an Anubis during Warm Globe, then nothing will happen until Warm Globe is finished, at which point all Anubii will be resolved? Starting with the current player and going in order? Allowing Anubis to happen for the player whose turn it isn't will be a little tricky; allowing multiple to happen during the same end-of-zone timing will be ever trickier.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #115 on: February 09, 2015, 10:55:59 pm »
+1

Bah, this got me thinking; there's other rare-but-broken stuff. So it's not just Warm Globe. Communist Utopia and Information Age could allow the same player to play 2 Anubis Statuettes on the same turn. Currently you would only get the benefit from one. Also, you could play 2 Predict the Futures, or 2 Step on a Butterflies. Again, only 1 would actually take effect.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

Donald X.

  • Dominion Designer
  • *****
  • Offline Offline
  • Posts: 6357
  • Respect: +25672
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #116 on: February 10, 2015, 12:39:54 am »
+1

So I'm guessing that if more than one player plays an Anubis during Warm Globe, then nothing will happen until Warm Globe is finished, at which point all Anubii will be resolved? Starting with the current player and going in order?
Yes, that's just what happens. And one of those players can go to Information Age or Warm Globe to pile on more stuff. The limit isn't two either, due to Industrial Revolution.
Logged

A Drowned Kernel

  • 2015 World Champion
  • *
  • Offline Offline
  • Posts: 1067
  • They/Them
  • Respect: +1980
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #117 on: February 10, 2015, 06:20:11 pm »
0

I just played a game where the AI changed history to put me in Robot Uprising when I was 1 crown away from winning. I was almost certainly going to win that turn anyway so maybe it was just spinning its wheels.
Logged
The perfect engine
But it will never go off
Three piles are empty

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #118 on: February 10, 2015, 08:30:26 pm »
+3

I just played a game where the AI changed history to put me in Robot Uprising when I was 1 crown away from winning. I was almost certainly going to win that turn anyway so maybe it was just spinning its wheels.

Yeah intelligent History-changing is not implemented yet; it's just random. But that's coming soon.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9187
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #119 on: February 10, 2015, 08:39:55 pm »
+1

Hahaha, Age of Cybernetics is hilarious.  I draw 3 cards when I play a card and cards cost me $6 less to score.  My scored cards also score an extra *, but I did not duplicate that one.

It would be nice to know how much money I'd get for duplicating one of my perpetual cards though.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #120 on: February 10, 2015, 08:53:49 pm »
0

Hahaha, Age of Cybernetics is hilarious.  I draw 3 cards when I play a card and cards cost me $6 less to score.  My scored cards also score an extra *, but I did not duplicate that one.

It would be nice to know how much money I'd get for duplicating one of my perpetual cards though.

Good point. I wonder if the interface would fit just fine if I simply draw out each "in play" card instead of just adding the descriptions.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

eHalcyon

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8689
  • Respect: +9187
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #121 on: February 10, 2015, 09:01:09 pm »
+1

Hahaha, Age of Cybernetics is hilarious.  I draw 3 cards when I play a card and cards cost me $6 less to score.  My scored cards also score an extra *, but I did not duplicate that one.

It would be nice to know how much money I'd get for duplicating one of my perpetual cards though.

Good point. I wonder if the interface would fit just fine if I simply draw out each "in play" card instead of just adding the descriptions.

You could just put it in a tooltip, with the card name and money value.
Logged

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #122 on: February 10, 2015, 09:06:30 pm »
0

Hahaha, Age of Cybernetics is hilarious.  I draw 3 cards when I play a card and cards cost me $6 less to score.  My scored cards also score an extra *, but I did not duplicate that one.

It would be nice to know how much money I'd get for duplicating one of my perpetual cards though.

Good point. I wonder if the interface would fit just fine if I simply draw out each "in play" card instead of just adding the descriptions.

You could just put it in a tooltip, with the card name and money value.

Yes, that's the other option. If having the full card fits ok, that would be better. It's just hard to know what "fits" for most people, because I run 2 monitors at 2560x1440.

*Edit* The tooltip version is done; since that only took a minute.
« Last Edit: February 10, 2015, 09:13:45 pm by GendoIkari »
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 9701
  • Respect: +10741
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #123 on: February 10, 2015, 09:29:52 pm »
+4

Nuclear Wasteland is there now! That's all the Time IV zones now. Only 3 Zones (and no player cards) remain:

Police State: Easy to implement, but if I implement it with the current AI, then you will be able to simply lock the AI down in the Police State since it doesn't know how to visit Time IV. To allow him to visit Time IV means both updating every Time IV zone that provides a choice to handle the AI being there, and also having the AI know when it's a good idea to go to Time IV in the first place.

Industrial Revolution: Sounds easy, doesn't it? But it's a programming nightmare. This card breaks the Lose Track rule. After you've played a card, who knows where it is. In the discard? In play? Back in your hand? Industrial Revolution simply can't find the card to return it to your hand; it doesn't know where the card is; it doesn't even know what card to look for. All it knows is that some card was played. I may have to update every single player card to handle what to do when it is played from Industrial Revolution.

Age of Cults: Probably not as hard as it sounds; I'll probably do this next, then move on to Donald's "smart History changing" AI heuristic.
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0

A Drowned Kernel

  • 2015 World Champion
  • *
  • Offline Offline
  • Posts: 1067
  • They/Them
  • Respect: +1980
    • View Profile
Re: Play Temporum online, single-player against AI!
« Reply #124 on: February 10, 2015, 10:25:53 pm »
+1

Man, I didn't even notice that the AI was never going to Age IV. I'll probably learn really bad habits if I play against it knowing that...

EDIT: Oh, and you're incredibly amazing for putting this together.
Logged
The perfect engine
But it will never go off
Three piles are empty
Pages: 1 ... 3 4 [5] 6 7  All
 

Page created in 0.111 seconds with 21 queries.