retro-games


Nameretro-games JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://makingwithcode.org
SummaryA simple framework for Terminal-based games
upload_time2024-11-26 03:40:07
maintainerNone
docs_urlNone
authorChris Proctor
requires_python<4.0,>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Retro

A simple framework for Terminal-based games.

```
╔════════════════════════════════╗
║                                ║
║                                ║
║                                ║
║      *************             ║
║      *                         ║
║      *                         ║
║      **>                       ║
║             @                  ║
║                                ║
║                                ║
╠════════════════════════════════╣
║score: 153                      ║
║                                ║
╚════════════════════════════════╝
```

## Layout

- There are two panes, a fixed-size play area at the top and a state window
  at the bottom. When enabled, a sidebar containing debug messages is also shown.

## Concepts and skills needed

- We need to discuss immutability, and the difference between 
  mutable objects and immutable values. 
  - Specifically, we care about the difference between tuples and lists.
  - State must be immutable!
  - Objects are only ever equal to themselves.

- The game is structured as a collection of agents which interact.

## Design/pedagogical criteria

- Make thinking visible.
  - Avoid subclasses; they require interaction with invisible parent attributes.
  - Instead, compose functionality from other classes which might be somewhat black-boxed.

            

Raw data

            {
    "_id": null,
    "home_page": "https://makingwithcode.org",
    "name": "retro-games",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Chris Proctor",
    "author_email": "chris@chrisproctor.net",
    "download_url": "https://files.pythonhosted.org/packages/c5/60/e3f7e599da8a67046feab880561680ecf1c4b2b9752e4e674426cc0070ca/retro_games-1.1.0.tar.gz",
    "platform": null,
    "description": "# Retro\n\nA simple framework for Terminal-based games.\n\n```\n\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\n\u2551                                \u2551\n\u2551                                \u2551\n\u2551                                \u2551\n\u2551      *************             \u2551\n\u2551      *                         \u2551\n\u2551      *                         \u2551\n\u2551      **>                       \u2551\n\u2551             @                  \u2551\n\u2551                                \u2551\n\u2551                                \u2551\n\u2560\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2563\n\u2551score: 153                      \u2551\n\u2551                                \u2551\n\u255a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255d\n```\n\n## Layout\n\n- There are two panes, a fixed-size play area at the top and a state window\n  at the bottom. When enabled, a sidebar containing debug messages is also shown.\n\n## Concepts and skills needed\n\n- We need to discuss immutability, and the difference between \n  mutable objects and immutable values. \n  - Specifically, we care about the difference between tuples and lists.\n  - State must be immutable!\n  - Objects are only ever equal to themselves.\n\n- The game is structured as a collection of agents which interact.\n\n## Design/pedagogical criteria\n\n- Make thinking visible.\n  - Avoid subclasses; they require interaction with invisible parent attributes.\n  - Instead, compose functionality from other classes which might be somewhat black-boxed.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A simple framework for Terminal-based games",
    "version": "1.1.0",
    "project_urls": {
        "Documentation": "https://retro-games.readthedocs.io/en/latest/",
        "Homepage": "https://makingwithcode.org"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c8bb731a73a94f0a5c1ef821204807396507e09569c297e9825512ff05322cef",
                "md5": "f5c6e36a6510d90e8366b0f544518a71",
                "sha256": "c621117e4dd528b1e4870d897d00c4365566ab3ba965177e3996ed3c889dd9f8"
            },
            "downloads": -1,
            "filename": "retro_games-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f5c6e36a6510d90e8366b0f544518a71",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 21376,
            "upload_time": "2024-11-26T03:40:05",
            "upload_time_iso_8601": "2024-11-26T03:40:05.484854Z",
            "url": "https://files.pythonhosted.org/packages/c8/bb/731a73a94f0a5c1ef821204807396507e09569c297e9825512ff05322cef/retro_games-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c560e3f7e599da8a67046feab880561680ecf1c4b2b9752e4e674426cc0070ca",
                "md5": "2d6002f47cdcce2ef0a87433a88e1a19",
                "sha256": "2167b574f42fe1e739b7c9ec75e98a9b76df42e2166376b85559291b3dc58f82"
            },
            "downloads": -1,
            "filename": "retro_games-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2d6002f47cdcce2ef0a87433a88e1a19",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 16181,
            "upload_time": "2024-11-26T03:40:07",
            "upload_time_iso_8601": "2024-11-26T03:40:07.112235Z",
            "url": "https://files.pythonhosted.org/packages/c5/60/e3f7e599da8a67046feab880561680ecf1c4b2b9752e4e674426cc0070ca/retro_games-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-26 03:40:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "retro-games"
}
        
Elapsed time: 0.35392s