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.
约翰·康威(John Conway)于1970年创造的《生命游戏》(Game of Life)是一款利用活细胞或死细胞组成网格的单人游戏。通过简单的互动规则,游戏会自动从玩家设定的初始配置演变而来。游戏发生在理论上无限的网格上,尽管在实践中,由于物理或编程的限制,使用有限的网格。每个单元都按照预定义的规则与其相邻单元相互作用。该项目使用JavaScript库React.js实现了一个图形界面,允许用户与Game of Life交互并观察生成的模式。创建了一个应用程序,该应用程序显示一个网格,其中可以应用不同的模式和配置,并且可以控制模拟速度。它是理解和研究复杂动态现象的模型。通过使用React.js等工具探索并将其应用于编程,可以更好地理解动态系统和模式生成。所获得的结果展示了游戏随时间的演变,产生了不断变化的模式,并展示了突发行为的复杂性和多样性。