Fate

by Malarious

Back to Mechanic's Corner.

Malarious2010-06-01 08:46:12
Technically this isnt based on a client, as it is written in Java, but making a project out of it to learn some things about Java. Figured I would post updates and take opinions, suggestions, thoughts, and assistance if wished.

Current status:

player object has an issue sorting cards (when you play a card it should move all cards left and null the last ones which will no longer display)
Card objects are fine
Deck object is shuffling, dealing, and all other functions working normally.

This first version is using Strings for the name because images were being a major hassle, want to make sure the whole thing works first.

The AI for comp will come later but the general logic behind it will be at expert it will evaluate the value of any given card in any given square. Middle difficulty will take educated guesses. Nooblet will be mostly random.
Vesar2010-06-01 12:27:30
QUOTE (Malarious @ Jun 1 2010, 03:46 AM) <{POST_SNAPBACK}>
Technically this isnt based on a client, as it is written in Java, but making a project out of it to learn some things about Java. Figured I would post updates and take opinions, suggestions, thoughts, and assistance if wished.

Current status:

player object has an issue sorting cards (when you play a card it should move all cards left and null the last ones which will no longer display)
Card objects are fine
Deck object is shuffling, dealing, and all other functions working normally.

This first version is using Strings for the name because images were being a major hassle, want to make sure the whole thing works first.

The AI for comp will come later but the general logic behind it will be at expert it will evaluate the value of any given card in any given square. Middle difficulty will take educated guesses. Nooblet will be mostly random.


I'm going to go out on a limb here and say I have no idea what you're talking about... what is Fate? A card game? What does that have to do with Lusternia?
Saran2010-06-01 12:36:44
QUOTE (Vesar @ Jun 1 2010, 10:27 PM) <{POST_SNAPBACK}>
I'm going to go out on a limb here and say I have no idea what you're talking about... what is Fate? A card game? What does that have to do with Lusternia?


CODE
help fate game
17.11 THE GAME OF FATE

THE GAME OF FATE
----------------
The game of Fate is adapted from a game played by those in the House of
Prophets before the fall of the Celestine Empire. In the traditional game,
five cards are dealt from a Tarot deck, and opponents take turns placing them
upon a 3x3 grid marked before them. The progression of cards and winner were
taken to be a sign of Fate, and so the game was named. In modern times, many
variations of the deck have been developed for use in the game.

Each card in a Fate deck is assigned a numerical value, which is displayed on
the corners of the card. When a higher valued card is placed adjacent to a
lower valued card, control of the lower card shifts to the person who played
the higher valued card. The person who commands the most cards when the 3x3
grid is full is declared the winner.

To play a game of Fate, you must have a set (or deck) of Fate cards before
you. You may play against the magical enchantment of the deck itself, or
another person.

The commands to play a game of Fate are:

FATE LIST                          List the sets of Fate cards
                                             available to you, or a summary of
                                             the cards in a particular set.

FATE VIEW                          View the cards in a set.

FATE CHALLENGE Challenge another
                                             player or start a game against the
                                             enchanted deck. You can optionally
                                             specify which set of cards to use
                                             and a wager (if you are playing
                                             against someone else) from 1 to
                                             40,000 gold sovereigns.

FATE ACCEPT                                  Accept a player's challenge to
                                             play a game of Fate. You must
                                             have any gold to be wagered in
                                             your inventory.

FATE VIEW HAND|GAME|ALL                      View your hand of up to five
                                             cards, the 3x3 grid of the game,
                                             or both.

FATE VIEW                              Alternately, you can specify which
                                             game to view by using the item
                                             number of its deck.

FATE PLAY TO Play a card from your hand to the
                                             grid. Cards in your hand are
                                             labeled 1 to 5 and the grid
                                             positions are labeled 1 to 9.
Vesar2010-06-01 21:04:24
Ah ha! Thanks! I had no idea that existed.
Xenthos2010-06-01 22:11:43
QUOTE (Vesar @ Jun 1 2010, 05:04 PM) <{POST_SNAPBACK}>
Ah ha! Thanks! I had no idea that existed.

It is, unfortunately, a bit over-priced for a game. After the initial rush of people buying it the craze died down and I don't think there have been many sales of it in recent history.
Noola2010-06-01 22:42:27
Where do you get the cards?
Sylphas2010-06-01 22:45:37
QUOTE (Noola @ Jun 1 2010, 06:42 PM) <{POST_SNAPBACK}>
Where do you get the cards?


125db for a deck. Or do the Malacoda quest to play a slightly modified form of it against (terrible) AI.