Toranpu Card Games

Saved games stay in this browser only.

About the game

Toranpu, the everyday Japanese word for a deck of playing cards, is a single green table that can host eleven different card games. Hearts, Spades, Euchre, Cribbage, Oh Hell, Crazy Eights, Go Fish, Big Two, President, Gin Rummy and War are all here, and each one is played against computer players that follow the real rules of the game: they must follow suit, they bid, they pass cards and they score like anyone else at the table.

The games range from a two-minute hand of War to long trick-taking games with bidding, where counting what has been played matters. Every deal comes from a seed number, so you can type a seed back in and play the very same hands again, or ask a friend to try the deal that beat you. A game is also written down as text that you can copy, keep and paste back later to carry on where you stopped.

Playing it here

Click Play, choose a game from the row of buttons and press Deal. Choose how many players sit at the table (the computer fills the other seats), then click a card in your hand when it is your turn. The line above your cards says what the game wants from you: pass three cards, follow suit, bid, or discard. "What happened" keeps a running log of every move. Under "Keep this game" you can copy the game so far as code, JSON, text or CSV and read it back later; the card backs and the card designs (plain, four colour, English pattern and a realistic set) can be changed further down, and the Sound button turns the card sounds on and off. The English and Japanese buttons at the top switch the language.

Controls

Input Action
click or tap a card play it (or select it, when the game asks for several)
Deal start a new hand with the chosen game and players
Seed box type a number to deal the same hands again
Sound turn the card sounds on or off
English / 日本語 switch the language of the page

A few things worth knowing

Count the suits. In Hearts and Spades, knowing which cards are already gone tells you who still holds the dangerous ones.

Learn one game at a time. Each button has its own short rules line under it, and the game keeps the same table and controls throughout.

Replay a deal. If a hand went badly, keep its seed and try it again with a different plan.

Questions

Can I play online with other people? No. Every opponent is a computer player, and nothing leaves your browser.

Why one page for eleven games? They share one table, one set of card designs and one saved-game format, so they are published together.

Credits and licence

The code is by John Morris, under the MIT licence. The card sounds are recordings from the Casino Audio pack by Kenney (Creative Commons Zero). The "English pattern" card design is drawn by Dmitry Fomin (CC0) and the "realistic" number cards by Byron Knoll (public domain); the plain, four-colour and back designs are John Morris's own. The full credit list and the licence text are linked from this page.