Compare commits

..

No commits in common. "2776532133534536aef6a3660dc1cbefa59c8f29" and "16b263b3e2c4c7ddefed285eab76c4799a7f9f0d" have entirely different histories.

10 changed files with 11 additions and 7 deletions

View File

@ -1 +1 @@
recursive-include pynpong * recursive-include pypong *

View File

@ -1,4 +1,4 @@
# PynPong # PyPong
[![License: GNU GPL v3.0](https://img.shields.io/badge/license-GNU%20GPL%20v3.0-blue)](LICENSE) [![License: GNU GPL v3.0](https://img.shields.io/badge/license-GNU%20GPL%20v3.0-blue)](LICENSE)
A game of pong made in PyGame, designed to be used over a network connection. A game of pong made in PyGame, designed to be used over a network connection.

View File

@ -0,0 +1,4 @@
"""
Contains all networking code and classes to get the game to communicate over UDP, along with a GUI to help connection
go smoothly.
"""

View File

@ -21,7 +21,7 @@ def main():
executor = concurrent.futures.ThreadPoolExecutor(max_workers=MAX_SCAN_REQUESTS) executor = concurrent.futures.ThreadPoolExecutor(max_workers=MAX_SCAN_REQUESTS)
main_window = tk.Tk() main_window = tk.Tk()
main_window.title('PynPong Launcher') main_window.title('PyPong Launcher')
main_window.resizable(width=False, height=False) main_window.resizable(width=False, height=False)
main_window.geometry('500x300') main_window.geometry('500x300')
@ -117,7 +117,7 @@ def main():
return shortened_info return shortened_info
# Create the top title label # Create the top title label
title_label = tk.Label(text='PynPong Launcher', fg='white', bg='#000040', padx=1, pady=20) title_label = tk.Label(text='PyPong Launcher', fg='white', bg='#000040', padx=1, pady=20)
title_label.pack(side=tk.TOP, fill=tk.BOTH) title_label.pack(side=tk.TOP, fill=tk.BOTH)
# Create the list of games # Create the list of games

View File

@ -1,5 +1,5 @@
import setuptools import setuptools
import pynpong import pypong
with open('requirements.txt') as fh: with open('requirements.txt') as fh:
required = fh.read().splitlines() required = fh.read().splitlines()
@ -9,13 +9,13 @@ with open('README.md', 'r') as fh:
setuptools.setup( setuptools.setup(
name='PyPong', name='PyPong',
version=pynpong.__version__, version=pypong.__version__,
author='Nicholas Dyer', author='Nicholas Dyer',
description='A game of pong made in PyGame for play over a local network', description='A game of pong made in PyGame for play over a local network',
license='GNU GPL-3.0', license='GNU GPL-3.0',
long_description=long_description, long_description=long_description,
long_description_content_type='text/markdown', long_description_content_type='text/markdown',
url='https://gitea.citruxx.com/ndyer/PynPong', url='https://gitea.citruxx.com/ndyer/PyPong',
packages=setuptools.find_packages(), packages=setuptools.find_packages(),
# https://pypi.org/classifiers/ # https://pypi.org/classifiers/
classifiers=[ classifiers=[