cnpaperplay v3.2
Apr 1, 2018

SUPPORT PROJECT:

HELP AND ASSISTANCE:


Process Tamer Opinions on FileForum
This is a unique application that does exactly what it promises. If you test a lot of software, as I do, then you must run this! When you have a lot of processes running, and some are not well known, this software can mean the difference between a system crash and a minor annoyance... Wow! This program is a gem! Six points out of five!
FileForum image

Codenames play on paper (cnpaperplay) is an open-source utility for creating play-on-paper clones of the popular boardgames Codenames and Codenames Duet.

From this page you can download premade pdf game books to play on an airplane or in a car, etc., or use the tool to make your own game books.

Basic rules of Codenames Duet:

  • Codenames Duet is a two-player cooperative game.
  • A random grid of words is laid out for both players to see.
  • Each player receives a secret "key" telling them which of these words they want the other player to guess or avoid.
  • Players take turns giving a clue to the other player in the form of a single word and a number, and guessing words from the list based on clues.
  • Players win as a team if they guess all the correct cards in the allowed number of turns. If they accidentally guess a black card the game ends immediately.

Basic rules of Codenames:

  • Codenames is a team-based game that works best with large groups (4+).
  • Each team has a leader who gets a secret "key" telling them which of these words they want their team mates to guess or avoid.
  • Team leaders take turns giving a clue to their team mates. There is no turn limit as their is in Duet, but the first team to discover all of their words wins.

This utility creates random pdf books of puzzles, where each page is a separate game/puzzle. Each player gets a printed booklet and a pen, and that's all you need to play.

The code can generate games identical to the originals, but it's also flexible enough to allow you to experiment with alternative configurations and card counts. You can also customize the word lists, and it's easy to translate the pages to different langauges.

From this page you can download premade pdf booklets, or get the python code that let's you make your own.


Commandline options

Commandline options available for the cnduet.py utility:

usage: cnduet.py [-h] [--wordfile OPTION_WORDFILE]
                 [--patternfile OPTION_PATTERNFILE] [--outpath OPTION_OUTPATH]
                 [--turncount OPTION_TURNCOUNT]
                 [--mistakecount OPTION_MISTAKECOUNT]
                 [--goalcount OPTION_GOALCOUNT] [--seedstart OPTION_SEEDSTART]
                 [--gamecount OPTION_GAMECOUNT] [--bookname OPTION_BOOKNAME]
                 [--format {html,pdf}] [--templatedir OPTION_TEMPLATEDIR]

optional arguments:
  -h, --help            show this help message and exit
  --wordfile OPTION_WORDFILE
                        filename (optionally with path) of worsd list text
                        file to read (each word should be on its own line)
  --patternfile OPTION_PATTERNFILE
                        filename (optionally with path) of card coloring
                        pattern data (each line is a triple specifying
                        cardcount, player1color, player2color)
  --outpath OPTION_OUTPATH
                        path to save output files
  --turncount OPTION_TURNCOUNT
                        number of turns per game
  --mistakecount OPTION_MISTAKECOUNT
                        number of mistakes allowed per game
  --goalcount OPTION_GOALCOUNT
                        number of goals needed to win game)
  --seedstart OPTION_SEEDSTART
                        starting seed number to use
  --gamecount OPTION_GAMECOUNT
                        number of games to generate
  --bookname OPTION_BOOKNAME
                        base name of book output files
  --format {html,pdf}   final output format (should be html or pdf)
  --templatedir OPTION_TEMPLATEDIR
                        directory where template files are

Commandline options available for the cnteam.py utility:

usage: cnteam.py [-h] [--wordfile OPTION_WORDFILE]
                 [--patternfile OPTION_PATTERNFILE] [--outpath OPTION_OUTPATH]
                 [--seedstart OPTION_SEEDSTART] [--gamecount OPTION_GAMECOUNT]
                 [--bookname OPTION_BOOKNAME] [--format {html,pdf}]
                 [--templatedir OPTION_TEMPLATEDIR]

optional arguments:
  -h, --help            show this help message and exit
  --wordfile OPTION_WORDFILE
                        filename (optionally with path) of worsd list text
                        file to read (each word should be on its own line)
  --patternfile OPTION_PATTERNFILE
                        filename (optionally with path) of card coloring
                        pattern data (each line is a triple specifying
                        cardcount, player1color, player2color)
  --outpath OPTION_OUTPATH
                        path to save output files
  --seedstart OPTION_SEEDSTART
                        starting seed number to use
  --gamecount OPTION_GAMECOUNT
                        number of games to generate
  --bookname OPTION_BOOKNAME
                        base name of book output files
  --format {html,pdf}   final output format (should be html or pdf)
  --templatedir OPTION_TEMPLATEDIR
                        directory where template files are

Share on Facebook
submit to reddit