Skip to content

rkntan/coderetreat_2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Coderetreat 2023 - Game of Life

Prerequisites

You can install these dependencies using pip:

pip install pytest pytest-cov pytest-mock==3.3.1 pygame

Project Structure

The project has the following structure:

coderetreat-2023-game-of-life/
├── app/
│   └── main.py
├── tests/
│   └── test_gol.py
├── README.md
  • app/main.py: This is the main file of the Game of Life application.
  • tests/test_gol.py: This is the test suite for the Game of Life.

Running Tests

We use pytest for running our tests. To execute the test suite, open a terminal, navigate to the project's root directory, and run the following command:

pytest

This will discover and run all the tests in the tests/ directory. The pytest-cov plugin is also included, which will generate code coverage reports.

Running the Game

To run the Game of Life, you can execute main.py:

python app/main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages