New Show Hacker News story: Show HN: Multiplayer Word Scramble in Browser Using Common Lisp
Show HN: Multiplayer Word Scramble in Browser, Using Common Lisp
2 by schemescape | 0 comments on Hacker News.
Thirteen Letters is a web-based, competitive word scramble game I made for Lisp Game Jam (Spring 2023) [0]. The gameplay isn't novel, but it's a multiplayer browser game that's written in 100% Common Lisp (cf. the source code [1]). The front end uses Parenscript, Spinneret, and cl-css to translate s-expressions to JavaScript, HTML, and CSS, respectively. The back end is built using the Hunchentoot web server, Hunchensocket for WebSockets, and yason for JSON, running on SBCL. I'm fairly new to Common Lisp, so I'm not qualified to dispense advice, but I found having a REPL on the live service to be convenient for monitoring activity, toggling settings, and fixing minor bugs on the fly. It's a lot of fun for hobby projects, although I'd be much more cautious with anything important--I definitely broke the live service a few times by not being careful! I posted a more thorough braindump elsewhere [2]. Let me know what you think! I'm happy to answer any questions. I'll play for a while, to hopefully give people a moderately worth opponent :) [0] https://ift.tt/MsjbFgA [1] https://ift.tt/X8Mga9D [2] https://ift.tt/WzEmRJ4...
2 by schemescape | 0 comments on Hacker News.
Thirteen Letters is a web-based, competitive word scramble game I made for Lisp Game Jam (Spring 2023) [0]. The gameplay isn't novel, but it's a multiplayer browser game that's written in 100% Common Lisp (cf. the source code [1]). The front end uses Parenscript, Spinneret, and cl-css to translate s-expressions to JavaScript, HTML, and CSS, respectively. The back end is built using the Hunchentoot web server, Hunchensocket for WebSockets, and yason for JSON, running on SBCL. I'm fairly new to Common Lisp, so I'm not qualified to dispense advice, but I found having a REPL on the live service to be convenient for monitoring activity, toggling settings, and fixing minor bugs on the fly. It's a lot of fun for hobby projects, although I'd be much more cautious with anything important--I definitely broke the live service a few times by not being careful! I posted a more thorough braindump elsewhere [2]. Let me know what you think! I'm happy to answer any questions. I'll play for a while, to hopefully give people a moderately worth opponent :) [0] https://ift.tt/MsjbFgA [1] https://ift.tt/X8Mga9D [2] https://ift.tt/WzEmRJ4...
Comments
Post a Comment