Rooks can now use portals!
Pretty simple update, rooks can now use portals, go up down left or right, straight through a portal and straight out the other side
This update was a little easier than the pawns, for the pawns each of there moves use different logic, forward is basic, but diagnal requires an enemy, double up requires start position. En Passant requires a bunch of set scenarios to happen. Rooks however, just move in a direction, so after coding up motion, down is just the same but a - in place of the +, and left and right are up and down with flipped x/y co-ords
Next update should add Bishop functionality, possibly queen aswell as that should just be a case of copying the rooks and bishops logic.
Note - castling doesnt work with portals yet as its coded as part of the kings logic as they initiate it
Files
Get Portal Chess
Portal Chess
Status | In development |
Author | luketaylor-dev |
Genre | Strategy |
Tags | Chess, Multiplayer, Singleplayer |
Languages | English |
More posts
- All pieces can use portals!Sep 09, 2021
- Bug FixesSep 07, 2021
- Implemented Portals!Sep 07, 2021
Leave a comment
Log in with itch.io to leave a comment.