hughesdanielco5770 GitHub avatar

minimax-canvas-game-script

hughesdanielco5770

A browser-based HTML Canvas game where the AI opponent's moves are selected using the Minimax algorithm.

Stars

9

7-day growth

No data

Forks

0

Open issues

0

License

GPL-3.0

Last updated

2026-07-31

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

This repository is notable for packaging the Minimax algorithm into a compact, browser-runnable Canvas game, making a classic AI concept easy to open, inspect, and modify.

Who it is for

  • Web developers interested in AI algorithms
  • Students learning Minimax or game AI basics
  • Hobbyist game developers looking for a small Canvas game project
  • Educators seeking a simple browser-based AI demo

Use cases

  • Exploring how Minimax can be implemented in a browser game
  • Teaching or demonstrating AI decision-making in web applications
  • Serving as a starting template for a Canvas-based player-versus-AI game
  • Quickly opening a playable AI opponent without a build toolchain

Strengths

  • Runs in a web browser with no native installation required
  • Uses HTML Canvas for the game interface
  • Demonstrates Minimax-based AI move selection in a compact HTML script
  • Open-source under GNU GPL v3.0, allowing review and modification

Considerations

  • README provides no documented configuration options, exact game rules, or keyboard shortcuts
  • No concrete browser version or performance compatibility details are given
  • Gameplay details and AI behavior beyond Minimax move selection are not described in the available metadata

README quick start

Getting Started

Description

A browser-based Canvas game utility for 2026, built with HTML and designed for matches against an AI opponent whose moves are selected using the Minimax algorithm.

Related repositories

Similar projects matched by category, topics, and programming language.

MoonshotAI
Featured
MoonshotAI GitHub avatar

Kimi-K3

Kimi K3 is an open-weight, 2.8T-parameter native multimodal agentic model with a 1M-token context window, designed for frontier coding, knowledge work, and reasoning tasks.

AI & Machine LearningAI Agents
3,348
lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960