ZDDduesseldorf / zdd-adventure-test

Student project to create an old-school text adventure.
MIT License
4 stars 4 forks source link

Buffer problem in graphics solved and created closed_room_first_floor.py #42

Closed Lizoug closed 1 year ago

Lizoug commented 1 year ago
  1. I added sys.stdout.flush() to graphics.py, which forces it to "flush" the buffer, meaning that it will write everything in the buffer to the terminal, even if normally it would wait before doing so.

  2. I created closed_room_first_floor, which is the locked room on the first floor. The player has to search a bottle-key so that he/she can drink a beer.

Do you guys have any ideas to the Story in my code or any clean code suggestions?

till-teb commented 1 year ago

liza, your room turned out fantastic. I had a lot of fun testing it. You had a great idea with the countdown function, which makes the text adventure much more exciting. I think it is very good that you have always taken short texts and built in many decision options.

The code also works great in the terminal. Really good work Liza :-)

In my opinion: @florian-huber ready to merge!