# DCPU-16 Ruby Emulator

filename = ARGV.first
raise "Need a filename!" unless filename

File.open(filename, "rb") do |f|
  data = Array.new
  while (word = f.read(2))
    data << word.unpack("B*")
  end
  p data.join " "
end

Add first draft: read binary file and ouput content as a list of words
Add first draft: read binary file and ouput content as a list of words
