webplaygame

game coming soon

showing the last 20 messages


#18  (no trip) olive 

wawawawawa

#19  (no trip) olive 

lets get to 20 messages

#20  (no trip) olive 

ok, msg #0 was successfully cut off

#21  (no trip) olive 

I wrote the CSV reader and writer in one shot and was annoyed at the structure of the code that read it was not the nicest, but other than a simple mistake with the ," reading it worked which is amazing.

#22  (no trip) olive 

next: some sort of account-like via the secret field. I don't want to do session cookie stuff, so it will be sent with every request. It's stored in the plain in a cookie, and when on a secure connection, the server places it into the form for you.

I think the secret will just be the account identifier.
browsers won't offer to generate a password but will offer to remember it, annoyingly these are mutually exclusive I think, as the autocomplete hint is either new-password or current-password. Maybe setting both at once might work.

#23  (no trip) olive 

I want it to be possible to just rock up, type some garble into the secret, and play. No account stuff. To create a new character, just put some new garble. Names won't be protected in any way as that requires a way to limit them. However, a checkbox/command to add a salted hash of the secret to the message would work for identification, and a tiny random-art thing based on that as a stretch idea. Mainly it'll all be anonymous though.

I do also need to make it possible to see the whole history somehow… simply a query parameter for a message id and then it shows the 20 (might up this number to 100 or 200 once I know it all works) from there would be simple enough.

Also want to disable monospace on this message box and then get to the main thing! The game commands.
Oh, and max-width.

I plan for this to be a text-based game, kind of like a MUD.

I'm thinking simply that if a message contains a line beginning with a word for a known command, then try to parse it as one… though being able to do them mid-prose might be nice that can wait once the game works to see if it's nice.

I'm not sure how I'm going to do the concept of rooms/places yet. A thread per room? Means I have to implement threads, and then how does movement work…
I do want items/places/objects/idk to be referenced by linking to a post (like #22 this), which would seem to imply one item per post which would mean post proliferation… so maybe some sub-post number as well for multiple things per post. I just don't know how this will look right now. Back-links would be handy for navigation.

#25  (no trip) olive 

okie I need to set the max-width not only for wide screens but to make it not unlimited width

#28  (no trip) olive 

oh, it's 3000 not 2000

#29  (no trip) olive 

will this be #26 or #29 (29 hopefully)

#30  (no trip) olive 

hello from mobile
apparently this box can't be resized here…

#31  a1aeb712e3a9 olive 

trip test

#32  a1aeb712e3a9 (no name) 

nameless message

#33  a1aeb712e3a9 olive 

two commands added:
bunny
roll 3d12

https://www.youtube.com/watch?v=n4heJ_-oze8
3d12 sum 23 mean 7.666667 min 3 max 12

#34  99d3819728b1 aaaaaaaaaaaaa 

bunny; aaaaaaaaaaaaaa

https://www.youtube.com/watch?v=n4heJ_-oze8

#35  a1aeb712e3a9 olive 

meowmeowmeowmeow!

#36  a1aeb712e3a9 olive 

beeb i should work on this agian

#37  a1aeb712e3a9 olive 

emoji!! (Emoji "cirno: Peeing") and (Emoji "marisa: Get Out") and (Emoji "woman: Trans", Line art of a womanly figure with straight hair, breasts, a penis and balls. Made from the humans characters on the Voyager golden disk.) and (Emoji "shocked: Wikipe-tan", Wikipe-tan with her face replaced by an old-style gradient circle emoji of a shocked face with a circle mouth and eyes.)

#38  a1aeb712e3a9 olive 

I've decided this isn't going to be a game anymore, but more a dumping ground for me fiddling with web stuff inside of a web board/forum/wiki thing.

One idea I have is that posts can mark themselves as successors of previous posts, as a kind of soft-edit-as-reply feature. The old post can show a notice it has been replaced (but still show the old post).

I need to make reply backlinks show, and I want to add spoilers, -# sub, and other markup.

I've also grown attached to this idea of a chat-wiki, a post could be given a WikiTitle (maybe just a header markup # WigWom), and via WikiMentioning ((Emoji "shocked: Wikipe-tan", Wikipe-tan with her face replaced by an old-style gradient circle emoji of a shocked face with a circle mouth and eyes.)) a thing it links to it. For edits, just look for successors.
obvs. would have issues with people maliciously replacing a thing.. and spam in general is an issue.. not decided on what I'll do for that.

anyway (Emoji "cirno: Peeing")

#39  a1aeb712e3a9 olive 

oh I need to make the secret cookie tls-only, and figure out what I want to do with pagination.

and for chromium browsers I'm going to add optional infinite-loading page with <?marker> <template> for auto-updating support (no JS!)

#40  a1aeb712e3a9 olive 

and I want some form of shape-y representation of the hash, and maybe a highlight if the hash is different to the last hash of a post with that name