Code Monkey home page Code Monkey logo

zombiegame's Introduction

zombieGame

This is a text generated zombie game ! Also sniffles my first python project

Installation

This application runs on windows through cmd/command prompt you will need to have python3 and has to 64-bit or there might be an issue installing tensorflow as it doesn't support 32-bit Go into the root of the folder creativity

These are the dependencies you might need to run in order to run the application: pip3 install pyfiglet
pip3 install tensorflow==1.15
pip3 install gpt_2_simple pip3 install ibm_watson
pip3 install NLTK

  • When you have install NLTK you will need packages within it
  • run a python shell and the following commands import nltk nltk.download()
  • The NLTK gui will appear and under collections select 'all' and download

Run

After the nltk packages have been downloaded run the application on cmd by typing start.py You should be in the directory of this file

To play the game wait for the prompt "you: " to show up after pressing E to enter the game. You can write in anything in the prompt :D

However "check inventory" and "surrender" are key prompts!

zombiegame's People

Contributors

bluem0ld avatar

zombiegame's Issues

Inventory Feature needs work

Problem:
When the generated text is formed we want to extract items from that text into the inventory display. However items such as stairs. Is not a item the player can use! Also items that aren't in the inventory can't be spawned out of thin air by the user :)

Ideas:
Need to look at NLP - https://www.nltk.org/ maybe a better understanding of NLP may help
Maybe look at a bank of items .. look into word2vec

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.