Post
Topic
Board Meta
Merits 219 from 11 users

Re: Replacing the merit system
by
PowerGlove
on 01/04/2025, 20:35:31 UTC
⭐ Merited by fillippone (50) ,EFS (50) ,theymos (45) ,LoyceV (42) ,Foxpup (12) ,mole0815 (10) ,ibminer (4) ,Halab (2) ,JayJuanGee (2) ,Cyrus (1) ,Avox (1)

Hey, everyone!

I just wanted to say that I hope you're all having fun! Smiley

(I actually had this idea back in 2023, soon after I did the FlappyCAPTCHA thing, but, I wasn't able to pull it off in time for last year's event.)

There are some chat commands that might be worth knowing:

/t+ makes the table bigger.
/t- makes the table smaller.
/t= makes the table the default size.
/c+ makes the controls bigger.
/c- makes the controls smaller.
/c= makes the controls the default size.
/q unseats you and puts you back in spectator mode. (This was from before I added the "Leave" button.)
/qj is the "quit join" command. You can use it to quickly be re-seated (it basically just selects a new table at random, without much intelligence, so you could end up back on the table you came from; if that keeps happening then there are likely only a few active tables).
/> rotates your position on the table (in case you prefer being seated somewhere other than the "south" chair).
/e is a (basically useless to anyone but me) command that does a console.log() on any recorded errors.

You can use the up and down arrow keys to navigate through the items that you've entered. If the chat input doesn't "accept" something you've typed in, then that's because you're either trying to enter an unrecognized chat command, or you're not seated, or you're trying to enter something that would take too many bytes when encoded in UTF-8 (like a long string of emojis, or something).

If anyone is interested in some programming details: With comments, and minus the custom build script, this project consists of just 1599 lines of code (168 lines of PHP, 576 lines of Python, and 855 lines of JavaScript, all according to cloc). It uses only the standard library from each language. While this project was mostly a solo effort, I certainly wouldn't have been able to complete it without help from both theymos (who helped with ideas and who did the database/SMF integration), and ibminer (who designed the table, the cards, and the chips, and who also helped with ideas).

One last thing: I added a cool little tribute/nod to o_e_l_e_o (who we all still miss very much around here). If the 5 "community" cards come up in a way that's suggestive of o_e_l_e_o's palindromic name (as in, something like 2-3-4-3-2, or J-5-A-5-J, etc. then the cards will display with a blueish glow, and everyone at that table gets a pMerit gift (and whatever is in the pot gets tripled).