Sticky Posts置顶文章

Post List文章列表

A bot for Hex, a two-player abstract strategy game on a hexagonal grid where each player tries to connect their two sides of the board.一个 Hex(六贯棋)对弈机器人。Hex 是在六边形棋盘上进行的双人抽象策略游戏,双方各自尝试连通棋盘的两条对边。

A classic Snake game where the player steers a growing snake to collect food while avoiding the walls and its own tail.经典贪吃蛇游戏:玩家操控不断变长的蛇去吃食物,同时避免撞到墙壁或自己的尾巴。

A chess video game implementing the standard initial setup and basic moves, ending when a king is captured or a player resigns.一款国际象棋电子游戏,实现了标准开局布置和基本走法,当一方的王被吃掉或有玩家认输时游戏结束。

A JavaFX maze solver that loads a maze from a text file, visualises the solving process step by step, and can save and load route-solving state.一个基于 JavaFX 的迷宫求解器,可从文本文件加载迷宫、逐步可视化求解过程,并支持保存和加载寻路状态。

A Prolog-based search engine in a room (Bob), with an overview of Prolog's declarative, rule-based logical inference and a simple example.一个基于 Prolog 的“房间里的搜索引擎”(Bob),并概述 Prolog 声明式、基于规则的逻辑推理特性,附简单示例。