Jump to content

  • Log In with Google      Sign In   
  • Create Account


zooom18

Member Since 25 Feb 2013
Offline Last Active Jun 10 2014 07:29 PM
-----

Posts I've Made

In Topic: Thoughts on the best designs for a TCG/CCG mobile game

30 August 2013 - 08:35 AM

Thank you for the replies, I've taken a step back and come up with a list of possible abilities cards will have. With that in mind I figured that a simple State Machine would work. Part of the reasoning behind using States is because every card in play might need to know every other card in play to be able to apply affects. Most cards will either affect the health, damage, fatigue (summoning sickness), or whether or not a player can attack certain cards (protection). The basic stats are just components that I can add/remove from a card and the total is just the sum of all its components. For example, I would play a card and add a component with 10 health, then if it takes damage I would add a component with -3 health, then I have a method to get the current health of a card which sums all the health components it has. That way, if I have a buff card enter play it can add +5 health but if the buff card is killed it just cycles through the other cards and removes it's +5 component from any card that had it.

 

So far I like this implementation because if I ever want to make a game altering card with an ability: 'time travel' - reset the game back one turn, it should be very possible with saving states. Although I'm not 100% sure how it would be implemented, I don't think it would require a complete re-write.


In Topic: deleted

18 March 2013 - 06:11 PM

I'm leaning heavily towards Austin right now, does anyone have any other suggestions?


In Topic: deleted

14 March 2013 - 03:32 PM

holy crap phoenix is cheap

 

a 1 bed for $370

http://www.apartments.com/Arizona/Phoenix/Desert-Sands-Apartments/69008?searchCriteria=elrrQT0FPSq2zSYeqfemLJ7n0NgcTakYS/c5x0tOo4tbVnCSDpfMraJBxf/MRVlUINXIzDrwb487OPKA7r1WQ8eWrDxIvXjmZsfERoiAfnbxaL/9MmBHuGhpOWs-|VLZqvTi1McpPiBnJs-|-|lFgLShWGfPtqT7XdyLIqLhWkOhm0fNYbAJFDOopMt7N5o4/d6&sid=b312a17f-315a-4dde-b693-89cdb402c6fb&stype=CityStateOrZip&match=4


PARTNERS