[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
RE: [pygame] Can the pygame infrastructure be used for non-graphical text-mode games?
- To: <pygame-users@xxxxxxxx>
- Subject: RE: [pygame] Can the pygame infrastructure be used for non-graphical text-mode games?
- From: <pjfarley3@xxxxxxxxxxxxx>
- Date: Thu, 18 Jun 2020 16:48:04 -0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 18 Jun 2020 16:48:09 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=earthlink.net; s=dk12062016; t=1592513286; bh=r1IW0KqNeBCpaVyrTiFthjDQygj2LIc2AEgx XX+sASI=; h=Received:From:To:References:In-Reply-To:Subject:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding: X-Mailer:Content-Language:Thread-Index:X-ELNK-Trace: X-Originating-IP; b=M0T1iPOygLNIy1pumv+UEweBG38KkEwgswe0eWc4PJPJLn Q9JwrKahXTKOf+jOTU25tJqyKEiq4f6JtVw8VgFad9DDxKvCevIxxP1JvwWTfpBA4Jz wVxrw2g/e+YWiu35dylxPtpaYN47yjOAig19ikYOyvgh3zSr6B1x4AEXVhAKUVJM6RF dDmyiFtJbOyp8CxzbJ5h+Nbm4aHpkie07WY86AHUD+QY6QtNtER710enBKGvrpg8gB4 09x9WlEUUK4tIhzCMAFKQZHyT/OvZsayoEd0m+zaNPcNsU6QmMcqwevzz/LM/877jfK D420qv/Pcy5LYqz6KwqJOa/+fr3w==
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=earthlink.net; b=QvkzR7J1mgMeyWUTyPuleFJkBGmKdmM159r2Qk9pc9Y8vd5xRDoZfEE2HJVKD1Wr9kS3kGLwR10bOsYSwHfcc5znCwxq4hAiA5oQULGM205W55MV1btI8ddSMfezRMnMmzM3coQg/Ds1KUfwcmjiPY0KnN4ySI7E52+seNIGmKdbhKdcq5gbNNOeBYZF4PRCQ1fpi+iCCx83BKQtn9rvg+l5GjlSp5UIgsDaXVfcjZpU9FpJv1PCNazy8GMY72+UYRr519Y9CV75KMuijs1SszkROpJShCIHfC0BUurnz6rK/bAP7ThxQoiarRlyRvDjT/bnHIUJbieVmNNlYgihIw==; h=Received:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Content-Language:Thread-Index:X-ELNK-Trace:X-Originating-IP;
- In-reply-to: <97b31f55-8bd4-52bb-7334-489a03982148@ntoll.org>
- References: <000001d64509$08ff4e60$1afdeb20$@earthlink.net> <97b31f55-8bd4-52bb-7334-489a03982148@ntoll.org>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- Thread-index: AQFVxFWR1C6toL6pa0tJf0wG/2n9DwF7yRo8qdP8NwA=
Thank you for those links, it does look very interesting for what I have in mind.
Peter
> -----Original Message-----
> From: owner-pygame-users@xxxxxxxx <owner-pygame-users@xxxxxxxx> On
> Behalf Of Nicholas H.Tollervey
> Sent: Thursday, June 18, 2020 3:02 PM
> To: pygame-users@xxxxxxxx
> Subject: Re: [pygame] Can the pygame infrastructure be used for non-graphical
> text-mode games?
>
> The wonderful Dan Pope (lordmauve), who also runs PyWeek, wrote this funky
> project that sounds exactly like what you're looking for:
>
> https://github.com/lordmauve/adventurelib
>
> Documentation here:
>
> https://adventurelib.readthedocs.io/en/stable/
>
> Dan is a developer I have a huge amount of respect for (he's also a buddy too),
> and I believe the quality of his code will be good, the documentation
> comprehensive and he'd be open to feedback, bug reports and suggestions.
>
> For what it's worth, I'm currently writing a simple MUD engine in Python (a
> multi-user text based adventure game), which I'll be presenting at EuroPython in
> just over a month
> (https://ep2020.europython.eu/talks/AGaSaW8-how-to-run-a-corridor-track-in-
> a-remote-conference-with-python/)
>
> Best of luck.
>
> On 18/06/2020 01:40, pjfarley3@xxxxxxxxxxxxx wrote:
> > A lot of the old "adventure" games and similar game efforts from the
> > very early days of computing were strictly text-mode games with no
> > graphics used (or needed) at all.
> >
> > The old code base for such games wasn't always very well organized or
> > designed, they just (mostly) worked. I had a thought that updating
> > such a game's design and structure with more modern design principles
> > and supporting architecture would be an interesting exercise.
> >
> > Is it possible to use the pygame infrastructure to implement
> > text-mode-only games? Without having to pick window sizes and
> > resolutions and set fonts and font sizes, etc., etc., on a graphical surface?
> >
> > IOW, can the pygame keyboard input and screen output processes be
> > replaced with simple python raw_input() and print() calls?
> >
> > Or am I just looking at the wrong library to use for such games?
> >
> > TIA for your advice and opinion.
> >
> > Peter
--