Skip to content

jacobhenn/scorekeeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Scorekeeper is a slick and lightweight command line score tracking program, written in haskell.

help table:

╭───────────────────────────────────────────────────────────────╮
│ scorekeeper v5.0.3 (https://github.com/jacobhenn/scorekeeper) │
├───────────────────────────────────────────────────────────────┤
│ prefix searches match players whose names start with the      │
│ given string: b = bob, ill != bill                            │
├─────────────────┬─────────────────────────────────────────────┤
│ [prefix]        │ add 1 point to the player matching [prefix] │
│ [n] [prefix]    │ add [n] points to [prefix]                  │
│ :add [player].. │ add [player](s) to the list of players      │
│ :rm [prefix]..  │ remove [prefix](s) from the list of players │
│ :mul [n]        │ multiply each player's score by [n]         │
│ :q, :quit       │ exit scorekeeper                            │
│ :h, :help       │ show this message                           │
╰─────────────────┴─────────────────────────────────────────────╯

Use

run/build/install scorekeeper with Cabal (remove the -dynamic flag in scorekeeper.cabal if you usually compile static executables)

Known Issues

The score table will not align correctly if player names contain unicode chars wider than a cell:

╭┴──┬───╮
│ ❌ │ 0 │
╰┬──┴───╯

As far as I can tell, this is a limitation of the Text.Printf library and not scorekeeper itself.

Releases

No releases published

Packages

No packages published