(no title)
frading | 1 year ago
> Play again in the same checkboard
You can indeed get your revenge. When you start a new game, you can change several option. One of them is how the next board is selected. You can either:
- keep the same board - pick one from a curated list - or generate it randomly
By default, it is set on the 3rd option, but you then need to change it to the first one ("Same Board"), like in this video: https://imgur.com/a/sq8TDbx
> Symetric maps (like in Starcraft 2).
That's not possible at the moment, but someone else had the same request, so I'll have a think. I personally prefer boards that are very irregular and therefore asymmetric, but I appreciate it's subjective.
In the mean time, when you select a board the from the curated list, you can see 5 board types: "very irregular", "regular vs irregular", "almost regular", "regular" and "central pivot". This last one will have boards that are fairly symmetrical (but not completely).
> Does the bot run in the server or in my computer?
It runs on your computer. It's all javascript, running in workers. If the game has a decent success, I'd like to take the time to do a rewrite in a different language to get it in wasm, as it could run faster.
> Can it make a ping when it plays
You should hear the sound of the piece being moved, like in this video: https://imgur.com/a/XoWIJZb If you don't, the only reason I can think of is that the game audio has been turned off, via the button at the top right of the screen?
I'm not sure what chess.com does now, but I believe using a audio hint is really useful for exactly the reason you encountered. And it's even more needed when playing multiplayer without a timer, as your opponent could take even longer to play.
gus_massa|1 year ago
Add a confirmation to the resign button!
Can you add a permalink to share the game with my friends so they can see the replay?
(In one moment, the bot atacked my rock with a bishop, and the rock was totaly traped in the corner between the pawn and the knight :(. But after a few minutes of thinking, I used a magical curved path of my far bishop to stop the atack. It was very surprising to be able to save the rock.)
Permalikt to checkboard may be nice too.
When the bot is hopeless (like a rock and two knight down) it makes too many silly moves. Probably all the moves have 0% chance of wining, so it can't pick the best one. Perhaps a counting the pieces heuristic may at least avoid the very silly moves.
(In one moment, the bot could eat a knight, but it just moved the king away instead.)
frading|1 year ago
Congrats! Although I wish it had given you an even harder time!
> Add a confirmation to the resign button!
Yes, you're right, it is much needed.
> Can you add a permalink to share the game with my friends so they can see the replay?
Yes, that would indeed be very useful. I'll see how I can make it work. And maybe there is a way to have it so that it works also for the iOS and steam versions.
> Permalikt to checkboard may be nice too.
Absolutely. That's on my list. (although bear in mind that the demo only has 2 different boards)
> I used a magical curved path of my far bishop to stop the atack. It was very surprising to be able to save the rock
Nice. Thanks a lot for sharing this one. Those are indeed the great reversal moments, I love those.
> When the bot is hopeless (like a rock and two knight down) it makes too many silly moves.
There are many factors that drive how the bot behaves. There clearly is room for improvement, although that will probably need a rewrite in wasm, and most likely need someone who has more experience at this than me. Although I could only hire someone if it makes financial sense. Something I keep thinking about.
And I'm still going through some of the feedback I received, so expect an update in the week or so.