Avatar
chuckis
bb73514c80a7916dfd42c9adaaa8927895e894dcf734bc086cca33e8a6e82a60
navvy with keys makes shitpost

It screaming aloud "Let me out!"

GM. Started with assets for my prototype.

Yo, dead of night, I catch a "scooter" zoomin', then a chopper tailin' it, spittin' lead like crazy. And nah, this ain’t no dream.

``` python

from abc import ABC, abstractmethod

class Message(ABC):

@abstractmethod

def get_text(self) -> str:

"""Абстрактный метод для получения текста сообщения."""

pass

class HelloWorldMessage(Message):

def get_text(self) -> str:

"""Возвращает текст приветствия."""

return "Hello, World!"

class MessagePrinter:

def print(self, message: Message) -> None:

"""Выводит текст сообщения в стандартный вывод."""

print(message.get_text())

if __name__ == "__main__":

printer = MessagePrinter()

printer.print(HelloWorldMessage())

```

Something fun we’ve been doing at nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqdwl80nvcshpn3ups7p5s7kpar5ndesn57sj4777x6l2yg6khlh8qk2jxdd is running learning programs where we help learners get used to actual open source collaboration—with video games!

WAIT

Not “educational games” or “gamified learning”—no, actually contributing to a real game using real open source workflows. Here are some fun results from one cohort so far; check out the Extra Levels in Everlasting Candy, an extension of the open source game Candy Wrapper:

https://endlessm.github.io/everlasting-candy/

#GodotEngine #GameDev #OpenSource

:doge_cool: