board game作业代写、代写board game程序、C程序代写

board game作业代写、代写board game程序、C程序代写
Watch Your Back! is a fast-paced combat board game. You control a team of ruthless rogues
engaged in a fight to the death against your enemies. Within the confines of a checkerboard
there is no rulebook and no referee, and the easiest way to a cut down an enemy is to stab
them in the back. Control your lawless warriors to jump and slash their way around the board
surrounding and silencing your enemies until none remain. And, of course, watch your back!
Board
Watch Your Back! plays on an 8x8 board made of 64 squares. Squares are labelled by
their column and row numbers, starting with square (0,0) in the top-left corner of the board.
Column indices increase to the right, and row indices increase down the board.
0 1 2 3 4 5 6 7
0 0,0 1,0 2,0 3,0 4,0 5,0 6,0 7,0
1 0,1 1,1 2,1 3,1 4,1 5,1 6,1 7,1
2 0,2 1,2 2,2 3,2 4,2 5,2 6,2 7,2
3 0,3 1,3 2,3 3,3 4,3 5,3 6,3 7,3
4 0,4 1,4 2,4 3,4 4,4 5,4 6,4 7,4
5 0,5 1,5 2,5 3,5 4,5 5,5 6,5 7,5
6 0,6 1,6 2,6 3,6 4,6 5,6 6,6 7,6
7 0,7 1,7 2,7 3,7 4,7 5,7 6,7 7,7
Figure 1: Squares of the board, labelled to demonstrate the coordinate system.
In addition, the special squares (0,0), (7,0), (0,7) and (7,7) are called corner squares.
Gameplay
Two players (Black and White) play the game. Each player controls 12 pieces (each piece
represents one ‘fighter’ on a player’s ‘team’). Initially, there are no pieces on the board. In
the first part of the game, the players take turns placing their pieces onto the board during a
placing phase. Then the players take turns moving their pieces around the board during a
moving phase. In both phases, players can eliminate opponent pieces by surrounding
them with two of their own pieces (the surrounded ‘fighter’ will be ‘stabbed in the back’). The
aim of the game is to eliminate all of the opponent’s pieces.
The details of the placing phase, the moving phase, piece elimination and winning the game
are all explained throughout the rest of these rules. Read on!
Placing phase
The game starts with a placing phase. In the placing phase, players take turns putting their
pieces on the board. White has the first turn in the placing phase.
On each turn, one player places one piece in any unoccupied square within their starting
zone. White’s starting zone includes all squares in the top 6 rows of the board except for the
top corners (0,0) and (7,0) (figure 2a). Black’s starting zone includes all squares in the
bottom 6 rows except for the bottom corners (0,7) and (7,7) (figure 2b).
0,0 1,0 2,0 3,0 4,0 5,0 6,0 7,0 0,0 1,0 2,0 3,0 4,0 5,0 6,0 7,0
0,1 1,1 2,1 3,1 4,1 5,1 6,1 7,1 0,1 1,1 2,1 3,1 4,1 5,1 6,1 7,1
0,2 1,2 2,2 3,2 4,2 5,2 6,2 7,2 0,2 1,2 2,2 3,2 4,2 5,2 6,2 7,2
0,3 1,3 2,3 3,3 4,3 5,3 6,3 7,3 0,3 1,3 2,3 3,3 4,3 5,3 6,3 7,3
0,4 1,4 2,4 3,4 4,4 5,4 6,4 7,4 0,4 1,4 2,4 3,4 4,4 5,4 6,4 7,4
0,5 1,5 2,5 3,5 4,5 5,5 6,5 7,5 0,5 1,5 2,5 3,5 4,5 5,5 6,5 7,5
0,6 1,6 2,6 3,6 4,6 5,6 6,6 7,6 0,6 1,6 2,6 3,6 4,6 5,6 6,6 7,6
0,7 1,7 2,7 3,7 4,7 5,7 6,7 7,7 0,7 1,7 2,7 3,7 4,7 5,7 6,7 7,7
Figure 2a: White’s starting zone Figure 2b: Black’s starting zone
Each starting zone includes all of the squares shaded in grey.
When a player places a piece, zero or more pieces may be eliminated. A piece is eliminated
if it is surrounded on two sides (horizontally or vertically) by enemy pieces or corners.
For example: Figure 3a shows a Black piece surrounded vertically by two White pieces. The
Black piece is eliminated. Figure 3b shows a White piece surrounded horizontally by two
Black pieces. The White piece is eliminated. Figure 3c shows a Black piece surrounded
vertically by a White piece and a corner. The Black piece is eliminated.
W W
B B W B B
W X
(a) (b) (c)
Figure 3: Three configurations that will lead to the elimination of a piece.
Black pieces are marked with B, White pieces with W, and corner squares with X.
A piece is not eliminated if it is surrounded diagonally or on two sides that are not vertically
or horizontally opposite. A piece is not eliminated if it is surrounded by non-enemy pieces.
For example, figure 4a shows a Black piece surrounded diagonally by two White pieces.
The Black piece is not eliminated. Figure 4b shows a White piece surrounded by two Black
pieces; one above and one on the left. This White piece is not eliminated. Figure 4c shows
a Black piece surrounded horizontally by one White piece (on its right) and one Black piece
(on its left). The surrounded Black piece is not eliminated.
W B
B B W B B W
W
(a) (b) (c)
Figure 4: Three configurations that will not lead to the elimination of a piece.
Black pieces are marked with B, White pieces with W.
Placing a single piece may eliminate multiple enemy pieces if it causes them all to become
surrounded as per the above description. For example, if White places a piece in the square
marked 1 in figure 5a, both the Black pieces will be eliminated.
Placing a piece may lead to the piece itself being eliminated if it is placed on a square that
is already surrounded. For example, if Black places a piece in the square marked 2 in figure
5b, this piece will be surrounded by White pieces and will be eliminated immediately.
However, a piece always gets to surround and eliminate nearby pieces before it is eliminated
itself. For example, if Black places a piece in the square marked 3 in figure 5b, this piece is
not eliminated because it will surround and eliminate the White piece on its left first.
W W
B 2
1 B W B W 3 W
(a) (b)
Figure 5: Two notable configurations that demonstrate special cases in the elimination rules.
Black pieces are marked with B, White pieces with W.
Once each player has placed 12 pieces on the board (regardless of how many of their pieces
remain on the board), the placing phase ends and the game continues to the moving phase.
Moving phase
In the moving phase, players take turns moving their pieces around the board. Like in the
placing phase, White has the first turn in the moving phase.
On each turn, one player moves one of their own pieces into a nearby unoccupied square.
An unoccupied square is any non-corner square without a Black or White piece. In the
moving phase, either player can move their pieces to squares outside of their starting zone.
A player can move their piece to a square above, below, or to the right or left of its current
square (as long as these squares are unoccupied). They cannot move a piece diagonally.
For example, in figure 6a, the White player can move their right piece up into the square
marked 1. They cannot move it down because the square below its current square is a
corner square. They cannot move it left because the square to its left is occupied by another
White piece. They cannot move it right because there is no square to its right. The White
player can move the left White piece up into the square marked 2. They cannot move it left,
right or down because the corresponding squares are all occupied by White or Black pieces.
2 1 8 1 2
B W W 7 W W B 3
B X 6 5 W 4
(a) (b)
Figure 6: Two board configurations showing available squares for White pieces to move to.
Black pieces are marked with B, White pieces with W, and corner squares with X.
A player may instead make their piece jump over a horizontally or vertically adjacent piece
into the square opposite that piece (as long as the opposite square is unoccupied).
For example, in figure 6b, the White player can move their middle piece into either of the
squares marked 1 and 5, as per the above description. However, they may alternatively
make this piece jump over the Black piece to its right into the square marked 3. Or, they can
jump over the leftmost White piece into the square marked 7. Similarly, the rightmost White
piece can move left or right (into the 5 and 4 squares), or jump over the Black piece into the
square marked 2 on the other side of the Black piece. The White player can move the
leftmost White piece down, left or up (into 6, 7 or 8). However, this piece cannot jump over
the White piece to its right because the opposite square is occupied (by the Black piece).
It is possible that none of a player’s pieces will have any available squares to move to on
the player’s turn. If this is the case, the player must forfeit their move and play continues
with the other player’s next turn. In all other cases, a player must make exactly one move
(one regular move or one jump) on each of their turns in the movement phase.
Each time a player moves a piece, zero or more pieces may be eliminated according to the
same rules as for elimination in the placing phase.
After 128 moves take place in the movement phase including any forfeited moves (after 64
moves for each player) the board shrinks: The outermost squares are removed from the
board and the squares (1,1), (6,1), (1,6) and (6,6) become corner squares. Any pieces
located on any of these squares are eliminated (affected squares are shaded in figure 7a).
0,0 1,0 2,0 3,0 4,0 5,0 6,0 7,0 0,0 1,0 2,0 3,0 4,0 5,0 6,0 7,0
0,1 1,1 2,1 3,1 4,1 5,1 6,1 7,1 0,1 1,1 2,1 3,1 4,1 5,1 6,1 7,1
0,2 1,2 2,2 3,2 4,2 5,2 6,2 7,2 0,2 1,2 2,2 3,2 4,2 5,2 6,2 7,2
0,3 1,3 2,3 3,3 4,3 5,3 6,3 7,3 0,3 1,3 2,3 3,3 4,3 5,3 6,3 7,3
0,4 1,4 2,4 3,4 4,4 5,4 6,4 7,4 0,4 1,4 2,4 3,4 4,4 5,4 6,4 7,4
0,5 1,5 2,5 3,5 4,5 5,5 6,5 7,5 0,5 1,5 2,5 3,5 4,5 5,5 6,5 7,5
0,6 1,6 2,6 3,6 4,6 5,6 6,6 7,6 0,6 1,6 2,6 3,6 4,6 5,6 6,6 7,6
0,7 1,7 2,7 3,7 4,7 5,7 6,7 7,7 0,7 1,7 2,7 3,7 4,7 5,7 6,7 7,7
Figure 7a: Death zone 128 Figure 7b: Death zone 192
Any pieces on shaded squares are eliminated. The lightly shaded squares are
removed from the board. The darker shaded squares become corner squares.
After a further 64 moves take place (so after a total of 192 moves, or 96 moves each), the
board shrinks again: The outermost remaining squares are removed from the board and the
squares (2,2), (2,5), (5,2) and (5,5) become corner squares. Again, any pieces located on
any of these squares are eliminated (affected squares are shaded in figure 7b).
The transformation of squares into corner squares during this shrinking process may result
in zero or more pieces being eliminated. The rules for these new corner squares eliminating
pieces are the same as the rules for placing enemy pieces during the placing phase. That
is, a piece next to a new corner square is eliminated if there is an enemy piece on its opposite
side (the side opposite the new corner piece). New corner squares eliminate nearby pieces
in order starting with the top-left new corner square and proceeding counter-clockwise
around the board. That is, the new corner squares eliminate nearby squares in the order:
top-left, bottom-left, bottom-right, top-right.
End of the game
The game ends if either player has fewer than 2 pieces remaining. In this case, the player
with 2 or more pieces remaining wins the game. If both players have fewer than 2 pieces
remaining as a result of the same turn (for example, due to multiple pieces being eliminated
during the shrinking of the board), then the game ends in a tie.
Questions and clarifications
If you have any questions about the rules of Watch Your Back! please direct them to the
LMS Discussion Board. Furthermore, please note that this document is subject to
corrections and clarifications which will be published through the LMS.
http://www.daixie0.com/contents/13/1322.html

本团队核心人员组成主要包括硅谷工程师、BAT一线工程师,国内Top5硕士、博士生,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。

我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全  汇编语言 硬件编程 软件设计 工程标准规等。其中代写代做编程语言或工具包括但不限于以下范围:

C/C++/C#代写

Java代写

IT代写

Python代写

辅导编程作业

Matlab代写

Haskell代写

Processing代写

Linux环境搭建

Rust代写

Data Structure Assginment 数据结构代写

MIPS代写

Machine Learning 作业 代写

Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导

Web开发、网站开发、网站作业

ASP.NET网站开发

Finance Insurace Statistics统计、回归、迭代

Prolog代写

Computer Computational method代做

因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected]

微信:codinghelp

原文地址:https://www.cnblogs.com/beautyful/p/8992753.html

时间: 2024-11-23 09:38:27

board game作业代写、代写board game程序、C程序代写的相关文章

作业1+2.四则运算(改进后完整版,用python写的)_064121陶源

概述: 用一个星期加上五一的三天假期自学了python,在Mac系统上重新写出了四则运算的程序,编译器是PyCharm,相当于完成了作业2.d)"选一个你从来没有学过的编程语言,试一试实现基本功能"这个方向. 用python写的这个程序能实现分数的加减程序,实现带加减乘除和括号的计算题,实现随机生成100道简单计算题,比之前用C++写的程序功能更加完善,更加简洁! 关键点: 调用两个模板. 1)类似C++和Java,格式是 对象.方法(),Fraction()方法,能直接表示分数. 2

从零开始写一个arm下的裸板程序

从零开始写一个arm下的裸板程序.我们整个程序是基于uboot运行的. 所有我们可以借助uboot中的printf来输出,默认开发版的标准输出是串口. 电脑的默认标准输出的屏幕. 1.需要创建的文件由include文件夹,用来存放头文件. 2.创建一个hw.h头文件. 3.编写一个common.h,它定义了借用uboot的printf的宏.和NULL这个宏的定义. 4.hw.c 硬件相关的文件. 5.main.c c文件. 6.start.s 汇编文件. 7.ld.lds 链接脚本, 8.Mak

写JQuery 插件 什么?你还不会写JQuery 插件

http://www.cnblogs.com/Leo_wl/p/3409083.html 前言 如今做web开发,jquery 几乎是必不可少的,就连vs神器在2010版本开始将Jquery 及ui 内置web项目里了.至于使用jquery好处这里就不再赘述了,用过的都知道.今天我们来讨论下jquery的插件机制,jquery有着成千上万的第三方插件,有时我们写好了一个独立的功能,也想将其与jquery结合起来,可以用jquery链式调用,这就要扩展jquery,写成插件形式了,如下面就是一个简

一个Java写的批量重命名文件小程序

今天学了一下java的File操作,然后乘着兴趣,写了一个可以批量处理文件命名的小程序,小程序还有一些不完美的地方,但胜在有趣.比如可以快捷更改你不想让别人看到的文件之类的...限个人使用,造成数据丢失后果自负哟. import java.io.File; import java.sql.Date; import java.util.Scanner; public class RenameTool { boolean useDefaultName = false; boolean useDefa

如何成为一个优秀的程序员(大部分写的都非常不错)——要勤快,不停的学习;争论是无意义的,不如把两种都学了,会更有收获。

在看这份FAQ之前,你必须先读完ESR的<如何成为一名黑客>(本文末尾附有中译版),该文所讲过的道理我不再重复.该文用很大的篇幅讲什么是黑客文化,虽然态度和信仰的确是成功的最关键因素,但是你肯定会想,做不做黑客跟我没关系,我只是想学个一技之长,找个好工作而已,对吧?那么肯定更希望获得一些具体的可操作的指导.     1.各种软件技术之间是怎样的关系? 我把软件技术分为三个层次:    问题域:计算机图形学.音视频编码.信息安全.模式识别.信息检索.自然语言分析.人工智能.科学计算等:     

我需要完全理解这部分代码才能确保它能够正常工作,如果由我来修复代码中的问题,我是不会这么写的,因此希望你也不要这么来写(转)

Jim Bird是一位经验丰富的软件开发经理.项目经理与CTO,专注于软件开发与维护.软件质量与安全等领域中疑难问题的解决.在过去的15年间,Jim曾管理过团队建设并主导过高性能的财务系统的建设.他的主要兴趣在于如何提升小团队的效率以构建真正的软件:高质量.安全.可靠.高性能及适应性强.近日,Jim撰写了一篇博文,谈到了代码审查的价值,如何进行代码审查,代码审查的过程以及在代码审查中需要注意的问题,希望能为大家平日的代码审查带来一些启示. 开始代码审查 从一开始,开发者就会互相帮助,如果测试中遇

比尔&#183;盖茨写的最古老程序曝光:BAT程序员膜拜 #精选程序人生

比尔·盖茨31岁,就成为世界首富.很多人好奇,作为世界第一大PC系统的创始人,抛弃世界首富的头衔,单单从程序员角度来讨论,比尔盖茨的代码水平如何? 其实,比尔·盖茨对写代码有一种狂热的喜好.上高中的时候,为了获得源代码,比尔·盖茨曾经去翻垃圾桶. 据了解,在 1978 年的 Microsoft BASIC 源代码 6502 中,比尔·盖茨实现了 FOR 和 GOSUB 的所有 BASIC 语句,函数,运算符,表达式评估,堆栈管理,内存管理器,数组和字符串库. 昨日,编程网站 w3cschool

从前有一个程序员,成天写代码,后来,他屎了。。。

从前有一个程序员,成天写代码,后来,他屎了 1.一门可以靠手艺混饭的专业 你好,非常荣幸能够步入改变世界的软件开发行业,接下来我们聊点正经的.回首近7-8年来的时光,发现自己可能将要走向程序员这条道路的时候最早可以追溯到2008年高考完填写志愿,那时候分数所迫,二本学校的好专业都上不了,我就想有什么专业是可以不靠学校名声而靠自己努力成就一番霸业的?思来想去选择了–计算机,作为第二志愿...显然那时候会计这个专业更火一些. 入学一年以后我有了自己第一台笔记本电脑,然而第一个装上的应用程序居然就是魔

分享一个从国外网站看到的socket程序,程序并不强悍,但能从代码中看到老外是怎么写代码的,咱可以取长补短

原文:分享一个从国外网站看到的socket程序,程序并不强悍,但能从代码中看到老外是怎么写代码的,咱可以取长补短 源代码下载地址:http://www.zuidaima.com/share/1550463702764544.htm package com.zuidaima.xs; /**************************************************************** * Version : 1.0 * Date : 02/03/2007 * Autho