Skip to content

jfinnis/BridgesCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BridgesCLI

A CLI-based Bridges puzzle renderer built with React and Ink. This exists mostly to gain more experience using an agent-based workflow.

What is Bridges?

Bridges (also known as Hashiwokakero) is a logic puzzle where you connect islands with bridges. Each island has a number indicating how many bridges must connect to it.

Demo

Run the game

npm install -g bridges-cli
bridges

Local Development

Clone the repo then run:

bun start

CLI Options

  • -p, --puzzle <identifier> - Render a puzzle via shorthand encoding (see samplePuzzles.ts)
  • --enable-solutions - Enable the show solution toggle in the game (disabled by default)

Run tests and linter

bun run typecheck
bun run test
bun run lint

About

Bridges (Hashiwokakero) game implemented as a CLI application

Resources

Stars

Watchers

Forks

Contributors