且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在C#控制台应用程序中进行纸牌游戏?

更新时间:2023-02-13 09:37:38

具有与GUI游戏相同的逻辑,但使用了控制台I/O(字母和数字)代表纸牌等.)
With the same logic you would use for the GUI game but using console I/O (letters and number representig the cards, etc...).


它的确取决于游戏和玩家数量.如果它是一个本地控制台应用程序,并且有不止一个人类玩家,那么公平地玩扑克之类的游戏可能是不可能的,或者至少是相当困难的.
It does sort of depends on the game and number of players. If it is a local console application, and there are more that one human players, it may not be possible, or at least pretty difficult, to play a game like poker fairly.


如何在c#控制台应用程序中进行纸牌游戏?"

好吧,让我们看看:
到卡-> 梳理是一种机械过程,它会破坏纤维的锁和无组织的团块,然后对齐各个纤维,使它们或多或少彼此平行.然后,这些有序的纤维可以传递到其他过程中,以进行梳理.graco.com graco.com特定于所需的最终纤维用途:棉絮,毛毡,毛纺或精纺纱线等." (来源:***有关梳理的文章)

因此,如果有问题的动物是一只毛茸茸的小兔子,那么打牌游戏应该非常容易,但是,如果您敢于尝试打野猪这样的游戏,那么打牌可能会变得非常讨厌和丑陋.或大鹿角和大鹿角.
无论如何,从手卡开始可能是***的选择,一旦掌握了手,就可以切换到鼓式梳理机.


认真的说,下一次在发布前先阅读规则.不要问如何做xyz项目",而要问一个有关您的问题的具体问题并付出一些努力.
"How to card game in c# console application?"

Well, let''s see:
to card -> "Carding is a mechanical process that breaks up locks and unorganised clumps of fibre and then aligns the individual fibres so that they are more or less parallel with each other. [...] These ordered fibres can then be passed on to other processes that are specific to the desired end use of the fibre: batting, felt, woollen or worsted yarn, etc." (source: Wikipedia''s article on Carding)

So carding game should be pretty easy, if the animal in question is, well, let''s say, a fluffy little rabbit, but will probably get really nasty and ugly, if you should dare to try to card such game as wild boar or maybe a big deer stag with large antlers.
Anyway, would be maybe best to start with hand cards, and as soon as you get the hang of it, you could switch to drum carders.


Seriously, next time read the rules before posting. Don''t ask for "how to do project xyz", but ask a specific question regarding your problem and show some effort.