A 2 dimensional tennis game created in Python based on the Nintendo Wii Sports tennis game.
Author: Harry He
- Created December of 2020 as apart of a computer science course.
- Coded in Python 3.8.5 using Pygame.
- Attempts to provide a fluid tennis experience in recreating Wii Sports Tennis.
Wii.Game.Demonstration.mp4
A video demonstration of how the game is played and some of the features that it provides. Sound included!
-
Create or open the folder in which you wish to download and run the game.
-
Open the command line at that folder and download the game using the command.
git clone https://github.com/he-is-harry/Wii.git -
If you do not have python or pygame, continue through these steps, otherwise, you can skip to step 7.
-
Download python from https://www.python.org/downloads/. It may be helpful to click the advanced settings and enter the location where the game is stored from as a virtual environment (this solved a problem when running the game without an IDE).
-
Download the pip package installer from https://pypi.org/project/pip/ OR run the following commands to download.
MacOS: $ python -m ensurepip --upgrade Windows: C:> py -m ensurepip --upgrade -
Use pip to install pygame, by running the following commands.
pip3 install pygame -
Open the command line at the folder in which the game is downloaded, then go into the subfolder Wii by running the command.
cd Wii -
Run the game by running the command.
python3 Main.py
Note: The game may not work correctly on different operating systems; I personally use MacOS, so the game may not operate correctly on Windows, Linux or other operating systems.
MIT License
Copyright (c) 2024 Harry He
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This license however, does not apply to the resources associated with the game (images, font), many of which are copyright and cannot be distributed or used for commercial use. The resources in the game are under exclusive copyright, so one cannot copy, distribute, or modify the work without being at risk of take-downs, shake-downs, or litigation. These resources are only in use because the project is of an educational purpose, not being published into the public nor for commercial gain.