Skip to content

andwak/coding-games-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This project has been created to implement the excersizes found in the book 'Coding Games in Python'.

Prerequisities

Envrionment Details

  • Windows 10
  • Python 3.12
  • pygame 2.5.2
  • pgzero 1.2.1

Install Python

Install Python from the Python website or from the Microsoft store.

Install pygame

Install pygame using pip.

pip install pygame

Install pgzero

Install pgzero using pip.

pip install pgzero

Docker Image Incompatibility

The environment can not be easily hosted in a docker environment due to GUI requirements. I considered it too much effort to pursue.

Executing the Code

In order to execute the python code execute the python file as a parameter of the python tool.

python <folder>/<file>.py

Chapter 1 Examples

python chapter1/hello.py

Chapter 2 Examples

python chapter2/numbers.py

python chapter2/strings.py

python chapter2/lists.py

About

Environment for coding games book

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages