Online chess game for multiplayers in APP INVENTOR

Here is a bare bones starter template you can build on.
It has no code for the rules of chess, and also lacks

  • piece promotion
  • castling
  • en passant
  • adjustment of List Picker Element colors to highlight white or black piece color

Be aware that the stock MIT emulator is not up to date enough to show the Unicode chess pieces. This demo was done on the MEMUPlay emulator.


The starting chess board:

chess_board.aia (11.6 KB)

Touched White Kings Pawn White Kings Pawn 4 selected
Selected pieces expand a little, to highlight them. Notice how the White Kings Pawn is bigger than the other pawns, to show that it will move to the next selected square.

global back_row global BIG global CANCEL global current_piece global SMALL

Have fun!

P.S. This could probably have been done better with buttons instead of List Pickers, since the Cancel option could have been done by a second Click on the originating square.

9 Likes