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 トランプ: Eleven 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.  Gunjin 軍人: Five hidden-rank games for one device. Open the demo.

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

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.  Jirai 地雷: Minesweeper that never makes you guess. Open the demo.  Tobiishi 飛び石: Peg solitaire on nine boards. Open the demo.  Karakuri からくり: Eight small puzzle games. Open the demo.  Houseki 宝石: Gem and stone matching puzzles. Open the demo.  Kyuubu キューブ: A turning cube from 2×2 to 7×7. Open the demo.

Code: Tsunagi · Suido · Kazu · Meikyuu · Jirai · Tobiishi · Karakuri · Houseki · Kyuubu

Words and Japanese

Kotoba 言葉: Word lists in English, French, German and Japanese. Open the demo.  Bushu 部首: Find a kanji by the parts it is made of. Open the demo.  Hikidashi 引き出し: A drawer of small Japanese text tools. Open the demo.  Kumimoji 組み文字: The crossword tile race, in English and Japanese kana. Open the demo.

Code: Kotoba · Bushu · Hikidashi · Kumimoji

Maps, dice and seeds

Chizu 地図: Maps of the world and its countries. Open the demo.  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: Chizu · 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 dice notation parser with exact odds: any die from d4 to d1000, custom and loaded dice, pools, and game presets from Yahtzee to craps. A typed API, a command line and a dice tray fo…

    TypeScript 1

  4. kyuubu kyuubu Public

    Turning cube for the browser: a 3D twisty-puzzle cube from 2×2 to 7×7 in plain CSS 3D. Drag, touch, keys or notation; replay world record solves; scrambles, a solve guide, a command line, React, Vu…

    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

    Playing cards and eleven card games with computer players, for JavaScript and TypeScript: Hearts, Spades, Euchre, Cribbage, Oh Hell, Crazy Eights, Go Fish, Big Two, President, Gin Rummy and War, pl…

    TypeScript 1