About Our Project

The intelligent system for turn based games are very common nowadays. Most turn based game developer companies design such a system. On the other hand there is not many instances of learning system for turn based games which are partially observable. Observable means all the game environment is open to each player. Tile and card games are partially observable. Players only know the cards or tiles which are in their hands and thrown in previous turns.

Gambler Agent will be implemented for a card game ‘King’ and implement a learning agent for that game. The game without learning system will only become a multiplayer game.

Gambler Agent will be available for internet users. All web browsers which support Flash is appropriate for game environment. Because of Gambler Agent is a learning a system, it is going to play better in the process of gaining experience by practising.

What is King?

King is an example of partionally observable games. King is played by four people and no teaming is allowed. At the end of the game players with positive points are considered as winners. There are six type of negative hands which are explained below :

  • No tricks – The aim is not to win tricks. The dealer plays any card and all the other players must follow that suit unless they do not hold any card of that suit. The winner of the trick is the highest card of the suit played at the start of the trick or the highest trump, if any was declared for that hand. The winner restarts play with any card and so on until all the cards have been played. Then, tricks of each player is counted. Each trick is worth 50 negative points and the total for the hand is 650 negative points.
  •  

  • No Hearts – The aim is not to win tricks with Hearts. A player must not start a trick with Hearts unless he holds no other suit. If a player cannot follow suit he can then play any card, including Hearts. Each Hearts card is worth 30 points and the total for the hand is 390 negative points.
  •  

  • No Queens – The aim is not to win tricks with Queens. Each Queen is worth 100 points and the total for the hand is 400 negative points.
  •  

  • No Kings or Jacks - The aim is not to win tricks with Kings or Jacks. Each King and Jack is worth 60 points and the total for the hand is 480 negative points.
  •  

  • No King of Hearts – The aim is not to get the King of Hearts. A player must not start a trick with Hearts unless he holds no other suit. Important: The King of Hearts must be played at the first legal opportunity, meaning when the holder cannot follow suit or at the first time Hearts is used to open a trick. The King of Hearts is worth 320 negative points.
  •  

  • No last 2 tricks - The aim is not to win the last 2 tricks. Each of those tricks is worth 180 negative points and the total for the hand is 360 negative points.
  •  

  • There is also one positive hand which is named trump. Trump cards win against any other suit but can only be played if the suit cannot be followed or if the trick started with the trump suit. Between two or more trump cards the highest one wins. Each trick taken by a player is worth 50 points and the total for the hand is 650 positive points.