Skip to main content

Hooman - Pygame for humans - 0.2.5

Write clean pygame programs with less amount of code


Abdur-Rahmaan Janhangeer
(appinv)
pip install hooman | See github for demos and docs!

Changes

Here's a minimal program: --- from hooman import Hooman import pygame hapi = Hooman(500, 500) def handle_events(event): if event.type == pygame.QUIT: hapi.is_running = False hapi.handle_events = handle_events while hapi.is_running: hapi.background((255, 255, 255)) hapi.stroke_size(5) hapi.stroke((0, 255, 0)) for i in range(0, hapi.WIDTH, 20): hapi.line(i, 0, hapi.mouseX(), hapi.mouseY()) hapi.flip_display() hapi.event_loop() pygame.quit()

Links

Home Page
https://github.com/Abdur-RahmaanJ/hooman
Source
https://github.com/Abdur-RahmaanJ/hooman
Github repo
https://github.com/Abdur-RahmaanJ/hooman

Releases

Hooman - Pygame for humans 0.2.5 — 28 May, 2020

Hooman - Pygame for humans 0.3.1 — 5 Jun, 2020

Hooman - Pygame for humans 0.5.0 — 20 Apr, 2022

Pygame.org account Comments