Log In  

Cart #jewupanuza-0 | 2022-05-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

A first attempt at a pico8 chess engine.
Move generation is currently unoptimised so AI is fairly slow and doesn't have a great depth search.

-- Controls --
Use arrow keys to select a piece
Use z to confirm
Use x to disable AI

P#112136 2022-05-22 15:10

GG

P#112164 2022-05-23 05:43
2

Oooh, we could try an Pico Chess AI contest!

P#112167 2022-05-23 06:18

Not too shabby! The music is Pachabels canon, yeah? AI isn't too hard to trick, but it isn't stupid either. I look forward to the refinement of this cart!

P#112168 2022-05-23 06:19

I played twice and got beat both times, I suck at chess but star for this excellent cart!

P#112175 2022-05-23 09:53

The colors of the board are reversed :)

P#112191 2022-05-23 19:23

why?

P#112320 2022-05-26 11:59

@Nizart the engine isn't perfect, likely a bug with move generation

P#113943 2022-07-04 10:05

Owned.

Second game though. The first attempt I had a major advantage but then both me and the ai screwed up so it was a near victory. This works pretty well, but it occasionally seems to give the player the ability to move the ai pieces. In the one above, I noticed the ai doesn't know how to break defenses, so just slowly moving forward with an unyielding wall where nothing is unprotected totally destroys it.

P#113955 2022-07-04 19:10

@kimiyoribaka if you press x it disables the ai and allows you to control the ai

P#113956 2022-07-04 19:18 ( Edited 2022-07-04 19:18)

I'm not very good at chess so losing this game doesn't surprise me, but what's remarkable is how it brought me down. Too fast.

P#115089 2022-08-01 02:01

Great game! However I noticed the board is inverted, since the queen's rook square is white, and should be black, and this is engine is quite weak, but it still very impressive!

P#135577 2023-10-07 13:26

There are some bugs, I got 3 free turns because the ai wouldn't move.

P#135589 2023-10-07 17:43

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 20:55:09 | 0.042s | Q:40