Conway's Game of Life is a classic cellular automaton simulation, implemented for NumWorks calculators (N 100 and N 110) using Python and the Kandinsky package. This project was created to enhance my skills in handling matrices in Python and to develop a functional script for my NumWorks calculator.
- Matrix-Based Simulation: Uses a matrix to represent the game grid, with cells evolving based on Conway's rules.
- Adaptive Display: Dynamically adjusts the visualization to fit the screen of the NumWorks calculator.
- Customizable Parameters: Allows for different grid sizes and generation counts.
- Programming Language: Python
- Libraries Used: Kandinsky package for graphics on NumWorks calculators
To run the game on a NumWorks calculator, you can use the built-in emulator or install the script directly on your calculator. The project can be tested using the integrated emulator on the NumWorks website here. The basic command to start the simulation is:
start(generation, length, width)
You can specify three grid sizes: 16x10, 32x20, and 40x25. If you don't specify parameters, default values will be used:
start()
A PC version of the project is available in the pc vers directory for those who prefer to test it on a computer.
To see the game in action, visit the NumWorks website and test the project on the integrated emulator here. Click on the 'play' icon to start the simulation. Alternatively, use the PC version available in the 'pc vers' directory.
I welcome feedback and contributions to this project. Feel free to reach out via email, submit a pull request, or open an issue to share your thoughts or suggestions.
This project is licensed under the MIT License - see the LICENSE file for details.