Pygame actual combat: what about poor memory? Don't worry, here's a memory enhancing game for you ~ [the more you play, the more addictive]
Introduction
Hello! Hello, I'm kimiko.
Today's game update series is coming. Do you want to know what type of game today is? Arrange it right awayโโ
As we get older, we begin to forget things and forget things. Our memory is getting worse and worse!
This is not only the memory decline of adults with age, but also many children ...
Added by pyr02k1 on Mon, 20 Dec 2021 21:20:26 +0200
Python game development, python to achieve Snake games and eat beans with source code
development tool
Python version: 3.6 four
Related modules:
pygame module;
And some Python built-in modules.
Environment construction
Install Python and add it to the environment variable. pip can install the relevant modules required.
Principle introduction
I don't need to introduce the rules of the snake game, T_T. Writing a snake gam ...
Added by faheemhameed on Sat, 18 Dec 2021 05:53:41 +0200
Pygame actual combat: the classic bubble dragon game popular all over the world is coming. Will you like it? (source code attached)
Introduction
There are still many elimination games in Python, and mumuzi has pushed many before~
๐ Source base ๐โโ Click on my avatar in the upper right corner of the home page and get the source code for free ๐ The source code of previous periods is also dropping ๐
For example, the ever-changing Xiaole, remember? Today, ...
Added by Gruzin on Wed, 15 Dec 2021 04:31:43 +0200
Python game development, pygame module, python implementation of angry birds [with source code]
preface
This time I'll take you to write a little angry bird game that was popular for some time.
No more nonsense. Let's start happily~
development tool
**Python version: * * 3.6.4
Related modules:
pygame module;
And some python built-in modules.
Environment construction
Install Python and add it to the environment variable. pip c ...
Added by new2phpcode on Sun, 05 Dec 2021 00:53:50 +0200
Python game project - Alien Invasion
1, Install Pygame
Enter at the terminal:
pip install --user pygame
2, Start game project
(1) Create Pygame window and respond to user input
Create a file named alien_ The file of invasion.py is the main running file of the program.
import sys
import pygame
class AlienInvasion:
def __init__(self):
pygame.init() # Initia ...
Added by jtjohnson260 on Tue, 23 Nov 2021 05:01:14 +0200
The snow in the north, you said it was poly dragon. What if there is no snow in the south? Let me arrange a romantic snow for you in Python
Hello everyone, here is the list of code gods (a little boastful, ha ha). It's a newcomer. I hope you can give me more advice. [customary opening remarks]
Last weekend, the North ushered in the first snow of this year, a little earlier than that between Israel and Israel. The sudden snowfall made me want to make a snow animation in Python and ...
Added by SlimSlyk on Wed, 10 Nov 2021 03:57:33 +0200
Python game development, pygame module, Hamilton ring algorithm to automatically play Snake games
preface
After a month, let's try to play a wave of Snake games automatically with the help of Hamilton ring. Let's start happily~
development tool
**Python version: * * 3.6.4
Related modules:
pygame module;
And some python built-in modules.
Environment construction
Install Python and add it to the environment variable. pip can install t ...
Added by daok on Thu, 21 Oct 2021 09:58:37 +0300
Review the aircraft war with pygame
PyGame is a set of python modules specially written for games, which is highly portable. The following will be a brief introduction to the methods provided in Pygame, which will be a simple aircraft war demo. Scan the bottom two dimensional code, and pay attention to my official account in reply to the "aircraft war". You can get the ...
Added by hunna03 on Wed, 22 Sep 2021 05:16:47 +0300
2021-09-17--python function with less product
A little python knowledge a day
Does it not smell when you add up more??? Section 15
Function Base-01
Definition of function
Function's role: A function is to assemble a block of code with independent functions into a whole and name it. Calling this name where it is needed will accomplish the corresponding requirements, avoid code reuse, an ...
Added by misty on Fri, 17 Sep 2021 02:46:11 +0300