◀ VibeCruiser

2048 ai solver

A free game AI game — play it in your browser, no install. Expectimax AI solver for 2048 — reaches the 2048 tile in ~70% of games. The engine behind LK Forge's browser autoplay.

by @lucian-devops · lucian-devops/2048-ai-solver on GitHubLANG JavaScript★ 1HOSTED ON LUCIAN-DEVOPS.GITHUB.IOUPDATED 20 Oct 2026

Vote and save it — free account with email or sign in with GitHub

Made this, @lucian-devops? See how many people played it → or use email

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

LK Forge's 2048 AI: an expectimax solver that plays the game 2048 — a single, dependency-free JavaScript file: a free, open-source tool that auto-plays 2048 for you in the browser, a Web Worker, or Node. It reaches the 2048 tile in ~93% of games, pushes on to 4096 in ~64%, and reaches 8192 in ~11%, measured over self-play (numbers below are reproducible with the included benchmark).

This is the exact engine behind the browser autoplay at lkforge.com/games/2048. The expectimax approach and the probability-threshold pruning follow the canonical 2048 AI by Robert Xiao (nneonneo).

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →