Step 5 of 12
Plan the files
A game gets messy fast if all the code is in one big file. We'll use four small files, each with one job. Create these now (empty is fine). The bobgame folder inside the bobgame folder is on purpose, it's called a package.
bobgame/
requirements.txt
main.py <- the start button
bobgame/
__init__.py <- empty, tells Python this folder is a package
settings.py <- numbers and colours we might want to tweak
player.py <- Bob: where he is, how he moves, how he looks
game.py <- the window and the game loop
In VS Code right-click in the left panel and choose New Folder / New File.