Tagged articles
Snake Game
13 articles · Page 1 of 1
A developer turned the browser’s URL bar into a 40×4 pixel playground, using Unicode Braille characters and less than 400 lines of JavaScript to create a fully playable Snake game that updates the address bar in real time.
Front-endJavaScriptSnake Game
0 likes · 17 min read

This guide explains how to set up a Model Context Protocol (MCP) server, define its resources, tools, and prompt templates, implement both manual and WebSocket versions of a Snake game client, create MCP clients in TypeScript and Python, debug with the inspector, and integrate the server with AI agents for autonomous gameplay.
AIMCPSnake Game
0 likes · 45 min read

This tutorial walks through building an AI-controlled Snake game in Python using the curses library, covering environment setup, core algorithms such as BFS/DFS for pathfinding, detailed code explanations, common pitfalls, and extensions for human‑vs‑AI play.
AISnake Gamecurses
0 likes · 16 min read

This tutorial walks you through creating a fully functional Snake game in Python with Pygame, covering required environment setup, visual assets, and a complete source code example that demonstrates grid handling, movement logic, collision detection, and scoring.
PygamePythonSnake Game
0 likes · 13 min read

This article explains how to build a Python-based snake game with both human and AI players, detailing the development environment, core features, AI path‑finding logic using BFS, and providing complete source code for a fully functional AI snake that can compete against a human‑controlled snake.
AIPythonSnake Game
0 likes · 17 min read

This tutorial explains how to install the PHP UI (ui) extension on Linux, configure it on Windows, and use it to run a simple Snake game written in PHP, providing step‑by‑step commands, required libraries, and testing instructions.
GUISnake GameUI extension
0 likes · 4 min read

This tutorial walks through creating a fully functional Snake game in Python using Pygame, covering window setup, snake and food initialization, directional controls, movement logic, collision detection, scoring, speed scaling, and game‑over conditions, all illustrated with code snippets and diagrams.
PygameSnake GameTutorial
0 likes · 5 min read

This tutorial walks through building a classic Snake game in Python with Pygame, covering window and grid setup, snake and food initialization, direction handling, movement logic, scoring, speed adjustments, and the conditions that trigger game over.
PygameSnake GameTutorial
0 likes · 5 min read


ByteFEJun 1, 2021 · Frontend Development
This article demonstrates how to integrate a canvas‑based snake game into the Quill rich‑text editor by creating a custom toolbar button, defining a SnakeBlot, registering it with Quill, and inserting the game as an embed, all within the DevUI framework for enterprise front‑end solutions.
DevUIQuillSnake Game
0 likes · 9 min read

This article presents a comprehensive overview of a Snake game project built with Python and Pygame, detailing game rules, overall design, required libraries, core functions such as food generation, movement, collision detection, mode handling, and includes the complete source code for both normal and wall‑through modes.
PygameSnake GameTutorial
0 likes · 19 min read

Learn how to create a fully functional Snake game in Python using Pygame, covering installation, core game logic, rendering, collision detection, and game loop implementation, with detailed code examples and explanations to help beginners build and customize their own classic arcade game.
PygamePythonSnake Game
0 likes · 13 min read

This tutorial guides you through building a classic Snake game in C using a top‑down design that includes a refresh loop, keyboard or AI‑generated commands, structures for snake, food, and map, queue‑based body handling, random food placement, hard‑coded maps, collision detection, and heuristic AI to steer the snake toward food while avoiding self‑collision and obstacles.
AI heuristicsCollision DetectionSnake Game
0 likes · 4 min read


ITPUBAug 4, 2017 · Artificial Intelligence
This article introduces a C++ Snake game project from GitHub that showcases two AI approaches—Hamiltonian‑cycle based and graph‑search based—to let the snake fill the entire map, and provides step‑by‑step setup, keyboard controls, and detailed algorithm explanations.
AIC++GitHub
0 likes · 7 min read
