# Free Software Q&A Card Game README ## Overview The Free Software Q&A Card Game is a fun, interactive card game that brings together free software enthusiasts for a humorous and lighthearted experience. Inspired by the principles of software freedom, this game encourages players to explore various scenarios and questions related to free software through a playful, question-and-answer format. Designed for groups of friends, community meetups, or even as an icebreaker at conferences, this game is perfect for anyone interested in technology, ethics, and the free software movement. ## Game Components * Question Cards Deck: Contains various questions related to free software themes, history, hypothetical situations, and ethical dilemmas. * Answer Cards Deck: Features a wide range of witty, insightful, and sometimes humorous answers that relate to free software principles and culture. ## Setup * Prepare the Decks: Shuffle the question cards and answer cards separately to ensure a random distribution of cards for each game. * Distribute Answer Cards: Deal 5 answer cards to each player. Players should keep their answer cards hidden from other players. ## How to Play * Choosing the First Question Asker: Randomly pick a player to start the game as the question asker. * Selecting a Question: - The question asker draws the top card from the question deck. - If the asker finds the question uninteresting or not funny, they may place it at the bottom of the deck and draw another until they find one they like. * Answering Questions: * Once a suitable question is chosen, the asker reads it aloud to all players. * Each player (except the asker) selects one of their answer cards they believe best fits or humorously answers the question, placing it face down to the asker. * Judging Answers: * The asker shuffles the response cards to mix them up, then reads each answer aloud. * The asker selects the answer they find most appropriate, funny, or clever. The player who submitted that answer receives 1 point. * Next Round: * The role of question asker rotates to the player on the left of the current asker. * At the start of each round, before the question is asked, players who feel their answer cards are uninteresting or not funny may place any number of them at the deck's bottom and draw new ones. * The game continues with players drawing new answer cards to maintain a hand of 5 cards until the deck is exhausted or for a predetermined number of rounds. ## Winning the Game The game can conclude in several ways, depending on the preferences of the players: * After a set number of rounds. * Once all question cards have been used. * When a player reaches a certain number of points. The player with the most points at the end of the game is declared the winner. ## Customization Players are encouraged to add their own questions and answers to the decks, especially those that reflect current events or specific interests within the free software community. This customization ensures that the game remains relevant, engaging, and a reflection of the community's culture and humor. ## Contributing This game is a community-driven project and welcomes contributions from everyone. Whether you're adding new cards, suggesting rule modifications, or translating the game into other languages, your input helps enrich the experience for all. ## Game License The Free Software Q&A Card Game question and answer files, as well as this README, are licensed under your choice of: * The Creative Commons Attribution-ShareAlike 4.0 International license: https://creativecommons.org/licenses/by-sa/4.0/ * The GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. # Card Generation Program ## Overview The Card Generation Program is designed to read questions and answers from separate files and generate cards for each entry. These cards are then laid out on PDFs for easy printing and later cutting. The program creates two PDFs: one for questions, with a black background and white text, and another for answers, with a white background and black text. ## Features * Reads questions and answers from separate text files. * Generates poker-sized cards for each question and answer. * Supports custom paper sizes for PDF generation. * Differentiates question and answer cards through color coding. * Fits as many cards as possible onto each page of the PDF to conserve paper. ## Requirements * Python 3.x * reportlab library ## Installation Before running the program, ensure you have Python 3.x installed on your system. You will also need the reportlab library for PDF generation. On systems such as Trisquel GNU/Linux these can be installed with: apt install python3 python-is-python3 python3-reportlab ## Usage * Prepare Input Files: Create two text files named questions and answers. Each line in these files should contain a question or an answer, respectively. * Run the Program: Execute the script with Python. No command line arguments are needed: python card_generator.py Output: The program generates two PDFs: - question_cards.pdf: Contains all the questions, each on a separate card. - answer_cards.pdf: Contains all the answers, each on a separate card. ## Customization * Paper Size: To change the paper size, modify the paper_width and paper_height variables in the script according to your needs. * Card Size: To adjust the card size, change the card_width and card_height variables. * Font and Text Size: Adjust the setFont call in the create_pdf function to change the font and size of the text on the cards. ## Contributing Contributions are welcome! If you have suggestions for improvements or bug fixes, please feel free to share them. ## License The Card Generation Program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.