康威的生命游戏
我目前正在写一个关于康威生命游戏的程序,我真的是Python的初学者,我根本不知道如何开始。 有人可以帮我吗?
I am currently writting a programe about Conway's Game of life and I am really a beginner of python, I don't know how to start at all. Anybody can help me with it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
http://plife.sourceforge.net/
把 50 英镑寄给我:)
(我开玩笑的, 当然)
http://plife.sourceforge.net/
Send the 50 quid to me :)
(I'm kidding, of course)
你可能不需要付费来学习Python。 实施元胞自动机有助于良好的启动项目。 开始学习 Python 的最佳位置是 官方教程,您可以按照 深入了解 Python。
答案此处和这里也可能有帮助。
如果你能忍受自夸和对神的宣称Wolfram 的书是一本这是了解元胞自动机的好方法,但不要太认真地对待这本书本身(这是一个单独的问题,可以填满几篇博客文章)。 他还有一套关于这些内容的论文,并以书的形式出版这涉及所有细节。 当然,如果您只是搜索元胞自动机和康威游戏,您会发现无数的实现和解释。
You probably don't need to pay to learn python. Implementing cellular automata makes for good starting project. The best place to start with python is the official tutorial and you can follow that with dive into python.
The answers here and here may be helpful as well.
If you can bear the self-praising and claims to godness Wolfram's book is a good way to get a feel for cellular automata, but don't take the book itself too seriously (that's a separate issue that can fill several blog posts). He also has a set of papers on this stuff that is published as a book that goes into all the details. And of course if you just google for cellular automata and Conway's game you'll find a myriad of implementations and explanations.
您可能会在这里获得一些很好的文档: http://www.imdb.com/title/tt0085959 /。
You'll probably get some good documentation here : http://www.imdb.com/title/tt0085959/.
我碰巧发布了一篇关于在 XAML 中实现 John Conway 的生命游戏的 博客/使用嵌入式 Python 的 WPF。 您可能对此感兴趣。
I happened to post a blog on implementing John Conway's Game of Life in XAML/WPF using embedded Python. It might be of interest to you.
试试这里吧。
http://www.elance.com/p/landing/buyer.html
http://www.rentacoder.com/RentACoder/DotNet/default.aspx
在这些地方,您可以雇用人员为您做小型自由职业。
try here instead.
http://www.elance.com/p/landing/buyer.html
http://www.rentacoder.com/RentACoder/DotNet/default.aspx
These are places where you can hire people to do small freelance work for you.
pygame.org 网站上有一些人已经完成了他们的生命游戏版本。 也许他们会有所帮助:
Pygame.org - 搜索“life”
There's a few people on the pygame.org website who've done their versions of the game of life. Maybe they'll be of help:
Pygame.org - search "life"