Giter VIP home page Giter VIP logo

infinite_monkey_theorem's Introduction

Contributors Forks Stargazers Issues MIT License LinkedIn

Infinite Monkey Theorem

This project randomly generates characters in an attempt to recreate a selected document.
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

This project was inspired by the The Infinite Monkey Theorem and the Library of Babel project created by Johnathan Blaise. While it is not capable of replicating the full thought experiment it does allow for the use of random characters to generate any text document. This project was built entirely in Python using only the standard libraries.

(back to top)

Built With

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

Python 3.8 or above required for use

Installation

  1. Install Python
  2. Ensure Python installed correctly by opening console and entering python. Output should be similar to below
    Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
  3. Clone the repo
    git clone https://github.com/SammyRigdon/Infinite_Monkey_theorem.git
  4. Add any .txt documents you wish to clone to the Samples Directory

(back to top)

Usage

Run the script using the following command

python [path_to_script]/main.py

Follow the prompts then allow the system to work. There are two modes currently: character mode and word mode.

In character mode the monkeys will be given a specific character to search for. They will generate a random character until they get one that matches. This is the fastest method and can generate documnets in a few minutes. Word mode has each monkey attempting to generate specific words. This process is much more random, where as each process in character mode has a 1 in 121 chance of happening, the chances of just a three character word being successfully generated in 1 in 1.95 million THIS IS VERY INTESE ON YOUR CPU AND WILL TAKE A LONG TIME

(back to top)

Roadmap

  • True Infinite Monkey Theorem
  • Random Order Character Generation
  • Random Order Word Generation

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Sammy Rigdon - [email protected]

Project Link: https://github.com/SammyRigdon/Infinite_Monkey_Theorem

(back to top)

Acknowledgments

Below are resources and people who helped me on this project. I used while working on this project. Thank you to all the individuals who helped my along the way.

(back to top)

infinite_monkey_theorem's People

Contributors

sammyrigdon avatar

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.