{ "info": { "author": "Terencio Agozzino", "author_email": "terencio.agozzino@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Utilities" ], "description": "|Cisco Logo| PongHAT\n====================\n\n|License| |Version|\n\nPongHAT is a Pong game running on a Raspberry Pi 3 using functionalities\nfrom the Sense HAT.\n\n.. raw:: html\n\n
\n\n.. raw:: html\n\n
\n\nThis game offers two modes:\n\n- A first one, available during the first two levels where the player\n plays against a wall.\n\n- A second, from the third level, allowing artificial intelligence (AI)\n to appear in the game, increasing the similarities with the\n traditional pong game.\n\n**NOTE:** the speed of the game gradually increases with each game.\nSimilarly, it increases as you move to the next level.\n\n--------------\n\nInstallation\n~~~~~~~~~~~~\n\nIt\u2019s as simple as that:\n\n::\n\n pip install ponghat\n\n--------------\n\nUsage\n~~~~~\n\nAfter being connected to the Raspberry using the Sense HAT and installed\n``ponghat``, execute the following command to start a game:\n\n::\n\n ponghat\n\nAlternatively you can run this tool using Docker:\n\n.. code:: bash\n\n # Build the image\n docker build -t ponghat .\n\n # Run the image\n docker run -v $(pwd):/app ponghat python ponghat.py\n\n**NOTE:** if you don\u2019t have any Sense HAT, you can use a `Sense HAT\nemulator