ross,
@ross@fosstodon.org avatar

Loving working on the serverless Scrabble clone. Nice, intricate logic. Fun to test!

https://words.pico.games/

Fixed some simple, but hard-to-find bugs for edge cases tonight. You can now actually play a game right to the end! 🤦‍♂️

I'm thankful for people playing and reporting bugs! 🙏

Key things to add:

  • Skip/swap tiles as a feature
  • Double/triple squares on the board

Then it’s kinda complete!

Nice to haves:

  • Some drag-and-drop or keyboard entry
  • Some instructions
  • Better UI/design
raphadue,
@raphadue@fosstodon.org avatar

@ross
Some instructions would be great. Took me a few minutes on the phone to figure out how to place the first word.
Now stuck on the second player not being able to place a word. Pretty sure the problem lies between the chair and the screen.

ross,
@ross@fosstodon.org avatar

@raphadue Yes. Thank you. Working on that! 😃

raphadue,
@raphadue@fosstodon.org avatar

@ross
Been playing with my partner. It's quite fun already :) At first the link sharing is annoying, but one gets used to it quickly.

Dictionary integration you mention already, what is missing are the limitations on where you are allowed to place letters. I presume that is WiP :)

Also one needs a few more consonants. In the original game the set of letters to draw from is not uniformly distributed. Have you implemented that shared pool of letters yet?

ross,
@ross@fosstodon.org avatar

@raphadue What do you mean by limit where you are allowed to place letters?

I use the original Scrabble tile set but without the blanks.

raphadue,
@raphadue@fosstodon.org avatar

@ross
If I understand the rules correctly you need to start in the middle and then need to always incorporate one of the letters already placed on the board.

ross,
@ross@fosstodon.org avatar

@raphadue Yeah. I don’t enforce that. Maybe one day. Doesn’t feel hugely necessary. Your opponent can just refuse your move if it’s wrong - same for dictionary. I could enforce English. But maybe you want to play your own dictionary?

It’s kinda like I give you the board and tiles. You bring the rules!

raphadue,
@raphadue@fosstodon.org avatar

@ross
I understand. Regarding the tiles, the distribution of letters and their points actually changes with the language :)
E.g. German weighs the Z and Q much lower, while the Y has plenty of points

raphadue,
@raphadue@fosstodon.org avatar

@ross
Could you dynamically adjust the domain/properties after one clicks play? That way one could also just share using the mobile phone share buttons or simply copy the address bar

raphadue,
@raphadue@fosstodon.org avatar

@ross
How could you prevent a user from shuffling all their letters until they are happy with them by refusing an old link?

ross,
@ross@fosstodon.org avatar

@raphadue I don’t understand this one either. You should always get the same tiles for a given link. Can you explain more please?

Thanks for playing and for the ideas!!

raphadue,
@raphadue@fosstodon.org avatar

@ross
I meant reusing a link.
I had this in mind, but you thought about that, as it doesn't work and I always get the same letters:

  1. Open your link
  2. Click swap and swap some tiles
  3. Don't like them
  4. Reload the link from (1) and try again until you like them
ross,
@ross@fosstodon.org avatar

@raphadue Thats a bad idea. You might accidentally load your opponents view of the game.

raphadue,
@raphadue@fosstodon.org avatar

@ross
I guess you could prevent that by keeping some local state around

If I really wanted to I could always just click my opponents link :)

ross,
@ross@fosstodon.org avatar

@raphadue Sure. You’re just less likely to accidentally do it if I don’t update the URL. There’s a certain amount of trust here.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • cisconetworking
  • kavyap
  • osvaldo12
  • modclub
  • JUstTest
  • GTA5RPClips
  • khanakhh
  • tacticalgear
  • Durango
  • rosin
  • normalnudes
  • Leos
  • provamag3
  • tester
  • cubers
  • anitta
  • megavids
  • lostlight
  • All magazines