Skip to content

vita-epfl/civil127-2025

Repository files navigation

EPFL CIVIL-127-2025

Course repo for EPFL CIVIL 127 Programming and software development for engineers.

Teachers: Prof. Alexandre Alahi and Alok.

Course Info: https://edu.epfl.ch/coursebook/fr/programming-and-software-development-for-engineers-CIVIL-127

Moodle Link: https://go.epfl.ch/CIVIL-127

File structure

The contents for the lab sessions are placed under the folders entitled Lab_X, which includes the lab instructions, solutions (as notebooks) and supplimentary materials. For setting up the environment, please go through the guides in Lab 1 folder, and a trouble-shooting guide for Windows is available there.

The solutions folder contains the answers to the exercises as Python files (more concise). For exercises related to the Sokoban game, the entry point is usually a file named sokoban.py. The script will load a game board from the levels folder (now placed in solutions), and the default path assumes that the codes will be run from the solutions folder. One can open the solutions folder in VS Code and use the "Run and Debug" function. Alternatively, one can also adjust the path in the codes. Besides, the tests can be run from solutions folder using python -m unittest exercise_n_n\test_file.py.

The solutions folder will be automatically zipped after each update, and one can find the solutions as a zip file as follows:

  1. Click on "Actions" tab at the top of this page.
  2. On the left side bar under "Actions" category, click on "Zip Solutions Folder"
  3. Click on the latest run, and click the download button on the "Artifacts" section