Skip to content
View johnmorrisdotca's full-sized avatar

Block or report johnmorrisdotca

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
johnmorrisdotca/README.md
Games, puzzles and tools for the web. Small open-source packages with no dependencies, each with a demo you can play, in English and Japanese.

Click a picture to play its demo. Each package installs from npm as @johnmorrisdotca/<name>, and its README says what its Japanese name means. They are the games and tools of itsutsu.com, taken out so anyone can use them.

The site

itsutsu.com 五つ: Board games, puzzles and cards at your own pace. By invitation. Open the demo.

Code: its code

Games

Toranpu トランプ: Ten card games with computer players. Open the demo.  Hitotsu 一つ: The colour-card shedding game, for two to eight. Open the demo.  Narabe 並べ: One rules engine for forty-eight board games. Open the demo.  Sugoroku 双六: Backgammon and its relatives, with the doubling cube. Open the demo.  Domino ドミノ: Dominoes, and Mexican Train for two to eight. Open the demo.  Jarajara ジャラジャラ: Mahjong tiles, and the matching solitaire Awase. Open the demo.

Code: Toranpu · Hitotsu · Narabe · Sugoroku · Domino · Jarajara

Puzzles

Tsunagi 繋ぎ: Join the pairs with lines. Every level has one answer. Open the demo.  Suido 水道: Turn the pipes until the water reaches every drain. Open the demo.  Kazu 数: Sudoku and five more number puzzles. Open the demo.  Meikyuu 迷宮: A thousand mazes in every shape. Open the demo.  Kyuubu キューブ: A turning cube from 2×2 to 7×7. Open the demo.

Code: Tsunagi · Suido · Kazu · Meikyuu · Kyuubu

Words and Japanese

Kotoba 言葉: Word lists in English, French, German and Japanese. Open the demo.  Kumimoji 組み文字: The crossword tile race, in English and Japanese kana. Open the demo.

Code: Kotoba · Kumimoji

Maps, dice and seeds

Tenka 天下: World conquest on a map of the real world. Open the demo.  Korokoro コロコロ: Dice, with the exact odds of every throw. Open the demo.  Tane 種: Seeded random numbers: the same on every device. Open the demo.

Code: Tenka · Korokoro · Tane

Under the hood

Rules are pure: every move makes a new state and changes nothing it was given, so a game can be saved as text, replayed, and checked on a server. Deals are seeded: the same seed gives the same game in every browser. All of it is MIT licensed.

Also here: SumiLabu, MicroPython firmware and a telemetry dashboard for e-ink clocks.

The pictures are made from the live demos by scripts/ (pnpm cards, pnpm banner), so they can be remade when a demo changes. Lettering is Geist and Zen Old Mincho, both under the SIL Open Font License.

Popular repositories Loading

  1. itsutsu itsutsu Public

    TypeScript 2

  2. sumilabu sumilabu Public

    SumiLabu monorepo: firmware + telemetry dashboard

    TypeScript 1

  3. korokoro korokoro Public

    Dice roller and notation parser with exact odds: d4, d6, d8, d10, d12, d20, d100 and more, custom and loaded dice, and the dice of 44 games from Yahtzee to craps. A typed JS/TS API and a ready-made…

    TypeScript 1

  4. kyuubu kyuubu Public

    A turning cube for the browser, 2×2 to 7×7, in plain CSS 3D. Replay world record solves move for move at their real speed, paste any solve, and embed one with a tag or an iframe. Drag, touch, keys …

    TypeScript 1

  5. narabe narabe Public

    One rules engine for forty-eight abstract board games: gomoku and renju, Connect Four, tic-tac-toe, Reversi, Hex, Go, Halma, Chinese Checkers, checkers and five draughts rule sets. Pure TypeScript,…

    TypeScript 1

  6. toranpu toranpu Public

    A deck of playing cards and ten card games with computer players: Hearts, Spades, Euchre, Cribbage, Oh Hell, Crazy Eights, Go Fish, Big Two, President and Gin Rummy. Pure TypeScript rules, seeded d…

    TypeScript 1