Creating a Bouncing Ball Game with Python

Creating a Bouncing Ball Game with Python

This is the 41st original article for beginners learning Python. Reading this article will take approximately 15 minutes. In previous articles, we discussed several concepts related to classes. To help everyone better grasp the concept of classes and apply this knowledge flexibly, I have created a fun and interesting bouncing ball game. This not only … Read more

Implementing a Health Bar in C Language

Implementing a Health Bar in C Language

Background In the game Honor of Kings, at the start of the game, each hero has a health bar above their head. When damaged, the hero’s health decreases, and when close to death, the health bar turns red. Similarly, when using the EasyX library to develop games, we often encounter the need to create health … Read more

Python Playground: Unlocking Programming Superpowers with Games

Python Playground: Unlocking Programming Superpowers with Games

> Who says learning programming has to be a painful experience? Let's turn Python into the coolest gaming machine! Table of Contents Snake’s Mathematical Magic AI Screenwriter for Text Adventures Mystical Code of the Code Canvas Algorithmic Dance of Maze Generation Continue Your Adventure Snake’s Mathematical Magic Objective: Create a circular snake using trigonometric functions … Read more

Introduction to C++: A Beginner’s Guide

Introduction to C++: A Beginner's Guide

— Welcome To C++ — There are various programming languages, and here we introduce a new programming language called C++. So what is C++?C++ is a statically typed, compiled, general-purpose, case-sensitive, and irregular programming language, supporting procedural programming, object-oriented programming, and generic programming. C++ is a high-level language developed by Bjarne Stroustrup at Bell Labs … Read more

Arduino Smart Design: Create Your Own Memory Game

Arduino Smart Design: Create Your Own Memory Game

Case Overview “Create Together with Me” is a memory game machine composed of 3 LED lights and 3 buttons. The game consists of a total of 10 levels. At the beginning, the LED lights will flash in a specific order, and after the flashing ends, players need to press the corresponding buttons in sequence. If … Read more

Learn Arduino with Kids: Rock Paper Scissors Game Machine

This Section Shows Season 2 Course Access Season 1 Course Access (Free) Arduino Course Outline Note: (Red indicates courses that have been updated and released) Chapter 1: Arduino Basics – Output Control 1. Light Up LED 2. Blink LED 3. LED Flow 4. Buzzer 5. Air Raid Alarm 6. Music Master 7. Digital Tube 8. … Read more

MATLAB Recreation of Douyin’s Popular Snake Cutting Game

MATLAB Recreation of Douyin's Popular Snake Cutting Game

Please respect original work. If reprinting, please indicate the link and author: slandarer It’s been a few days, and I’ve missed you all. The Spring Festival is approaching, and I anticipate being busy, so I decided to finish and publish this tutorial in advance. I was considering what snake year code to write, and suddenly … Read more

Python Game Development: Create Your First Knife Challenge Game

Python Game Development: Create Your First Knife Challenge Game

Game Introduction The Knife Challenge is a classic arcade game where players control a knife, aiming and throwing it at a rotating target (usually a wooden board) to hit the bullseye. The core of the game is simple yet challenging: the target keeps rotating, and players need to throw the knife at the right moment. … Read more

The Genius of Applying BSP in DOOM

The Genius of Applying BSP in DOOM

Introduction: If we were to rank geniuses in a hierarchy from Homer Simpson to Albert Einstein, where would John Carmack’s application of binary space partitioning (BSP) technology in DOOM fit in? This article contains 11,776 words, with an estimated reading time of about 20 minutes. In 1993, game development company id Software released the first-person … Read more

Pybsp: The Wizard of Spatial Partitioning in Python!

Pybsp: The Wizard of Spatial Partitioning in Python!

· Click the blue text to follow us When it comes to spatial partitioning, you must think of the intricate map scenes in games. How are these scenes divided and managed? Today, let’s talk about an amazing Python library – pybsp. It’s like a mathematical wizard that can slice 3D space, making complex scenes organized. … Read more