Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 806 Bytes

README.md

File metadata and controls

38 lines (22 loc) · 806 Bytes

Game of life

An alternative implementation of the game of life using pyxel.

Requirements

Setup

  1. pyenv install 3.11.1
  2. poetry install
  3. poetry env use ~/.pyenv/versions/3.11.1/bin/python
  4. poetry shell
  5. python application.py

Pyxel related commands

The following commands are executed from the root of the project

Create package

pyxel package . ./application.py

The package can be tested by running

pyxel play game-of-life.pyxapp

Create html version

pyxel app2html game-of-life

Just copy the game-of-life.html path and try it out in a web browser.

Additional notes