人生游戏守则 [英] Code for Game of Life

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

问题描述



我需要用C#编写游戏的算法和代码....否则,如果您能告诉什么类和数据结构适合于实现,那就没问题了.

谢谢
问候,
Shakaib Tariq

Hi,

I need the algorithm and code for game of life in C#....or it will be fine if you can tell what classes and data structures would be suitable for the implementation.

Thanks
Regards,
Shakaib Tariq

推荐答案

您可以随时尝试
You could always try Google[^]
I know, it''s a bit cruel expecting you to learn to do your own research, but hey! It''s a cruel world...


我认为您的方法没有道理.

这是一个非常有趣的项目,但是您可以进行研究,或者甚至更好地尝试自己设计.复制别人建议的类和结构并不是很有趣.

这个游戏的吸引力在于它非常有趣,并且其软件实现也非常有趣.特别是,针对此游戏的有效数据结构设计是一个有趣的问题.如果您自己尝试这样做,您将学习(或发明)大量重要技术.

我建议您这样做并发布结果.如果您遇到困难,请提出问题,我们很乐意为您提供帮助.

—SA
I don''t think your approach makes sense.

This is a pretty interesting project, but you can do your research or, even better, try to design it by yourself. Reproducing classes and structures which someone else suggests is not really interesting.

The attractiveness of this game is that is is very interesting, and software implementation of it is also very interesting. In particular, the design of effective data structures for this game is an interesting issue. If you try to do it yourself, you will learn (or invent) a pretty big deal of important techniques.

I suggest you do it and publish your results. If you get stuck, ask a question, we would gladly try to help you.

—SA


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

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