The original document was written in Chinese, The English version is translated by machine, We advice you to read README(中文).md to get accurate information if you could.
This game is a lightweight stand-alone game on PC developed using PYTHON language and based on PYGAME technology, and is available for Windows platform.
This game is a simple throwing game in which the protagonist (CSJ) moves through the keyboard and throws chicken soup to attack the enemy (CXK). Ability to record the number of throws a player, the number of hits and calculate the hit rate in real time.
This game was written casually by me, as a PYTHON beginner, this project is also my first project to use the more complete Git flow for version management and official release, and also as a practice of Git and version control technology. At the same time, I pay tribute to the two Bilibili meme stars who brought us happy meme time.
→
or D
: Move to the right
←
or A
: Move to the left
↓
or S
or SPACE
: Throw chicken soup
P
: The game pauses and the detailed panel is displayed
Currently in the ALPHA testing stage, there are many bugs and features to be improved, it is recommended that developers and testers download and deploy
Version name: ALPHA 0.1.0
Bulid number: 58
Release date: December 9, 2023
Project creation: November 27, 2023
Project status: Under development and maintenance
Current version support status: Alpha testing support, support to beta testing
Please make sure that your device is Windows operating system, and you have Python 3 or later, and the author's development environment is as follows:
- OS version: Windows 11 21H2
- Python version: 3.12.0
- Editor: VS Code
- Git version: 2.38.1.windows.1
Install the Pygame extension package in the Command Prompt (Windows Terminal) via pip install pygame
.
Clone this project to your device via git clone https://github.com/SPGLP/pygame-CSJvsCXK.git
in the Command Prompt (Windows Terminal) or Git Bash.
Open the folder where the cloned project is located in the editor (VS Code), and if there are no accidents, you can compile and run it directly (note: the editor should be configured with the corresponding Python plug-in and environment support in advance)
SPGLP55
A struggling undergraduate student majoring in software engineering.
I has been interested in computers since he was a child, and has been in contact with Visual Basic since he was in the sixth grade of primary school, and is currently good at VB.NET development, mainly studying C, C++, C#, Java, Python, and assembly language. Interested in video game development.
Thank you to my roommates for their support and help with this project:
- @GJmofeng
- @velpros
- @ikun080
If you wish, you can add yourself to the "About Author" page
Many of them are not good at algorithms and computational optimization, and they are new to Python and Pygame development.
If you are willing to contribute your wisdom to this project, you can directly fork this repository, create a new feature branch in your cloned repository, name it feature/<your name>
merge back to the develop branch of the cloned repository after the modification is completed, and then submit a pull request directly.
Of course, if you find a problem during the game and want to report it, or have a good suggestion for improvement, please just ask it directly in issus.
This product is open source free software under the GPL license, and this product does not obtain any economic benefit directly or indirectly through any means, and will not be considered for commercialization
The character material pictures of this product are taken from the Internet, mainly from the second creation expression published by Internet netizens and the video screenshots on Bilibili, and some of the icons are from Iconfont, which has been marked in the source code annotation The original author.
THE BASE GAME FEATURES HAVE BEEN BUILT, PAUSE HAS BEEN ADDED, AND THE ALPHA PHASE HAS OFFICIALLY BEGUN.