Skip to content

Instantly share code, notes, and snippets.

View jesseract's full-sized avatar

Jessa Pearce jesseract

View GitHub Profile
require 'minitest/autorun'
require 'minitest/pride'
# Write a method which returns:
#
# * "Fizz" if the number is divisible by 3
# * "Buzz" if the number is divisible by 5
# * "FizzBuzz" if the number is divisible by 3 and 5
# * Otherwise, return the number itself
#

#How to play Battleship ##Setup Instructions

  • Take game out of box
  • Open your game unit
  • each player receives five ships
    • destroyer has 2 hit points
    • submarine has 3 hit points
    • cruiser has 3 hit points
    • battleships has 4 hit points