battle-ships-online:与约翰尼的战舰-源码

上传者: 42108054 | 上传时间: 2021-07-02 15:03:56 | 文件大小: 21KB | 文件类型: ZIP
#战舰 当有两个玩家分别用一个棋盘初始化并且每个棋盘上放置了 5 艘船时,游戏就可以开始了。 默认情况下,玩家 1 先走,每次击球后,它会切换回合,直到获胜。 添加了一个 game_setup.rb 文件,该文件将游戏设置为就绪状态,将每艘船从 A 列到 E 列垂直放置。

文件下载

资源详情

[{"title":"( 34 个子文件 21KB ) battle-ships-online:与约翰尼的战舰-源码","children":[{"title":"battle-ships-online-master","children":[{"title":"features","children":[{"title":"starting_a_game.feature <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"placing_ships.feature <span style='color:#111;'> 323B </span>","children":null,"spread":false},{"title":"support","children":[{"title":"env.rb <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"paths.rb <span style='color:#111;'> 781B </span>","children":null,"spread":false}],"spread":true},{"title":"step_definitions","children":[{"title":"web_steps.rb <span style='color:#111;'> 6.41KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"battleships.rb <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"Gemfile <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"Gemfile.lock <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"views","children":[{"title":"battle.erb <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"layout.erb <span style='color:#111;'> 536B </span>","children":null,"spread":false},{"title":"board.erb <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"newgame.erb <span style='color:#111;'> 877B </span>","children":null,"spread":false},{"title":"get_player.erb <span style='color:#111;'> 281B </span>","children":null,"spread":false},{"title":"index.erb <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"place_ships.erb <span style='color:#111;'> 288B </span>","children":null,"spread":false}],"spread":true},{"title":"spec","children":[{"title":"water_spec.rb <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"board_spec.rb <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"player_spec.rb <span style='color:#111;'> 504B </span>","children":null,"spread":false},{"title":"cell_spec.rb <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"ship_spec.rb <span style='color:#111;'> 929B </span>","children":null,"spread":false},{"title":"game_spec.rb <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"game_setup.rb <span style='color:#111;'> 794B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"cell.rb <span style='color:#111;'> 140B </span>","children":null,"spread":false},{"title":"battleships.rb <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"board.rb <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"water.rb <span style='color:#111;'> 71B </span>","children":null,"spread":false},{"title":"player.rb <span style='color:#111;'> 147B </span>","children":null,"spread":false},{"title":"ship.rb <span style='color:#111;'> 390B </span>","children":null,"spread":false},{"title":"game.rb <span style='color:#111;'> 1010B </span>","children":null,"spread":false}],"spread":true},{"title":"public","children":[{"title":"css","children":[{"title":"general_styling.css <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"layout.css <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"normalize.css <span style='color:#111;'> 7.62KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 379B </span>","children":null,"spread":false},{"title":"config.ru <span style='color:#111;'> 99B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明