Results 1 to 5 of 5

Thread: Text Game Need Help (Python)

  1. #1
    Join Date
    Jan 2013
    Beans
    1

    Text Game Need Help (Python)

    I am in the middle of creating a text game with python. Is there a command I can use to close the terminal window when a character dies?

  2. #2
    Join Date
    Feb 2011
    Location
    Somewhere...
    Beans
    1,543
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Text Game Need Help (Python)

    I wouldn't do that if I were you. I would just make the program exit.

  3. #3
    Join Date
    Feb 2008
    Location
    Planet earth, for now.
    Beans
    Hidden!
    Distro
    Xubuntu

  4. #4
    Join Date
    Feb 2008
    Beans
    251
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Text Game Need Help (Python)

    Quote Originally Posted by TextG View Post
    I am in the middle of creating a text game with python. Is there a command I can use to close the terminal window when a character dies?
    Hey!

    Rather than close the program, why not return them to a start screen, with the option to start again?

    The command "exit" will close the program, but it won't necessarily close the terminal.

    How does the user start the game?
    How are you opening the terminal?

    Cheers!

  5. #5
    Join Date
    Jan 2013
    Beans
    6

    Re: Text Game Need Help (Python)

    Hello,

    Please give a small example of what you are doing and what you would like to do.

    We don't know what you are doing so we aren't able to advise you.

    d3

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •