Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 1:52 pm

All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: mahjong bot?
PostPosted: Mon May 27, 2013 8:38 pm 
Offline
Regular Member

Joined: Thu Mar 07, 2013 2:44 pm
Posts: 72
Is anybody who trying to make mahjong bot?

Mahjonglogic is the most popular a real money mahjong network. I monitored activity on bodog88. Mahjong has a lot of game variations. Kansai Riichi (3 max game (standard mahjong — 4 max)) the most popular game on highstakes ($128/$256 max win $768). Average gain of $100. The duration of the game 10 minutes. You have access to all actions of the opponent in the history hands. I don't know anything about the winrate.

I read the rules and I thought "It should be interesting to mathematicians" Lot of combinations, lot of options which tile to discard, a lot of work for counting outs.


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Mon May 27, 2013 9:44 pm 
Offline
Veteran Member

Joined: Thu Feb 28, 2013 2:39 am
Posts: 437
Never played it before myself, but reading the rules on wiki there seem to be a lot of things to consider. I really wonder what the game tree would look like drawn out, and how big it would be. How would you abstract it if you wanted to solve it game theoretic?

In comparison, poker is a somewhat simple game, albeit with a large domain space.


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Tue May 28, 2013 12:50 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
I sometimes play it with friends, it is similar to poker, but a big difference is obviously, that the tiles you discard can be used for your opponents draws, like in rommé.

4 handed mahjong is probably extremelly hard to bot, HU might be possible, but I dont know how popular it is online.


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Fri May 31, 2013 9:26 pm 
Offline
Regular Member

Joined: Thu Mar 07, 2013 2:44 pm
Posts: 72
Thread moved to "Miscellaneous" (quality on-topic posts) — hah!

ron2.jp is the most famous mahjong room. It is very popular among the Japanese. Probably all the uber-top-regs play here. ron2.jp client has the bot (autoplay function, if you have lost internet connection).

A few words describing the bot:
Quote:
bot plays much stronger, than you might think.
it is still weaker, than the experienced players.


One website evaluate the level of the opponents on mahjonglogic as extremely low (it has no the date of publication).

Maybe ron2.jp bot can beat the games on mahjonglogic.


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Fri May 31, 2013 10:48 pm 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
What's the betting structure? Just put up your stake at the start, and collect when you win? If that's the case, I wouldn't expect deceptive play to be as important as poker. Is that true? If so, the bot doesn't have to worry about its own image, so you can use expectimax.


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Sat Jun 01, 2013 12:35 am 
Offline
Regular Member

Joined: Thu Mar 07, 2013 2:44 pm
Posts: 72
you stake reserved at the start, and you win part of all reserved funds. for example, if you play at $128/$256, than $256 will be reserved.

I don't understand the rest of the post. Do you mean, than mahjong haven't a psychological component? I don't know.


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Sat Jun 01, 2013 1:02 am 
Offline
Veteran Member

Joined: Thu Feb 28, 2013 2:39 am
Posts: 437
http://mahjongtime.com/mahjong-japanese-rules.html

A lot of rules seem to arise out of chance.

Found these:
http://link.springer.com/chapter/10.100 ... 28643-1_41
http://books.google.com/books?id=h0YUEP_uSCMC
http://code.google.com/p/ma-jiang/
http://www.cheatengine.org/forum/viewto ... 3bfc070743

Section (d) hints at player psychology, and self-image.
http://cs229.stanford.edu/proj2009/Loh.pdf

Seems there has been some research into mahjong AI, but it's still in it's infancy.

Bots:
http://games.brothersoft.com/four-winds-mah-jong.html
http://boardgamegeek.com/thread/287236/ ... -real-game


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Sat Jun 01, 2013 1:13 pm 
Offline
Regular Member

Joined: Thu Mar 07, 2013 2:44 pm
Posts: 72
yes, I've seen good reviews about the Four Winds Mah Jong, but you cann't select a specific hand and get the answer. I've seen other similar solutions. I found a calculator for "in one step to win" situations. Is it a long way from the bot's client to the calc?


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Tue Jun 11, 2013 3:53 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
spears wrote:
I wouldn't expect deceptive play to be as important as poker. Is that true?


Your opponents use your tiles for their draws and you use theirs. When you discard certain tiles, your opponents will think, that you must have a draw, that couldnt improve with that tile. So you can sometimes try to discard a tile, that might have improved your draw a little, hoping that someone will deal a similar tile into you.


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Tue Jun 11, 2013 4:08 pm 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
I'm not saying you ignore the opponent image and self image completely. I'm just suggesting it might be less important than in poker. And by less important, I mean the computational effort required to manage image does not dominate the solution as it does in poker.


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Tue Jun 11, 2013 9:14 pm 
Offline
Regular Member

Joined: Thu Mar 07, 2013 2:44 pm
Posts: 72
The game has several rounds. You have to mix up your strategy depending on the amount of points. If you're the leader by a wide margin you must choose quickly collect a hand strategy. There are some nuances. For example, players are rarely discard a medium tiles in the beginning of the round.


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Mon Jun 17, 2013 4:29 pm 
Offline
Veteran Member

Joined: Thu Feb 28, 2013 2:39 am
Posts: 437
spears wrote:
I'm not saying you ignore the opponent image and self image completely. I'm just suggesting it might be less important than in poker. And by less important, I mean the computational effort required to manage image does not dominate the solution as it does in poker.

I wonder about that. I see your point, from a single-state perspective, but if you consider the dynamics of the game (i.e. that what each player holds is constantly changing), image might be more important and harder to predict than in poker. <-- That statement doesn't necessarily equate to 'more computational effort,' though.

I wonder what the range update in an opponent model would look like after each action? Are tiles passed face down?


Top
 Profile  
 
 Post subject: Re: mahjong bot?
PostPosted: Mon Jun 17, 2013 5:27 pm 
Offline
Site Admin
User avatar

Joined: Sun Feb 24, 2013 9:39 pm
Posts: 642
Put it another way. A poker strategy that doesn't bluff or slowplay itself and believes the opponent never bluffs or slowplays is crap. I contend that a rummy/mahjong strategy that discards everything that it needs to and believes opponent is doing the same isn't a very bad strategy. But hey it's just speculation and I've never played mahjong and haven't played rummy since I was a child.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group