Log In  

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

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
1

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

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2022-12-09 06:38:25 | 0.041s | Q:35