racket/htdp

Support for flipping text? for emojis

Open

#161 opened on 2021年10月15日

GitHub で見る
 (3 comments) (1 reaction) (0 assignees)Racket (72 forks)github user discovery
good first issueteachpack

Repository metrics

Stars
 (111 stars)
PR merge metrics
 (PR metrics pending)

説明

(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

コントリビューターガイド