This is a basic version of the Adventure game. It is completely text-based.
My Game Theme: Time-Unraveled
In this game the main character has to find out his way out of the dark cave into the green land using the clues provied in the text. On his way he will meet many people who will help or obstruct him to reach his final destination. All he needs is to pick up the right choice.
- You can go with any story that you like but make sure to make this game on command line so it will have that old-school look.
- Some other stories ans themes can be found here: 10 modern text-based adventures
The program will ask users for inputs such as the name of a place, action, etc. and then build a story around the data. The story will be the same always but with little variation with the input.
- I personally used the Stanford-NER tagger and Stanford-POS tagger inorder to attach correct parts of speech in the story I generate.
- Firstly, you need to download model jars for NER and model jars for POS to integrate this with python, using install java.
- Secondly I used the
BeautifulSoup libraryfrom python andPandasto collect some movie data. - Then I used the python module
nltkto tokenize the plot of each movie and collected some words with thier parts of speech. - Finally I used some functions to replace the plots with some new words and create a new story.
[3]: