aelmosalamy / ascii-combat

A simple CLI text adventure game, created for learning purposes, feel free to contribute.
MIT License
69 stars 17 forks source link

Autocomplete feature #20

Open kikikaryp opened 5 years ago

kikikaryp commented 5 years ago

Hello! I was thinking of developing an autocomplete feature. When a user writes go, look, pick, drop, eat and presses tab a specific set of options show up one by one with each press. Does it sound good to you?

aelmosalamy commented 5 years ago

Sorry for late response I was working on other stuff. Yes, this sounds great and I would certainly add it if I could, but I am not sure how is this going to be implemented.

aelmosalamy commented 5 years ago

I am currently working on the dungeon generating part, I am not working as actively as before since I am kinda stuck xD

UltraWelfare commented 5 years ago

You can certainly do it with https://docs.python.org/3/library/readline.html, but as far as I know it only works with GNU... No idea how it would work on Windows