TBGDL


NameTBGDL JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/Marko2155/TBGDL
SummaryA Python library for creating text-based games.
upload_time2023-04-16 09:52:10
maintainer
docs_urlNone
authorMarko Camandioti
requires_python
licenseMIT
keywords pygame textadventure text game
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![TBGDL Logo](/docs/img/logo.png)
# TBGDL
A Python library for creating text-based games.

# Features
tbgdl_print(text, color) - Like print but also adds the ability to color the text. Makes cool ASCII art too!

tbgdl_clear() - Clears the screen.

tbgdl_quit() - Quits the application.

tbgdl_getinput() - Gets user input.

tbgdl_new_scene(command1, command2, command3, command4, command5, command6, command7, command8, command9, command10) - Can only be used in a variable, else that scene can't be referenced anywhere else in your code. If you have empty spaces, replace them up to command10 with 0. tbgdl_getinput() cannot be used in this function.

tbgdl_load_scene(scene) - Loads the variable that you stored your scene in.

tbgdl_playsound(note, sound) - Make beeps with it. The notes need to be in a string, and the sound param is the duration of the beep. 

# Variables
default - The default color white. Can only be used when a function needs a color.

red - The color red. Can only be used when a function needs a color.

black - The color black. Can only be used when a function needs a color.

blue - The color blue. Can only be used when a function needs a color.

magenta - The color magenta. Can only be used when a function needs a color.

yellow - The color yellow. Can only be used when a function needs a color.

cyan - The color cyan. Can only be used when a function needs a color.

green - The color green. Can only be used when a function needs a color.

# Requirements

colorama - For tbgdl_print(text, color) command.

musicalbeeps - For tbgdl_playsound(note, sound) command.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Marko2155/TBGDL",
    "name": "TBGDL",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "pygame,textadventure,text,game",
    "author": "Marko Camandioti",
    "author_email": "camandiotimarko@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6b/5c/d8a01da024dd7ab5ff2de91a13919a6fc35683403bd4f16e16151fc8c159/TBGDL-1.0.3.tar.gz",
    "platform": null,
    "description": "![TBGDL Logo](/docs/img/logo.png)\n# TBGDL\nA Python library for creating text-based games.\n\n# Features\ntbgdl_print(text, color) - Like print but also adds the ability to color the text. Makes cool ASCII art too!\n\ntbgdl_clear() - Clears the screen.\n\ntbgdl_quit() - Quits the application.\n\ntbgdl_getinput() - Gets user input.\n\ntbgdl_new_scene(command1, command2, command3, command4, command5, command6, command7, command8, command9, command10) - Can only be used in a variable, else that scene can't be referenced anywhere else in your code. If you have empty spaces, replace them up to command10 with 0. tbgdl_getinput() cannot be used in this function.\n\ntbgdl_load_scene(scene) - Loads the variable that you stored your scene in.\n\ntbgdl_playsound(note, sound) - Make beeps with it. The notes need to be in a string, and the sound param is the duration of the beep. \n\n# Variables\ndefault - The default color white. Can only be used when a function needs a color.\n\nred - The color red. Can only be used when a function needs a color.\n\nblack - The color black. Can only be used when a function needs a color.\n\nblue - The color blue. Can only be used when a function needs a color.\n\nmagenta - The color magenta. Can only be used when a function needs a color.\n\nyellow - The color yellow. Can only be used when a function needs a color.\n\ncyan - The color cyan. Can only be used when a function needs a color.\n\ngreen - The color green. Can only be used when a function needs a color.\n\n# Requirements\n\ncolorama - For tbgdl_print(text, color) command.\n\nmusicalbeeps - For tbgdl_playsound(note, sound) command.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python library for creating text-based games.",
    "version": "1.0.3",
    "split_keywords": [
        "pygame",
        "textadventure",
        "text",
        "game"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "71754e7f7cd66765ff9ca797142d9ba140a9cf64af843a2e48f7e7e8c6f240d5",
                "md5": "f93054678d6ab6dd1a7b4c57e0fbc6c2",
                "sha256": "aabbb792d70c915da12bf118054d43eeb530550c8dba0418839ba1c007afacc2"
            },
            "downloads": -1,
            "filename": "TBGDL-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f93054678d6ab6dd1a7b4c57e0fbc6c2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3239,
            "upload_time": "2023-04-16T09:52:09",
            "upload_time_iso_8601": "2023-04-16T09:52:09.208880Z",
            "url": "https://files.pythonhosted.org/packages/71/75/4e7f7cd66765ff9ca797142d9ba140a9cf64af843a2e48f7e7e8c6f240d5/TBGDL-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6b5cd8a01da024dd7ab5ff2de91a13919a6fc35683403bd4f16e16151fc8c159",
                "md5": "46fb453d2fe44b1ef12d2bc18e4f65ee",
                "sha256": "e9bf157328a8b3fda327111d20251b1df1adbfd7202c4d382bfe7e577b1c5ce4"
            },
            "downloads": -1,
            "filename": "TBGDL-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "46fb453d2fe44b1ef12d2bc18e4f65ee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3054,
            "upload_time": "2023-04-16T09:52:10",
            "upload_time_iso_8601": "2023-04-16T09:52:10.790311Z",
            "url": "https://files.pythonhosted.org/packages/6b/5c/d8a01da024dd7ab5ff2de91a13919a6fc35683403bd4f16e16151fc8c159/TBGDL-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-16 09:52:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Marko2155",
    "github_project": "TBGDL",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "tbgdl"
}
        
Elapsed time: 0.07467s