EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
数据结构代写
您的位置: 主页 > 编程案例 > 数据结构代写 >
代写数据结构:一个掷骰子的gui matlab计算机视觉游戏编程期末project代写 - 数据结构代写
发布时间:2021-07-25 10:47:13浏览次数:
Left Center Right (also known as LCR), is a dice game for three or more players, and is entirely a game of chance.At the beginning, each player receives at least 3 chips and seats to form a circle, in order to make sure every player has one on his/her left and one on his/her right. Players take it in turn to roll three six-sided dice, each of which is marked with L , C , R on one side, and a single dot on the three remaining sides. For each L or R thrown, the player must pass one chip to the player to his left or right, respectively. A C indicates a chip to the center (pot). A dot has no effect.If a player has fewer than three chips left, he is still in the game but his number of chips is the number of dice he rolls on his turn, rather than rolling all three. When a player has zero chips, he passes the dice on his turn, but may receive chips from others and take his next turn accordingly. The player who does not receive chips after two passes is out of the game. Winner is the last player with chips left.What’s special:In our LCR game, numbers of players and chips are flexible to fit any circumstance. For instance, there can be 4players in a game at once while the number of chips could be limit to a relatively small amount to make sure the game end in a comparatively short time.Meanwhile, various of visual and auditory effects including animation would make a LCR game more user-friendly. The initial interface (start-up screen), including buttons and instruction, would be equipped with animation. Audio effect would also be added to increase human-computer interaction.Programming Tasks:User Interface:Buttons to start, pause and restart the game, animation of rolling dice and passing chips, displaying of dice results, gamers’s remainingchips, and out and victory messages and effects.Function 1:Let user to enter the number of players and initial chipsFunction 2: Link to the button which triggers the animation of rolling diceFunction 3: Bring the random output of rolling dices(L,R,C,·); display sounds and animationsFunction 4: Distribute chips according to the output; display sounds and animationsFunction 5: Count and show the result (number of chips each player hold) after the distribution with sounds and animationsFunction 6: Test whether the number of chips each player hold fit the requirement of game (chip 0 || (chip=0 pass 2)). If not(chip=0 pass =2), the player will quit the game with the animation on user interface.Function 7: Test the number of player. If (player ==1), quit the loop of throwing dices and the last player become winner. (Display sounds and animations at user interface)Function 8: Link to the button which resets the data and restart the gameFunction 9: Link to the button which quits the project以上发布均为题目,为保证客户隐私,源代码绝不外泄!!)代写计算机编程类/金融/高数/论文/英文本网站支持淘宝 支付宝 微信支付 paypal等等交易。如果不放心可以用淘宝或者Upwork交易!E-mail:[email protected]微信:BadGeniuscs 工作时间:无休息工作日-早上8点到凌晨3点如果您用的手机请先保存二维码到手机里面,识别图中二维码。如果用电脑,直接掏出手机果断扫描。

所有的编程代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供C语言代写、代写C语言、C语言代做、代做C语言、数据库代写、代写数据库、数据库代做、代做数据库、Web作业代写、代写Web作业、Web作业代做、代做Web作业、Java代写、代写Java、Java代做、代做Java、Python代写、代写Python、Python代做、代做Python、C/C++代写、代写C/C++、C/C++代做、代做C/C++、数据结构代写、代写数据结构、数据结构代做、代做数据结构等留学生编程作业代写服务。