
# test_paths.py - Run this first!
import os

print("Testing your game paths...")
print("="*50)

# Test Riddle Game
riddle_folder = "Riddle game by nadriekoda"
riddle_file = "riddle_game.py"
riddle_path = os.path.join(riddle_folder, riddle_file)

print(f"\n1. Riddle Game:")
print(f"   Folder exists: {os.path.exists(riddle_folder)}")
print(f"   File exists: {os.path.exists(riddle_path)}")
if os.path.exists(riddle_folder):
    print(f"   Contents of '{riddle_folder}':")
    for item in os.listdir(riddle_folder):
        print(f"     - {item}")

# Test Marble Game
marble_folder = "marbble game"
marble_file = "marble_game.py"
marble_path = os.path.join(marble_folder, marble_file)

print(f"\n2. Marble Game:")
print(f"   Folder exists: {os.path.exists(marble_folder)}")
print(f"   File exists: {os.path.exists(marble_path)}")
if os.path.exists(marble_folder):
    print(f"   Contents of '{marble_folder}':")
    for item in os.listdir(marble_folder):
        print(f"     - {item}")

print("\n" + "="*50)
print("If any say 'False', your files are in the wrong location!")
