Skip to content

melgrove/laser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

Laser • playlaser.xyz

laser2

Laser is a turn based game which is played on a chess board, and hosted online at playlaser.xyz. Some of the pieces move the same way as their chess counterparts, while some are completely different. The game is named after the laser piece, which can shoot diagonally through every piece on the board except for the wall, which blocks it. The goal when creating Laser was to make a balanced game that has unexpected emergent strategy.

Rules

The rules are available on the website.

Implementation

The goal of the website is simply to allow games of laser to be played online, and thus is very minimal. All of the game logic and move validation happens in the client so the server can remain as simple as possible. The client (svelte/) uses a forked (modified) version the lichess UI library chessground, and is thus released with the GPL-3.0 license. The server (server/) is a very minimal node.js websocket server which serves the lobby and game moves. The server also keeps track of the clocks for each game so there is a shared ground truth for clock timeouts. It is released with the MIT license.

Credits

Laser was created by Oliver Melgrove and Tate Welty, and influenced by friends who have played against us. The website was created by Oliver Melgrove.

About

Play Laser Online

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published