🕑 Digital Clock 🕑 - A Simple Clock (Inspired)!
Hi, Replit Community! Thanks for all your support (on my tutorials, recently)! Switching gears, I made a simple digital clock 🕑 today, inspired by one that I have! It's made in Pygame (Python), and I hope you enjoy it! Here's a sneak peak at it.
First, I downloaded a Alarm Clock font from Google Fonts. Then, I uploaded the font onto the repl and imported pygame. I then made a
write_text function, and I just wrapped it up with fancy styling.
Please enjoy this repl! If you have any additional questions, comments, compliments, concerns, or anything that is relevant to this post, please comment below.
Note: All times shown here are in PST Time (Pacific Standard Time).
Traceback (most recent call last): File "main.py", line 48, in <module> write_text(time_now, "clock.ttf", (255,0,0), 50, 300, 150) TypeError: write_text() takes 5 positional arguments but 6 were given