This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| What does a Dice do? | |
| Has numbers. | |
| It rolls. | |
| Does it store numbers? No. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class CreateResumeDesigns < ActiveRecord::Migration | |
| def change | |
| change_table :resume_designs do |t| | |
| t.string :name | |
| t.string :purpose | |
| t.timestamps | |
| end | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Gem::Specification.new do |s| | |
| s.name = "pleiro_game" | |
| s.version = "1.0.0" | |
| s.author = "Sean Livingston" | |
| s.email = "[email protected]" | |
| s.homepage = "http://gospelofjesusglory.com" | |
| s.summary = "Short Text Game With Treasures" | |
| s.description = File.read(File.join(File.dirname(__FILE__), 'README')) | |
| s.files = Dir["{bin, lib, spec}/**/*"] + %w(LICENSE README) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require_relative '../lib/pleiro_game/player' | |
| require_relative '../lib/pleiro_game/clumsy_player' | |
| require_relative '../lib/pleiro_game/berserk_player' | |
| require_relative '../lib/pleiro_game/game' | |
| require_relative '../lib/pleiro_game/die' | |
| game1 = PleiroGame::Game.new("scavenger") | |
| default_player_file = File.join(File.dirname(__FILE__), 'players.csv') |