gomh

所属分类:游戏
开发工具:HTML
文件大小:0KB
下载次数:0
上传日期:2023-11-08 20:21:11
上 传 者sh-1993
说明:  Get Off My Head-用PyGame制作的简单游戏,用于说明随着功能复杂性的增加而增加的编程原则
(Get Off My Head - Simple game made in PyGame to illustrate programming principles as the feature complexity increases)

文件列表:
LICENSE (1081, 2023-12-13)
_backups/ (0, 2023-12-13)
_backups/_old_backup.sh (391, 2023-12-13)
_backups/diff/ (0, 2023-12-13)
_backups/diff/diff_000.html (11607, 2023-12-13)
_backups/diff/diff_001.html (19395, 2023-12-13)
_backups/diff/diff_002.html (25232, 2023-12-13)
_backups/diff/diff_003.html (49573, 2023-12-13)
_backups/diff/diff_004.html (60599, 2023-12-13)
_backups/diff/diff_005.html (96821, 2023-12-13)
_backups/diff/diff_006.html (104422, 2023-12-13)
_backups/diff/diff_007.html (125395, 2023-12-13)
_backups/diff/diff_008.html (136278, 2023-12-13)
_backups/diff/diff_009.html (146888, 2023-12-13)
_backups/diff/diff_010.html (170812, 2023-12-13)
_backups/diff/diff_011.html (193841, 2023-12-13)
_backups/diff/diff_012.html (196032, 2023-12-13)
_backups/diff/diff_013.html (208916, 2023-12-13)
_backups/diff/diff_014.html (204267, 2023-12-13)
_backups/diff/diff_015.html (226983, 2023-12-13)
_backups/diff/diff_016.html (237018, 2023-12-13)
_backups/gomh_000.py (574, 2023-12-13)
_backups/gomh_001.py (654, 2023-12-13)
_backups/gomh_002.py (1296, 2023-12-13)
_backups/gomh_003.py (1758, 2023-12-13)
_backups/gomh_004.py (4474, 2023-12-13)
_backups/gomh_005.py (5113, 2023-12-13)
_backups/gomh_006.py (9169, 2023-12-13)
_backups/gomh_007.py (9373, 2023-12-13)
_backups/gomh_008.py (11064, 2023-12-13)
_backups/gomh_009.py (11851, 2023-12-13)
_backups/gomh_010.py (12988, 2023-12-13)
_backups/gomh_011.py (14026, 2023-12-13)
_backups/gomh_012.py (13683, 2023-12-13)
_backups/gomh_013.py (16069, 2023-12-13)
_backups/gomh_014.py (16349, 2023-12-13)
_backups/gomh_015.py (17087, 2023-12-13)
_backups/gomh_016.py (18806, 2023-12-13)
... ...

## gomh - Get Off My Head A simple game made in PyGame to illustrate programming principles as the feature complexity increases. Basic gameplay is using the arrow keys to move right/left, and up to jump. Standing on another character's head will drain their life and eventually reset them. If a character lands on your head, you can jump to bounce them off. Inside the ./backups/ directory is a series of files named "gomh_000.py" and increasing in number. These are earlier versions of this code, which started from just displaying a static image on the screen, and later added input, and actors, and controls and AI. The progression follows from the most basic kind of "straight down" procedural programming with naive variable names, and then adds in containers, functions and classes/objects later as the program becomes unwieldy. In this way, the reader can see how a program can evolve (and how the methods of programming historically evolved) from being simple and naive, to dealing with scaling problems with more encapsulation and abstraction. ![Example Screenshot](https://github.com/ghowland/gomh/blob/master/docs/screenshot.png)

近期下载者

相关文件


收藏者