Hacker News new | past | comments | ask | show | jobs | submit login

One modification to this game I'd like to make is adding the missing knook piece.

But sadly I don't think I'm up for it: Do not expect the code to be stable under any modifications, but you can try if you want I guess.




Looking at the code adding another piece should be doable since I don’t think any pieces call other pieces attributes, and the pieces at game start are just objects in a list…


Build the board out of bricks and it's both stable amd you get easy access for bricking online!


Adding the knook would be pretty simple actually. I'd just need to combine the code for the rook and the knight and then make a function to snap the mouse position to the right closest point on the crosshair shape.


What's a knook? A mix between knight and rook? How would it work?


Yup. It’s a piece that can move anywhere a knight or a rook could move. Invented (I think?) by /r/AnarchyChess


I've known this as the "Empress", a fairy chess piece.


That sounds more like queen + knight




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: