Game of life simulation with React.js

José Humberto ABRIL-GARCÍA, Juan Carlos GRIJALVA-ACUÑA, Adelina del Carmen Violeta ALCÁNTAR-MARTÍNEZ, Iván Dostoyewski MEZA-IBARRA
{"title":"Game of life simulation with React.js","authors":"José Humberto ABRIL-GARCÍA, Juan Carlos GRIJALVA-ACUÑA, Adelina del Carmen Violeta ALCÁNTAR-MARTÍNEZ, Iván Dostoyewski MEZA-IBARRA","doi":"10.35429/jcsi.2023.24.9.9.15","DOIUrl":null,"url":null,"abstract":"The Game of Life, created by John Conway in 1970, is a solitary game that utilizes a grid of living or dead cells. Through simple rules of interaction, the game evolves automatically from an initial configuration set by the player. The game takes place on a theoretically infinite grid, although in practice, a finite grid is used due to physical or programming limitations. Each cell interacts with its neighbors following predefined rules. This project employed the JavaScript library React.js to implement a graphical interface that allows the user to interact with the Game of Life and observe the generated patterns. An application was created that displays a grid where different patterns and configurations can be applied, and the simulation speed can be controlled. It serves as a model for understanding and studying complex and dynamic phenomena. By exploring and applying it in programming using tools like React.js, a better understanding of dynamic systems and pattern generation can be obtained. The obtained results showcase the evolution of the game over time, generating changing patterns and demonstrating the complexity and diversity of emergent behaviors.","PeriodicalId":498313,"journal":{"name":"Revista de sistemas computacionales y TIC's","volume":"29 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-08-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Revista de sistemas computacionales y TIC's","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.35429/jcsi.2023.24.9.9.15","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The Game of Life, created by John Conway in 1970, is a solitary game that utilizes a grid of living or dead cells. Through simple rules of interaction, the game evolves automatically from an initial configuration set by the player. The game takes place on a theoretically infinite grid, although in practice, a finite grid is used due to physical or programming limitations. Each cell interacts with its neighbors following predefined rules. This project employed the JavaScript library React.js to implement a graphical interface that allows the user to interact with the Game of Life and observe the generated patterns. An application was created that displays a grid where different patterns and configurations can be applied, and the simulation speed can be controlled. It serves as a model for understanding and studying complex and dynamic phenomena. By exploring and applying it in programming using tools like React.js, a better understanding of dynamic systems and pattern generation can be obtained. The obtained results showcase the evolution of the game over time, generating changing patterns and demonstrating the complexity and diversity of emergent behaviors.
生活模拟游戏与React.js
约翰·康威(John Conway)于1970年创造的《生命游戏》(Game of Life)是一款利用活细胞或死细胞组成网格的单人游戏。通过简单的互动规则,游戏会自动从玩家设定的初始配置演变而来。游戏发生在理论上无限的网格上,尽管在实践中,由于物理或编程的限制,使用有限的网格。每个单元都按照预定义的规则与其相邻单元相互作用。该项目使用JavaScript库React.js实现了一个图形界面,允许用户与Game of Life交互并观察生成的模式。创建了一个应用程序,该应用程序显示一个网格,其中可以应用不同的模式和配置,并且可以控制模拟速度。它是理解和研究复杂动态现象的模型。通过使用React.js等工具探索并将其应用于编程,可以更好地理解动态系统和模式生成。所获得的结果展示了游戏随时间的演变,产生了不断变化的模式,并展示了突发行为的复杂性和多样性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信