Computer Science - Text-Based Programming - Python - While loops - The Infinite Hallway

A short story-game: 'You're in a hallway. There's a door at the end. You walk forward... but the hallway stretches! You keep walking...' The game shows a counter: Steps: 1, 2, 3... up to 20. Then it asks: 'Do you want to keep going? (Yes/No)'. If Yes, it keeps incrementing (showing it could go forev

Edodovivmagarwal
Computer Science - Text-Based Programming - Python - While loops - The Infinite Hallway
Log in

Preparing your experience...

Loading scripts and resources

Comments (0)

0/5000

Comments are reviewed before appearing publicly.

About this Experience

Computer Science - Text-Based Programming - Python - While loops - The Infinite Hallway

vivmagarwal
vivmagarwalJan 29, 2026

Description

A short story-game: 'You're in a hallway. There's a door at the end. You walk forward... but the hallway stretches! You keep walking...' The game shows a counter: Steps: 1, 2, 3... up to 20. Then it asks: 'Do you want to keep going? (Yes/No)'. If Yes, it keeps incrementing (showing it could go forev

Details

Computer ScienceText-Based Programming - PythonStage 7, Class 7, Class 7, Grade 7

Engagement

5

Likes

0

Remixes

0

Comments