From 33ea79ad4a49ac2ab4828417108e57e2b7ff265a Mon Sep 17 00:00:00 2001 From: Matt Soucy Date: Sat, 21 May 2022 20:05:23 -0400 Subject: [PATCH] Adding squib information --- 2022/05-gencant/Rules.md | 4 +-- 2022/05-gencant/cards/.gitignore | 4 +++ 2022/05-gencant/cards/ABOUT.md | 19 ++++++++++ 2022/05-gencant/cards/Gemfile | 3 ++ 2022/05-gencant/cards/IDEAS.md | 22 ++++++++++++ 2022/05-gencant/cards/PLAYTESTING.md | 26 ++++++++++++++ 2022/05-gencant/cards/PNP NOTES.md | 4 +++ 2022/05-gencant/cards/RULES.md | 21 +++++++++++ 2022/05-gencant/cards/Rakefile | 7 ++++ 2022/05-gencant/cards/config.yml | 50 ++++++++++++++++++++++++++ 2022/05-gencant/cards/data.csv | 19 ++++++++++ 2022/05-gencant/cards/deck.rb | 20 +++++++++++ 2022/05-gencant/cards/images/air.svg | 1 + 2022/05-gencant/cards/images/dark.svg | 1 + 2022/05-gencant/cards/images/earth.svg | 1 + 2022/05-gencant/cards/images/fire.svg | 1 + 2022/05-gencant/cards/images/light.svg | 1 + 2022/05-gencant/cards/images/water.svg | 1 + 2022/05-gencant/cards/layout.yml | 45 +++++++++++++++++++++++ 19 files changed, 248 insertions(+), 2 deletions(-) create mode 100644 2022/05-gencant/cards/.gitignore create mode 100644 2022/05-gencant/cards/ABOUT.md create mode 100644 2022/05-gencant/cards/Gemfile create mode 100644 2022/05-gencant/cards/IDEAS.md create mode 100644 2022/05-gencant/cards/PLAYTESTING.md create mode 100644 2022/05-gencant/cards/PNP NOTES.md create mode 100644 2022/05-gencant/cards/RULES.md create mode 100644 2022/05-gencant/cards/Rakefile create mode 100644 2022/05-gencant/cards/config.yml create mode 100644 2022/05-gencant/cards/data.csv create mode 100644 2022/05-gencant/cards/deck.rb create mode 100644 2022/05-gencant/cards/images/air.svg create mode 100644 2022/05-gencant/cards/images/dark.svg create mode 100644 2022/05-gencant/cards/images/earth.svg create mode 100644 2022/05-gencant/cards/images/fire.svg create mode 100644 2022/05-gencant/cards/images/light.svg create mode 100644 2022/05-gencant/cards/images/water.svg create mode 100644 2022/05-gencant/cards/layout.yml diff --git a/2022/05-gencant/Rules.md b/2022/05-gencant/Rules.md index 1f793ff..4e2e558 100644 --- a/2022/05-gencant/Rules.md +++ b/2022/05-gencant/Rules.md @@ -4,8 +4,8 @@ You are all mages competing to put on the flashiest magic display for the festiv Arrange the elements to put on a good show. Take the three border cards and deal each one faceup. -Place the top elements in the fixed hexes on the corners in clockwise order from the top. -Place the bottom elements in the fixed hexes on the corners in clockwise order from the bottom. +Place the left elements in the fixed hexes on the corners in clockwise order from the top. +Place the right elements in the fixed hexes on the corners in clockwise order from the bottom. The center hex represents you, the mage. It is neutral (not aligned with any element). diff --git a/2022/05-gencant/cards/.gitignore b/2022/05-gencant/cards/.gitignore new file mode 100644 index 0000000..7598f0b --- /dev/null +++ b/2022/05-gencant/cards/.gitignore @@ -0,0 +1,4 @@ +_output/*.png +_output/*.pdf +~$* +.DS_Store diff --git a/2022/05-gencant/cards/ABOUT.md b/2022/05-gencant/cards/ABOUT.md new file mode 100644 index 0000000..3c7b272 --- /dev/null +++ b/2022/05-gencant/cards/ABOUT.md @@ -0,0 +1,19 @@ +My Awesome Game +=============== + +Check out my awesome game! + + +Objective +--------- + + + +Gameplay +-------- + + + +Ending the Game +--------------- + diff --git a/2022/05-gencant/cards/Gemfile b/2022/05-gencant/cards/Gemfile new file mode 100644 index 0000000..244904c --- /dev/null +++ b/2022/05-gencant/cards/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'squib' diff --git a/2022/05-gencant/cards/IDEAS.md b/2022/05-gencant/cards/IDEAS.md new file mode 100644 index 0000000..0adc549 --- /dev/null +++ b/2022/05-gencant/cards/IDEAS.md @@ -0,0 +1,22 @@ +# Title Ideas + +* First idea +* Second idea + + +# Things to Try + +* Idea +* Idea + +# Feedback Ideas + +* Feedback +* Feedback + +# Problems To Work On + +* Problem +* Problem + + diff --git a/2022/05-gencant/cards/PLAYTESTING.md b/2022/05-gencant/cards/PLAYTESTING.md new file mode 100644 index 0000000..844ff90 --- /dev/null +++ b/2022/05-gencant/cards/PLAYTESTING.md @@ -0,0 +1,26 @@ +# Playtesting Log + +# Playtest Report Survey + +## Basic Info + * Num. Players: + * How many sessions of this game have you played before? + * How long did you play? + * How did you prepare for teaching the rules? Read the sheet with everyone there, or did someone read it ahead of time? + * What types of players played with you? What are their favorite games? + * What version were you testing? + * What date did you play? + +## Did it work? + * Was there a moment that you felt the game was "broken"? Describe what happened. + * How close were the scores? Did everyone feel like they had a fair chance at winning? + * Were there any moments that you had to go back to the rules for clarification? What resulted of that - are you still unclear, or was it just a misunderstanding? + * Any ideas for clearer rules? + * Any ideas for clearer icons, artwork, in-game helps, etc? + +## Was it fun? + * Based on the description, artwork, branding, etc. was this game what you expected? + * Were the theme, artwork, and icons engaging? + * Did this game have the depth of strategy that you were expecting? + * What were the moments that people felt like they were having the most fun? The least fun? + * Assuming trivial issues are fixed, would you recommend this to someone else? diff --git a/2022/05-gencant/cards/PNP NOTES.md b/2022/05-gencant/cards/PNP NOTES.md new file mode 100644 index 0000000..19c72c3 --- /dev/null +++ b/2022/05-gencant/cards/PNP NOTES.md @@ -0,0 +1,4 @@ +Print and Play Notes +==================== + +Fill this out to give tips on how to play this with print and play. \ No newline at end of file diff --git a/2022/05-gencant/cards/RULES.md b/2022/05-gencant/cards/RULES.md new file mode 100644 index 0000000..5b37253 --- /dev/null +++ b/2022/05-gencant/cards/RULES.md @@ -0,0 +1,21 @@ +# Intro + +What is this game about? How many players? + +# Objective + +What is the object of the game? + +# Components + +What are the components? List them out. + +# Gameplay + +What does each turn look like? Describe a turn. + +# Scoring + +How is victory assigned? + + diff --git a/2022/05-gencant/cards/Rakefile b/2022/05-gencant/cards/Rakefile new file mode 100644 index 0000000..8085388 --- /dev/null +++ b/2022/05-gencant/cards/Rakefile @@ -0,0 +1,7 @@ +require 'squib' + +task default: [:deck] + +task :deck do + load 'deck.rb' +end diff --git a/2022/05-gencant/cards/config.yml b/2022/05-gencant/cards/config.yml new file mode 100644 index 0000000..1e87805 --- /dev/null +++ b/2022/05-gencant/cards/config.yml @@ -0,0 +1,50 @@ +# Settings in the config.yml are overriding Squib's defaults. Anything in the main script will override this. + +# Looking for DPI? It needs to be a parameter to Squib::Deck.new + +#antialias: best #recommended. Only about 10% slower than fast +#antialias: default # set the anti-aliasing algorithm. default defers to the underlying graphics device. See http://www.cairographics.org/manual/cairo-cairo-t.html#cairo-antialias-t + +# Text hints are used to show the boundaries of text boxes. +# Can be enabled/disabled at the command-level, or set globally with `set` +#text_hint: '#F00' + +# Show progress bars on the command line for potentially long-running operations +#progress_bars: true + +#Enable some custom colors that can be used in any color +#custom_colors: +# foo: '#abc' + +#For reading image file command (e.g. png and svg), read from this directory instead +#img_dir: img-color +#img_dir: img-bw + +# Use a SVG cairo back end, instead of an in-memory buffer +# backend: :memory # default +# backend: :svg # can create scalable pdfs, but rendering done at the printer level is not as good as Cairo. + +# Configure what text markup uses replace characters +# Below are the defaults +# lsquote: "\u2018" #note that Yaml wants double quotes here to use escape chars +# rsquote: "\u2019" +# ldquote: "\u201C" +# rdquote: "\u201D" +# em_dash: "\u2014" +# en_dash: "\u2013" +# ellipsis: "\u2026" + +# We can also disallow smart quotes and only allow explicit replacements with ``LaTeX-style'' quotes. +# smart_quotes: false + +# By default, Squib warns when a text box is ellipsized. This can get verbose +# and can be turned off here +# warn_ellipsize: true # default +# warn_ellipsize: false # turn off entirely + +# By default, Squib will warn if a PNG is being up-scaled. +# warn_png_scale: true # default +# warn_png_scale: false # turn off entirely + +# How many pixels are in a "cell"? +# cell_px: 37.5 # default diff --git a/2022/05-gencant/cards/data.csv b/2022/05-gencant/cards/data.csv new file mode 100644 index 0000000..4bd25ae --- /dev/null +++ b/2022/05-gencant/cards/data.csv @@ -0,0 +1,19 @@ +left,right +light,dark +light,fire +light,water +light,earth +light,air +dark,fire +dark,water +dark,earth +dark,air +fire,water +fire,earth +fire,air +water,earth +water,air +earth,air +light,dark +fire,water +earth,air \ No newline at end of file diff --git a/2022/05-gencant/cards/deck.rb b/2022/05-gencant/cards/deck.rb new file mode 100644 index 0000000..e41505b --- /dev/null +++ b/2022/05-gencant/cards/deck.rb @@ -0,0 +1,20 @@ +require 'squib' + +Squib::Deck.new(cards: 18, layout: 'layout.yml', width: '3.5in', height: '2.5in') do + + data = csv file: 'data.csv' + + background color: 'white' + safe_zone + cut_zone + text layout: :title, str: 'Mana', align: :center, range: (0..14) + text layout: :title, str: 'Border', align: :center, range: (15..17) + + svg layout: :leftSymbol, width: 200, file: data.left.map { |elem| "images/#{elem}.svg" } + text layout: :leftText, str: data.left, align: :center, ellipsize: :autoscale + svg layout: :rightSymbol, width: 200, file: data.right.map { |elem| "images/#{elem}.svg" } + text layout: :rightText, str: data.right, align: :center, ellipsize: :autoscale + + save format: :png, prefix: 'card_' + save_pdf trim: 37.5, file: 'pnp.pdf' +end diff --git a/2022/05-gencant/cards/images/air.svg b/2022/05-gencant/cards/images/air.svg new file mode 100644 index 0000000..48b1fbd --- /dev/null +++ b/2022/05-gencant/cards/images/air.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/2022/05-gencant/cards/images/dark.svg b/2022/05-gencant/cards/images/dark.svg new file mode 100644 index 0000000..16e237f --- /dev/null +++ b/2022/05-gencant/cards/images/dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/2022/05-gencant/cards/images/earth.svg b/2022/05-gencant/cards/images/earth.svg new file mode 100644 index 0000000..98f2e7a --- /dev/null +++ b/2022/05-gencant/cards/images/earth.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/2022/05-gencant/cards/images/fire.svg b/2022/05-gencant/cards/images/fire.svg new file mode 100644 index 0000000..ca00b1d --- /dev/null +++ b/2022/05-gencant/cards/images/fire.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/2022/05-gencant/cards/images/light.svg b/2022/05-gencant/cards/images/light.svg new file mode 100644 index 0000000..d7dbf42 --- /dev/null +++ b/2022/05-gencant/cards/images/light.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/2022/05-gencant/cards/images/water.svg b/2022/05-gencant/cards/images/water.svg new file mode 100644 index 0000000..217e2b8 --- /dev/null +++ b/2022/05-gencant/cards/images/water.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/2022/05-gencant/cards/layout.yml b/2022/05-gencant/cards/layout.yml new file mode 100644 index 0000000..bf1e7bd --- /dev/null +++ b/2022/05-gencant/cards/layout.yml @@ -0,0 +1,45 @@ +title: + x: 90 + y: 90 + width: 900 + height: 50 + +leftSymbol: + x: 200 + y: 300 + width: 200 + height: 200 + +leftText: + x: 200 + y: 500 + width: 200 + height: 60 + +rightSymbol: + x: 600 + y: 300 + width: 200 + height: 200 + +rightText: + x: 600 + y: 500 + width: 200 + height: 60 + +# The "cut line", without rounded corners +cut: + x: 37.5 + y: 37.5 + width: 1050 + height: 750 + +# The "safe zone" as defined by TheGameCrafter poker cards +safe: + x: 75 + y: 75 + width: 975 + height: 675 + radius: 16 + dash: 3 3