文件名称:battleships
文件大小:5KB
文件格式:ZIP
更新时间:2024-04-14 23:31:30
Ruby
笔记 As a player So that I can prepare for the game I would like to *place* a **ship** in a **board location** 1 2 3 4 5 6 7 8 9 10 A [[0,0,0,0,0,0,0,0,0,0],B [0,0,0,0,0,0,0,0,0,0],C [0 ,0,0,0,0,0,0,0,0,0],D [0,0,0,0,0,0,0,0,0,0],E [0,0,0 ,0,0,0,0,0,0,0],F [0,0,0,0,0,0,0,0,0,0],G [0,0,0,0,0 ,0,0,0,0,0],H [0,0,0,0,0,0,0,0,0,0],I [0,0,0,0,0,0,0 ,0,0,0],J [0,0,0,0,0,0,0,0,0,0]] 输入 输出 game.plac
【文件预览】:
battleships-main
----lib()
--------battleships.rb(578B)
----spec()
--------spec_helper.rb(5KB)
--------battleships_spec.rb(2KB)
----README.md(3KB)
----.rspec(22B)