{"repo":"max-kov/pool","free":true,"listed":false,"github":"https://github.com/max-kov/pool","clone":"git clone https://github.com/max-kov/pool.git","description":"A pool game written in python and pygame.","language":"Python","stars":44,"topics":["game","python","pygame","pool"],"license":"MIT","category":"game-templates","readme_excerpt":"Pool A pool game written entirely in python! Features Realistic collisions based on a two-dimensional Newtonian model. Simple configuration file (config.py) with many changeable options like ball size, ball colour, cue length/thickness and many more. Algorithms which render ball sprites using rotation matrices. Tests for collision functions and other math related functions. A small and configurable game menu. Installing Dependencies The pool game requires python 3.5 with modules which are listed in requirements.txt . Installing on debian-based linux distributions Install python 3.5 with pip, venv and pygame dependencies Then, clone the github code and run the game using run.sh, which will setup a virtual python environment with the aforementioned modules. If the pygame installation fails , it's most likely due to apt not having any URIs in sources.list file. To fix execute and run the installation procedure again. Windows Download python 3.5 with pip then add python to the path variable and run in the administrator cmd in the game folder to install the dependencies. Finally, start main.py to run the game. You might have to use python3 instead of python depending if you have python2 installed. To check that you are using the right vesrion, write python in the console to see what version is used. Running the tests You can always see the results of the latest build here. If you want to run the tests yourself, we will need extra modules. (On linux) Run in the game folder to insta","default_branch":null,"files":null,"tree":[],"storefront":"/r/max-kov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/max-kov/pool/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}