I have a problem. I have way too many unfinished side projects in my
~/dev folder. So I wanted to build something quick, and commit to releasing it and showing it off as quickly as possible. So here it is!
For the best experience, click here to go to CodePen's Full screen view. But I've embedded it here for your convenience.
I've built it using p5.js, mainly so I wouldn't have to deal with the raw canvas API.
Kamisado is an abstract board game for 2 players, played on a grid with differently colored squares. Each player has 8 pieces, each one corresponding to a tile color.
The first player, white, can choose which piece to move. After the first move you must always move your piece that corresponds to the color of the square the last player moved to. You can move a piece as far as you want straight forwards, or diagonally forwards. Never sideways or backwards.
You win by moving one of your pieces to the opponent's home row.
This version only includes the short mode of Kamisado. In the real game, you can continue playing once you've reached the other side, by turning your piece into a sumo that can push other pieces. I might build upon this version to add this in the future.
I'd like to write a post here on board game AI, and would like to implement a simple AI for Kamisado as an example. I'll work on this during the next week.
I'd also like to allow people to play over the internet. I'm trying to decide whether to implement this using firebase or a WebRTC data channel.