Giter Site home page Giter Site logo

badgameoflife's Introduction

Bad Game of Life

Conway's Game Of Life, but made by me in a very ugly and inefficient way. Still, I am proud! I want to share my appreciation to cellular automata with anyone who comes across this repo. If you are intrigued, you check these sources for more info and some fun:

Inventing Game of Life (John Conway) - Numberphile

Play John Conway's Game of Life

GUI

Rules

  • Each cell is either DEAD or ALIVE
  • A cell's neighbours are horizontally, vertically and diagonally adjacent to the cell in question
  • Each cell is affected by its neighbours in each iteration:
    • For a living cell:
      • The cell dies if less than 2 of its neighbours are alive. This mimics loneliness
      • The cell survives if 2 or 3 of its neighbours are alive. This mimics a balanced population
      • The cell dies if more than 3 of its neightbours are alive. This mimics overpopulation
    • For a dead cell:
      • The cell becomes alive if exactly 3 of its neighbours are alive. This mimics birth
      • The cell remins dead otherwise

Why is it interesting?

I find it interesting to see finite systems with very basic rules creating very complex results that mimic life. It is in a way how our own bodies work with fundamental physical properties of dead particles. It drives me to think about the emergence of life, intelligence and conciousness.

The best thing about Game of Life is its popularity, which makes it quite accessible. But it is not the only cellular automaton. There are also other cellular automata with different rules that can give rise to more interesting results. Some of them can even create basic virtual ecosystems. So I think studying cellular automata can help us underpin the most fundamental properties of life, death, how they come to being and how they interact with both each other and the environment.

Remarks

I will work on this to improve the user interface and add the essential functionality of the play/pause button some time. I am also planning to develop a more capable application in which the user can adjust the rules and see for themselves how different cellular automata work, submit newly-discovered interesting structures to a database for everyone else to access. But it would be too difficult for me right now, so I will wait for the appropriate time. I hope I was able to spark an interest in you for cellular automata. ENJOY!

dorudoruDark

@ulasdilek

badgameoflife's People

Contributors

ulasdilek avatar

Stargazers

Yavuz Alp Sencer ÖZTÜRK avatar Yusuf KESMEN avatar Semih Akkoç avatar Ali Hakim Taşkıran avatar Ali Cevat ERÇAL avatar  avatar

Watchers

 avatar

badgameoflife's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.