topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday November 21, 2024, 5:32 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: NANY 2018 Release: cnpaperplay - Codenames /Codenames Duet Play on Paper Clone  (Read 55956 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
cnpaperplay is a play-on-paper game based on a very of an awesome two-player cooperative word-based board game called Codenames Duet by Vlaada Chvátil and Scot Eaton.

Note that this game plays very well over the phone, by text, by email, etc. -- players do not have to be in the same physical location.

duet2.jpg


Basic rules of the 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.  These keys are coordinated in the sense that there are a specific number that will be the same as the other player (read rules for details).
  • Then players take turns giving a clue to the other player of a specific form (see detailed rules) and the other player will try to use the clue to identify which card they should choose.
  • Players win as a team if they guess all the correct cards.

My version does things very slightly differently since I designed it to be played on paper, but the basic idea is the same.
The created pdf books have some brief instructions but to learn more how to play see the official detailed rules of Codenames Duet: https://czechgames.c...es-duet-rules-en.pdf



What I chose to do is write some fairly flexible code that makes print-and-play "books" (pdf files) that can be split up between two players, who can then play the entire game with paper and pencil.
Each page is a separate game/puzzle.
The code can make random books of any size and with difference configuration parameters, and supports custom word files.



I'll open source the code at NANY time but for now here are two sample books.  Remember that each player gets their own book -- you can't look at the book of your partner!!

If you feel like trying a game (or 10), these two booklets are all you need.  Print them and give each player a book and a pen and you are good to go:

cnduetpaper1.pngNANY 2018 Release: cnpaperplay - Codenames /Codenames Duet Play on Paper Clone




Or get a version with japanese and other language translations: https://www.donation...npaperplay_books.zip.

Download/browse the python source code which has now been open sourced on github:
https://github.com/dcmouser/cnpaperplay

The data files (words and instructions) are easily translatable into different languages if anyone feels so inclined.
« Last Edit: January 12, 2018, 01:58 AM by mouser »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Sounds great !
I have played this, but once only.
Will we non-coders be able to create our own word lists? (I'm thinking for other languages as well.)
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Will we non-coders be able to create our own word lists? (I'm thinking for other languages as well.)
Yep already implemented, and unicode supported.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Will we non-coders be able to create our own word lists? (I'm thinking for other languages as well.)
Yep already implemented, and unicode supported.

sounds even better :Thmbsup:
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Someone try playing it!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
If anyone wants me to make a pair of books in a different language I just need a text file with your words (original file has 400 english words but the number isn't important).

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
For those curious -- I wrote it first in PHP, thinking I might use the codebase for a web-based version of the game.  Then for fun I re-wrote it in python.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Update: I extended the utility to make books for standard team-based Codenames as well.. Standby for samples..

For team play you can get away with only 2 books, one for the leaders, and one for the guessers, which mirrors how the real game is played (one key card shared between the leaders and then the public display of cards that everyone can see).

But a nice aspect of the play by paper version is you could give everyone their own booklet and they could spread out across the room in any way they wish and play.

cnteam.pngNANY 2018 Release: cnpaperplay - Codenames /Codenames Duet Play on Paper Clone

[EDIT: See first post for download]
« Last Edit: October 18, 2017, 12:32 PM by mouser »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
First play (of duet) this evening -- I really enjoyed it :)
We got confused about the black: I thought if something was black on my list, I couldn't guess it -- but once we figured that out that I could gues them (and it was the other player could not) it was fine.
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Excellent.  Yeah that can be confusing -- maybe I can put a reminder about that up front.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
How did you choose the word list mouser?
Are they random, or is there a logic or conditions to it?

(Wondering about creating a word list in other language/s)
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
It's the 400 word list used in the original board game.
There was a discussion thread on boardgamegeek about using alternate words and it was mentioned that many of the words used have alternate meanings, which was by design.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Here's the combined english wordlist from Codenames and Codenames Duet.
It's what I'm currently using.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
^ thanks for the wordlist mouser -- mind if I ask where you got it?
was it from that boardgamegeek.com thread? if so any chance of a link for it -- search there is not working at the moment (504 error).

Simply translating the list wouldn't really work -- as you say, many of the words have a couple of meanings -- that would be lost in translation.

Reminds me of a german spoken game:
Teekesselchen, literally meaning 'tea-kettle', but today used to mean homonym.
Two people choose a word with two different meanings, then each person 'acts' as one meaning of that word:
'I am small' 'I grow' 'I am not alive' etc. etc.
others meanwhile try and guess the word.
Tom


tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
^ thanks mouser
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Simply translating the list wouldn't really work -- as you say, many of the words have a couple of meanings -- that would be lost in translation.

I'm not so sure -- I don't think the specific words make that big of a difference to be honest.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Simply translating the list wouldn't really work -- as you say, many of the words have a couple of meanings -- that would be lost in translation.

I'm not so sure -- I don't think the specific words make that big of a difference to be honest.

With the help of phitsc's Text Inspection & Manipulation Utility, I now have ~240 german words which are all 'Teekesselchen' (homonyms).

I know that might make it too easy, but how about we go with that for the moment?
and I can get a couple of people to try it out and give feedback, and maybe improve the list for a future version
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Games generated from your list -- can you please check the words in the games and make sure the character encoding is correct?

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Games generated from your list -- can you please check the words in the games and make sure the character encoding is correct?

the character coding is correct so far, but I'll have to get a native speaker to look at that list, I see one word I'm not 100% sure of (sorry, should have gotten that done first :-/)
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Only takes a second to regenerate the files, no worries.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Added link to github repository.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
The code supports alternative languages -- both for the word lists and optionally for the instructions and other texts.

I have someone making a full japanese translation but I could use other language translations if anyone is willing to help.  Anyone?
« Last Edit: December 31, 2017, 09:43 AM by mouser »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Updated first post with link to download premade books with 100 games.

For those who haven't tried playing this, I can't emphasize how good a two-player game this is for couples.  It can be played while casually sitting in a room in different locations and is fun, challenging, and thought-provoking.  And it is a way to get to know each other's way of thinking, and gives you something to talk about afterwards.

Note that this game plays very well over the phone, by text, by email, etc. -- players do not have to be in the same physical location.

Report your best scores for specific game id#s and we can compete/compare to see which team can get the highest score on each game.
« Last Edit: December 31, 2017, 07:11 AM by mouser »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Updated with japanese translation of words and instructions (thanks to Naoki!).

Preview:
Screenshot - 1_1_2018 , 1_03_57 AM_ver001.pngNANY 2018 Release: cnpaperplay - Codenames /Codenames Duet Play on Paper Clone