Add player sheet
This commit is contained in:
		@@ -19,7 +19,16 @@ Squib::Deck.new(cards: 18, layout: 'layout.yml', width: '3.5in', height: '2.5in'
 | 
			
		||||
  save_pdf trim: 37.5, file: 'pnp.pdf'
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
Squib::Deck.new(cards: 1, width: '3in', height: '4in') do
 | 
			
		||||
Squib::Deck.new(cards: 6, width: '3in', height: '4in') do
 | 
			
		||||
  rect
 | 
			
		||||
 | 
			
		||||
  png x: '0.5in', y: '0.5in', width: '2.0in', height: '2.0in', file: 'images/hexgrid.png'
 | 
			
		||||
 | 
			
		||||
  text x: '0.5in', y: '2.75in', width: '2in', height: '0.5in', str: 'Scoring', align: :center
 | 
			
		||||
  (0..6).each do |i|
 | 
			
		||||
    rect x: inches(0.5) + i * inches(2.0/7.0), y: '3.0in', width: '0.25in', height: '0.25in'
 | 
			
		||||
    rect x: inches(0.5) + i * inches(2.0/7.0), y: '3.25in', width: '0.25in', height: '0.25in'
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  save_pdf trim: 37.5, file: 'player.pdf'
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user