218 points · by xgboop · 3y ago · 65 comments
I made the website as a super minimal way to play online against friends. Nobody really knows about it so it might be hard to find a game, but maybe you will against someone on HN if people read this. It uses the lichess.org chessboard UI which is super pretty and allows you to draw on the board, make premoves, etc. The code is public if you are interested: github.com/melgrove/laser
If you are playing, good luck, and don't get lasered!
You might want to create some discord or similar to make sure the community outlives the short-lived HN celebrity.
The nice part about Chess 2 is that the different armies are playable in any combination, which adds lots of variety to the game (although there are some balance issues which are addressed through the official tournament rules).
[0] Apparently Sirlin didn't really like the rule set he published so he fundamentally changed the rules a while back but kept calling it Chess 2, unfortunately.
Hm.
“Laser Chess” was also the name of a 1987 video game: https://en.m.wikipedia.org/wiki/Laser_Chess
Gameplay video: https://m.youtube.com/watch?v=PywxkhY3kGs
- Sometimes I can make infinite consecutive moves - Sometimes the game displays the "<opponent> wins" message when they haven't satisfied any of the win conditions and I haven't resigned. - Sometimes I enter a game and immediately win (though this might just be the opponent insta-resigning?)
Would love to come back and play more when it's working better!
I would like to play more, but the games seem to be unreliable - the moves from my opponents stop getting through at some point, typically after a few moves.
Can the laser shoot across either diagonal?
Pawns only move to adjacent squares, like in chess?
If the laser can move horizontally and vertically, then why not just say it can move like a rook in chess, the way two other pieces are described?
They are a lichess fork focused on variants.
It's currently running in a loop under the name "LASERFISH SHITTY CPU OPPONENT". It never joins your games - you have to click on it.
I also thought about making a puzzle opponent that would give you unusual FEN starting positions and nearly unlimited time, but I don't want to invent puzzles.
Does the game not send a gameOver packet when you win or lose by pawn move?
edit: I figured out why it can't find any moves and crashes. It can't find any of YOUR moves if it backs you into a corner and takes every single piece. With the crash fixed, it seems to be winning 2/3 of the time and drawing 1/3 (probably some stupid logic where it thinks lasering your king and their king and one pawn is a good tradeoff)
Have you thought about making it so you can play against the computer?
Clock randomly jumps to zero. I can sometimes make infinite moves. Using laser is a bit unintuitive.
I think the chess board should really be at the top of the screen & lobbies & then rules below, and lobbies should be collapsible to prevent screen shifting.
Whereas once you move a pawn into the target corner the game over just happens.
You also need four of the diagonal pieces, so the bishops won't cut it.
It gets frustrating when this happens near the end of game when I am just about to win but the game randomly decides to reset my clock or stop the game and make the other person winner!
I think I've walked into a bug.
(Assuming black starts with a1 at bottom left):
1. Kc5 d6; 2. e3 <= was my next move but my pawn teleported to f5
If it sticks, maybe it could even be adopted as a variant in Lichess?
cool tho i guess