# Description
A multiplayer console game of battleship written in C for
the course: "Introduction to Computers II".
**This programme uses Greek Letters**
# Rules
1. This is a two player game.However each players uses his own computer and his own instance of this programme.
2. Player will be prompted to select the initial formation of his ships for the game board.
3. There are 6 types of formations to be placed.
4. The ship grid is printed and user should select which goes first: himself or the opponent.
5. The computer randomly selects where the next player's shot will hit(coordinates in GREEK).
6. When the enemy hits the player, user has to enter incoming shot coordinates(using GREEK letters).
7. The game begins as each player tries to guess the location of the ships of the opposing player's game board, [*] hit and [X] miss.
8. First player to guess the location of all ships wins.
没有合适的资源?快使用搜索试试~ 我知道了~
Battleship_Game:一个用C写的战舰多人主机游戏
共9个文件
txt:6个
license:1个
md:1个
需积分: 23 7 下载量 27 浏览量
2021-07-01
22:58:45
上传
评论
收藏 7KB ZIP 举报
温馨提示
描述 为课程使用 C 编写的战舰多人控制台游戏:“计算机入门 II”。 该程序使用希腊字母 规则 这是一个两人游戏。然而,每个玩家都使用自己的电脑和自己的程序实例。 玩家将被提示为游戏板选择他的船只的初始编队。 有6种类型的阵型可以放置。 船舶网格被打印出来,用户应该选择哪个先行:自己还是对手。 计算机随机选择下一个球员的射门将击中的位置(希腊语中的坐标)。 当敌人击中玩家时,用户必须输入传入的射击坐标(使用希腊字母)。 游戏开始时每个玩家都试图猜测对方玩家游戏板上的船只的位置,[*] 命中和 [X] 未命中。 第一个猜出所有船只位置的玩家获胜。
资源详情
资源评论
资源推荐
收起资源包目录
Battleship_Game-master.zip (9个子文件)
Battleship_Game-master
3.txt 109B
Battleship.c 12KB
4.txt 109B
LICENSE 1KB
6.txt 109B
README.md 906B
5.txt 109B
2.txt 109B
1.txt 109B
共 9 条
- 1
凌冽的风
- 粉丝: 30
- 资源: 4681
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0