AlaskaLinuxUser's Scratchpad

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

Are you mobile, picoEngine?

firstMove

With so many of my posts being about mobile phones, this title might seem misleading. However, I am not implying that picoEngine is on a mobile phone, but rather that I have added the ability for it to determine the mobility of the pieces on the board.

So far, picoEngine …

Multi-ply picoEngine!

output2

Hopefully, the above gif loaded for you. It's not much to look at, but it is really neat to see the output and evaluation from picoEngine as it calculates through multiple moves before making a decision. At present, it is set to 3 ply, which means, if I play as …

Single Ply Decisions from picoEngine!

evalsWorking

While this may not seem like a real feat to many, I'm actually really excited about this. For the first time, picoEngine actually made an "informed decision" of what move to make. Granted, it is still making poor decisions, but they are at least no longer random.

Keeping in mind …

TWRP on the Urbane!

[gallery ids="3997,3996" type="circle" columns="2"]

[gallery ids="3996,3997" type="circle" columns="2" orderby="rand"]

One of the side projects I have been working on is playing around with my new to me smart watch, an LG Urbane (W150). Among the different projects, I built TWRP for …

What's your evaluation, picoEngine?

eval

While certainly nothing fancy, I have added a quick material evaluation to picoEngine. Up till now, I've been using picoEngine with random moves on. It is an option that by default is off, but the end user can choose to play against the engine in random move mode, where the …

Would you like to en passant, picoEngine?

After hours of toil and pain, I realized that I was going about this all wrong, and then in 15 minutes enabled the ability for picoEngine to choose to en passant. It is amazing how far off track I was, and how quickly it could be fixed when I was …

picoEngine, in passing?

One of the key things that any chess engine needs to be able to do, is take the input from the calling program with regards to en passant. With a little algebra, it wasn't too hard to set up:

enpassworked

Fortunately, it was pretty easy to add the ability for the …

Castle, picoEngine?

castleinput

After about an hour of accomplishing nothing, I finally gave up on what I was doing and fixed the UCI input for "movpos" when castling. So now, if given the move for castling, it moves the rook as well as the king!

You can check out the whole commit on …

Android Remote Control through ADB

Today, I stumbled on perhaps the most ingenious use of ADB ever:

Remote control your Android phone through adb

A program and write-up by Marian Schedenig, that they shared on their website. This is perhaps the best adb tool I have ever seen, in that it takes three simple principles …