本文介绍了在游戏编程方面需要帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Visual Basic中使用Visual C ++或Visual C#设计单元冲突游戏?


基本的问题是关于使用任何一种语言设计单元冲突游戏,我更喜欢使用视觉基础,该单元游戏应由网格上的2个玩家玩,使用N * N,每个玩家都从一个单元开始放置在棋盘的相对角上,一个单元占据一个图块,玩家1拥有的单元的颜色与2所玩的单元的颜色不同.玩家轮流通过
首先选择他/她的一个牢房.然后,玩家决定选定的单元格是否应该克隆到相邻的空白图块,或者该单元格是否应该跳过相邻的图块(不一定为空)到一个空白图块上.每当单元A出现在图块T上时,与T相邻的图块上的所有单元都将转换为A的颜色.交替出现时,玩家1进行移动,接着玩家2进行移动,接着玩家1 ...等,直到游戏结束.
请我只需要有关如何编写此代码的帮助:请帮帮我
[/Edit]

How can i design the cell conflict game using Visual C++ or Visual C# and in visual basic?


Basical the question is about designing a cell conflict game using any kind of a language,,,I prefer using visual basic,the cell game should be played by 2 players on the grid,using N * N,both players start with one cell each placed on opposite corners of the board, one cell occupies one tile, the cell owned by player 1 are of different color that that of the cells played by 2.A player takes his/her turn by
first selecting one of his/her cells. The player then decides whether the selected cell should clone to an adjacent empty tile or whether the cell should jump over the adjacent tiles (not necessarily empty) onto an empty tile. Whenever a cell A appears on a tile T all cells on tiles adjacent to T are converted to the colour of A. The turns alternate, player 1 makes a move followed by player 2 making a move followed player 1... etc. until the game ends.
Please i just need a help of how to code this: please help me out
[/Edit]

推荐答案

  • 弄清楚怎么做
  • 实施解决方案




这篇关于在游戏编程方面需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 14:49