Giter Club home page Giter Club logo

bingo's Introduction

Bingo card generator

This small program allows generating personalised bingo cards.

Rather than reading out the actual content of a cell on the bingo board you will read out a definition and the players will mark the cell with the answer to said definition.

dotnet run --title="Flowers bingo" --size=3 --center=Flowers

Example board

Input file

In order to generate a game you'll need a text file that contains the requeired cells in the game. Each cell is a line in the text file and can be one of the following.

  • Image file name - the image will be used in the cell
  • Multi line text - Seperate each line with a |
  • Plain text - just use the text as is
  • Empty lines - are ignored

You should have about 1.5 times more lines than cells in the board to make the game more interesting.

Command line options

The files are generated by running the command line

dotnet run --title="Demo game" --size=3 --count=20
  • title - the title for each bingo card
  • file - text input file to use (defaults to bingo.txt)
  • size - dimensions of the bard (defaults to 4x4)
  • center - value to put in the center cell of each card (only supported for odd size cards)
  • count - how many cards to generate
  • rtl - use Right-To-Left text

Output

The output is an HTML file called output.html which, when printed, places a card on each sheet of paper.

bingo's People

Contributors

mottil avatar lanzkron avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.