Casual 2D Game

Casual 2D games from one manifest of RULES evaluated against a board, not code: tic-tac-toe (any size, any line length), connect four, gomoku, reversi, match-3 candy games with cascades, striped, wrapped and colour-bomb specials and a target in N moves, 2048, Tetris-style falling blocks with SRS rotation, hold and a next queue, Wordle-style word guessing, minesweeper, lights out and sliding puzzles, or a board game of your own. Pick a kind and change what differs (a 4x4 board, five in a row, eight colours, 30 moves), or write the board, pieces, moves (place, drop, move, swap, shift, tap, mark, trace, guess), effects, rules on moves and events, and end conditions yourself; conditions are JavaScript expressions and whole functions may be added, both run in a sandbox. A computer opponent plays any multi-player game the rules describe, hints come from the same search, and every write is checked by test games played headlessly (does it end, can it be won, does a rule fail). Drawn in code on a 2D canvas with seven themes, animated moves, particles and sound. Three layouts: arcade, kiosk and clean. Ships empty on purpose.