Skip to content

AlaskaLinuxUser's Scratchpad

"Commit thy works unto the LORD, and thy thoughts shall be established." Proverbs 16:3

  • Home
  • About
  • Contact

Tag: kingSafe

February 14, 2019

To castle, or not to castle, that is the question, picoEngine….

As you can see from the above screenshot, one of the engines possible moves is e8g8, which is for the black king to castle on the king’s side. This is […]

January 24, 2019

picoEngine?! Where is the king?!

What good is king safety if the king refuses to capture it’s attacker? I guess I had programmed a cowardly lion… er… uh… king. Actually the real problem was that […]

January 17, 2019

This is not checkers, picoEngine….

Then why does he say “king me?!” Today I worked on the king moves for picoEngine. Note that I did not include castling moves yet. Without the castle moves, the […]

January 8, 2019

Uh, picoEngine? I thought you said the king was safe?

Except he’s not. That’s right. I big technical oversight on my part allowed the king to not be safe at all! while (boardPositions[k] == ‘*’ && notI) { Needed to […]

December 18, 2018

Is the king safe, picoEngine?

One of the really important rules of playing chess, in fact, the rule upon which the entire game hinges, is king safety. You can’t make a move that puts your […]

April 27, 2018

Fool’s Mate Friday: Is the King safe from pawns?

Pawns can be scary things. They can en passant, they can form chains and islands, they can promote to the all powerful queen. Not to mention they can checkmate you. […]

January 19, 2018

Fool’s Mate Friday: Keeping the king safe!

The word “Checkmate” in Chess comes from the Persian phrase “Shah Mat,” which means “the King is dead.” While in the starting position, there are eight different ways to checkmate in […]

RSS Bible Gateway’s Verse of the Day

  • Zephaniah 3:17
    “The LORD your God is with you, the Mighty Warrior who saves. He will take great delight in you; in his love he will no longer rebuke you, but will rejoice over you with singing.””

The repositories have been moved from GitHub to GitLab. If you are viewing a post prior to June 7th, 2018, and can’t find the link, please look for the same repository on GitLab: https://gitlab.com/alaskalinuxuser

Check out what I've been up to on PSK Reporter!

Subscribe via RSS

Subscribe via Telegram

Subscribe to email notifications via rssby.email

© Copyright by Alaskalinuxuser with Creative Commons BY-SA 4.0 Theme Easy Blog by Creativ Themes