I've heard this game go by the name of "Dou Dizhu", and "Fight the Landlord", but my friends and I always called it "Triad". It's a 3 player asian card game that my friends and I used to frequently play when we got together. We no longer live close to each other, but we still wanted to be able to play. There are some online versions, but not with the same set of rules we play, so I wanted to try building it in C2. It was also a good excuse to test the waters with online multiplayer. After a couple of weeks of developing in my free time, it's just about ready for testing. I figured I'd pop it up here in case anyone was interested in trying it out. Also, it's a good example of C2's ability to create turn-based online multiplayer games when used in conjunction with a servers side scripting language.
<font size="5"><center>Play Triad v0.5 </center></font>
Please note: There are no computer players; this is strictly an online multiplayer game. You can test the game out by getting 2 other people to play with you, or more likely, open the game in 3 browser windows and pretend to be 3 different people.
- Enter a Username, and press play.
- Tap an Empty Seat at one of the six tables to sit in it.
- Once your table is full, a game will begin.
Game Instructions are a bit much to type out here, but you can get the gist of it by checking out this wikipedia entry.
There are both touch, and mouse controls. They're relatively simple. Click/tap a card to select it. Click/tap and drag to select multiple cards. To sort your hand, drag a card (or group of selected cards), by clicking/tapping and holding. When it's your turn, you can play a hand by selecting the appropriate cards, and clicking/tapping play. Alternatively, drag hands onto the center of the table to play a hand.
Here are a couple screenshots:
<center><img src="http://i.imgur.com/57CKEPel.png" border="0">
<img src="http://i.imgur.com/250J8jvl.png" border="0"></center>
There are definitely feature I could add, like a dynamic table system, chat capabilities, and computer players, but they're not needed for my friends and I to play. However, I will probably publish the game to mobile platforms after some bug testing. Fortunately, it works quite nicely on CocoonJS.
Any feedback or bug reports are welcome. I hope you enjoy.