anjakefala / xdplayer

Terminal crossword puzzle player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crossword Player

A compact and colorful terminal interface for solving crossword puzzles.

xddemo

  • requires Python3 (no external library dependencies)
  • works in classic 80x25 terminal size (up to 21x21 puzzle)
  • requires 256-color terminal
  • supports crosswords in .xd format and AcrossLite .puz format
  • Install: pip3 install git+https://github.com/devottys/xdplayer.git
  • Usage: xdplayer <file.xd|file.puz>

There are some crosswords to play with in samples/ and a collection of xds on xd.saul.pw/data.

Keyboard Commands

  • Arrow keys: move cursor

  • click on a grid square or a clue to jump to that location in the grid

  • Letter or number: fill in grid at cursor

  • Backspace, Space, Delete: erase backward, forward, in-place

  • TAB: change fill direction (across/down)

xdplayer autosaves your progress. It will create and restore from a crosswordfilename-guesses.jsonl in the current directory or in the location set by the $TEAMDIR shell environment variable.

  • Ctrl+S: commits to and checks your solution. The crosswordfilename-guesses.jsonl will be set to read-only, and "wrong" entries will be underlined.
  • Ctrl+X: enable hotkeys to cycle through display configurable options. These options are all set at the top of xdplayer/__init__.py, should you wish to modify them.
  • Ctrl+Q: quit program.

Similar Projects

About

Terminal crossword puzzle player

License:MIT License


Languages

Language:Python 98.4%Language:Shell 1.6%