Content pfp
Content
@
0 reply
0 recast
0 reaction

Drew Fisher pfp
Drew Fisher
@drewf.eth
https://github.com/smallbraingames/words3-contracts/blob/dcd1033f5b500f342b4cfa77c920db0259b40ff1/src/libraries/LibPlay.sol#L256 Is it intentional that you can't play something next to a word, making 1 or more 2-letter words? ex. putting TO here: T TO H I N G
2 replies
5 recasts
29 reactions

Small Brain pfp
Small Brain
@0xsmallbrain
Yeah great question To make the move above you'd need to make two txns (one to play the "O", and then the other to play the "T" on top of it) This is for no other reason than keeping the contracts as simple as possible Great eye, do u want to work on words3
4 replies
0 recast
0 reaction

Drew Fisher pfp
Drew Fisher
@drewf.eth
The 2 txns kinda sucks if it's a bonus tile bc of this: https://github.com/smallbraingames/words3-contracts/blob/dcd1033f5b500f342b4cfa77c920db0259b40ff1/src/libraries/LibPoints.sol#L140
1 reply
0 recast
1 reaction

Small Brain pfp
Small Brain
@0xsmallbrain
Right, you’d just get the bonus once Agreed it’s annoying in the case of a word bonus
1 reply
0 recast
0 reaction

Drew Fisher pfp
Drew Fisher
@drewf.eth
Can't you just return containsEmpty from checkWord instead of reverting? (I'd invert and call it requiresCrossWords) Then when playing, follow the checkCrossWords() with if(requiresCrossWords && buildsOnPlayers == 0) revert LonelyWord();
2 replies
0 recast
1 reaction

Small Brain pfp
Small Brain
@0xsmallbrain
Potentially, looking at
0 reply
0 recast
0 reaction