racket/htdp

Support for flipping text? for emojis

Open

#161 aperta il 15 ott 2021

Vedi su GitHub
 (3 commenti) (1 reazione) (0 assegnatari)Racket (72 fork)github user discovery
good first issueteachpack

Metriche repository

Star
 (111 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

(require 2htdp/image)

(flip-horizontal (text "🦈" 100 "red"))

; ERROR: flip: cannot flip shapes that contain text

is it possible to make flip-horizontal and flip-vertical work with text images in 2htdp/image ? Arguably the color parameter is not needed for emojis. I can think of a few emoji centric games that could be fun to students. 🚣‍♂️ A fun game I can think of is rowing a boat left and right to avoid a shark from underneath or something, and getting flip-horizontal to change the boat facing direction. Thanks

Guida contributor