Giter VIP home page Giter VIP logo

wild-life's Introduction

Wild-Life

Interactive Game of Life

This is my small lockdown-weekend project: my tribute to John Horton Conway - an interactive version of Life Game. I always wondered, how fun it would be to be able modify life's world in the runtime. So here it is: use your mouse to add new life forms.

Video demonstration:

Watch the video

What you need:

  • Python 3.8 or newer (should work on 3.6+, but I didn't test it)
  • Numpy (pip install numpy)
  • Scipy (pip install scipy)
  • OpenCV (pip install opencv-python)

It should run on any system where you can install Python with modules listed above, however I tested it only on Windows.

How to run it:

Run python3.exe wild_life.py (or equivalent on your system)

How use it:

  • Mouse-click anywhere to insert species
  • Mouse-click on the species list in the bottom to select species to be inserted
  • 1, 2, 3, 4 keys to change color map
  • Esc to exit

All configuration parameters are stored in the first part of wild_life.py file.

wild-life's People

Contributors

pawelbudziszewski avatar pmatias avatar

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.