骰子游戏 [英] Dice Game

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

问题描述

嗨.为您提供了另一个应用程序.几周前我发布的家用电器审核员"计划为大家提供的帮助表示由衷的感谢.真正地帮助我从原本的地方清除了我的代码.我改变了很多编码方式.到 帮助加快我对合法程序员的学习方式,希望你们中的一些人可以根据您的多年经验提供进一步的见识,以帮助再次指导我.

Hey guys. got another app for ya'll to nitpick. truly appreciate the help you all gave with the Home Appliance Auditor program I posts a few weeks back. Truly helped clean up my code from where it was originally. I changed A LOT of my ways in coding. To help accelerate my approach to a legit programmer, I hope some of you can provide further insight, from your years of experience, to help guide me once again. 

该程序用于掷两个骰子,共100次,并列出所掷的骰子对.他们被扔到的那卷,以及那对是什么.简单的.这是上周我上交的学校作业.下周是工厂设计 (我完全知道曾经有过编码方面的知识,但这是另一天的事情.)

This program is meant to roll two dice, 100 times, and list the pairs that were thrown. the roll on which they were thrown, and what the pair was. Simple. This is a school assignment for the previous week, that I had turned in. next week is factory design (which I have absolutely know knowledge of ever being a thing in coding, but that's for another day). 

家用电器审核程序中的代码在vb.NET中.在得知C#更强大之后,C#是我从现在开始使用的语言,从下面的程序开始.同样,请随意挑剔任何会被视为 不好的做法.我知道这是一个简单的程序,但我只是进入C#.在这一点上,任何指导对我来说都是非常有价值的.

The code in the Home Appliance Auditing program was in vb.NET. After being informed that C# was more robust, C# is the language that I will be using from now on, starting from the below program. Again, feel free to nitpick anything that would be seen as poor practice. I know it is a simple program, but I am just getting into C#. Any guidance is highly valuable to me at this point.

再次感谢您的帮助!

JT

推荐答案

您应该尝试使用C#论坛.
You should try a C# forum probably.


这篇关于骰子游戏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆