[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-ssusnic--Machine-Learning-Flappy-Bird":3,"tool-ssusnic--Machine-Learning-Flappy-Bird":64},[4,17,27,35,43,56],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":16},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,3,"2026-04-05T11:01:52",[13,14,15],"开发框架","图像","Agent","ready",{"id":18,"name":19,"github_repo":20,"description_zh":21,"stars":22,"difficulty_score":23,"last_commit_at":24,"category_tags":25,"status":16},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",140436,2,"2026-04-05T23:32:43",[13,15,26],"语言模型",{"id":28,"name":29,"github_repo":30,"description_zh":31,"stars":32,"difficulty_score":23,"last_commit_at":33,"category_tags":34,"status":16},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107662,"2026-04-03T11:11:01",[13,14,15],{"id":36,"name":37,"github_repo":38,"description_zh":39,"stars":40,"difficulty_score":23,"last_commit_at":41,"category_tags":42,"status":16},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[13,26],{"id":44,"name":45,"github_repo":46,"description_zh":47,"stars":48,"difficulty_score":23,"last_commit_at":49,"category_tags":50,"status":16},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",84991,"2026-04-05T10:45:23",[14,51,52,53,15,54,26,13,55],"数据工具","视频","插件","其他","音频",{"id":57,"name":58,"github_repo":59,"description_zh":60,"stars":61,"difficulty_score":10,"last_commit_at":62,"category_tags":63,"status":16},3128,"ragflow","infiniflow\u002Fragflow","RAGFlow 是一款领先的开源检索增强生成（RAG）引擎，旨在为大语言模型构建更精准、可靠的上下文层。它巧妙地将前沿的 RAG 技术与智能体（Agent）能力相结合，不仅支持从各类文档中高效提取知识，还能让模型基于这些知识进行逻辑推理和任务执行。\n\n在大模型应用中，幻觉问题和知识滞后是常见痛点。RAGFlow 通过深度解析复杂文档结构（如表格、图表及混合排版），显著提升了信息检索的准确度，从而有效减少模型“胡编乱造”的现象，确保回答既有据可依又具备时效性。其内置的智能体机制更进一步，使系统不仅能回答问题，还能自主规划步骤解决复杂问题。\n\n这款工具特别适合开发者、企业技术团队以及 AI 研究人员使用。无论是希望快速搭建私有知识库问答系统，还是致力于探索大模型在垂直领域落地的创新者，都能从中受益。RAGFlow 提供了可视化的工作流编排界面和灵活的 API 接口，既降低了非算法背景用户的上手门槛，也满足了专业开发者对系统深度定制的需求。作为基于 Apache 2.0 协议开源的项目，它正成为连接通用大模型与行业专有知识之间的重要桥梁。",77062,"2026-04-04T04:44:48",[15,14,13,26,54],{"id":65,"github_repo":66,"name":67,"description_en":68,"description_zh":69,"ai_summary_zh":69,"readme_en":70,"readme_zh":71,"quickstart_zh":72,"use_case_zh":73,"hero_image_url":74,"owner_login":75,"owner_name":76,"owner_avatar_url":77,"owner_bio":78,"owner_company":78,"owner_location":78,"owner_email":78,"owner_twitter":78,"owner_website":79,"owner_url":80,"languages":81,"stars":90,"forks":91,"last_commit_at":92,"license":93,"difficulty_score":23,"env_os":94,"env_gpu":94,"env_ram":94,"env_deps":95,"category_tags":100,"github_topics":101,"view_count":10,"oss_zip_url":78,"oss_zip_packed_at":78,"status":16,"created_at":121,"updated_at":122,"faqs":123,"releases":134},1121,"ssusnic\u002FMachine-Learning-Flappy-Bird","Machine-Learning-Flappy-Bird","Machine Learning for Flappy Bird using Neural Network and Genetic Algorithm","Machine-Learning-Flappy-Bird 是一个基于 HTML5 的开源项目，通过神经网络和遗传算法让经典游戏 Flappy Bird 中的小鸟能够自主学习飞行策略。项目核心是模拟生物进化机制，让 10 只虚拟小鸟在游戏环境中通过试错不断优化飞行决策，最终学会如何精准判断跳跃时机以穿越障碍物。\n\n这个项目解决了传统编程难以实现的动态决策问题——不需要人为编写具体规则，而是通过机器学习让程序自主总结生存规律。它特别适合对人工智能感兴趣的开发者和学生，既能作为机器学习入门案例，也能用于研究神经网络与遗传算法的协同应用。项目采用 Phaser 游戏框架和 Synaptic 神经网络库构建，技术实现上兼顾了可读性与扩展性。\n\n技术亮点在于将生物进化机制数字化：每代小鸟的神经网络参数会通过适应度评估（飞行距离与障碍物距离的差值）进行优胜劣汰，通过交叉、变异等遗传操作迭代优化决策模型。这种结合神经网络实时决策与遗传算法全局优化的架构，生动展示了机器学习从随机行为到智能策略的演化过程。项目附带的可视化界面和完整教程，让学习者能直观观察算法改进效果，非常适合动手实践。","# Machine Learning for Flappy Bird using Neural Network and Genetic Algorithm\n\nHere is the source code for a HTML5 project that implements a machine learning algorithm in the Flappy Bird video game using neural networks and a genetic algorithm. The program teaches a little bird how to flap optimally in order to fly safely through barriers as long as possible.\n\nThe complete tutorial with much more details and demo you can find here:  \n[http:\u002F\u002Fwww.askforgametask.com\u002Ftutorial\u002Fmachine-learning-algorithm-flappy-bird](http:\u002F\u002Fwww.askforgametask.com\u002Ftutorial\u002Fmachine-learning-algorithm-flappy-bird)\n\nHere you can also watch a short video with a simple presentation of the algorithm:  \n[https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=aeWmdojEJf0](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=aeWmdojEJf0)\n\nAll code is written in HTML5 using [Phaser framework](http:\u002F\u002Fphaser.io\u002F) and [Synaptic Neural Network library](https:\u002F\u002Fsynaptic.juancazala.com) for neural network implementation.\n\n![Flappy Bird Screenshot](https:\u002F\u002Fraw.githubusercontent.com\u002Fssusnic\u002FMachine-Learning-Flappy-Bird\u002Fmaster\u002Fscreenshots\u002Fflappy_10.png \"Flappy Bird Screenshot\")\n\n## Neural Network Architecture\n\nTo play the game, each unit (bird) has its own neural network consisted of the next 3 layers:\n1. an input layer with 2 neurons presenting what a bird sees:\n     \n     ```\n     1) horizontal distance between the bird and the closest gap\n     2) height difference between the bird and the closest gap\n     ```\n     \n2. a hidden layer with 6 neurons\n3. an output layer with 1 neuron used to provide an action as follows:\n     \n     ```\n    if output > 0.5 then flap else do nothing\n     ```\n     \n![Flappy Bird Neural Network](https:\u002F\u002Fraw.githubusercontent.com\u002Fssusnic\u002FMachine-Learning-Flappy-Bird\u002Fmaster\u002Fscreenshots\u002Fflappy_06.png \"Flappy Bird Neural Network\")\n\n\nThere is used [Synaptic Neural Network library](https:\u002F\u002Fsynaptic.juancazala.com) to implement entire artificial neural network instead of making a new one from the scratch.\n\n## The Main Concept of Machine Learning\n\nThe main concept of machine learning implemented in this program is based on the neuro-evolution form. It uses evolutionary algorithms such as a genetic algorithm to train artificial neural networks. Here are the main steps:\n\n1. create a new population of 10 units (birds) with a **random neural network** \n2. let all units play the game simultaneously by using their own neural networks\n3. for each unit calculate its **fitness** function to measure its quality as:\n\n    ```\n    fitness = total travelled distance - distance to the closest gap\n    ```\n \n    ![Flappy Bird Fitness](https:\u002F\u002Fraw.githubusercontent.com\u002Fssusnic\u002FMachine-Learning-Flappy-Bird\u002Fmaster\u002Fscreenshots\u002Fflappy_08.png \"Flappy Bird Fitness\")\n\n    \n4. when all units are killed, evaluate the current population to the next one using **genetic algorithm operators** (selection, crossover and mutation) as follows:\n\n    ```\n    1. sort the units of the current population in decreasing order by their fitness ranking\n    2. select the top 4 units and mark them as the winners of the current population\n    3. the 4 winners are directly passed on to the next population\n    4. to fill the rest of the next population, create 6 offsprings as follows:\n        - 1 offspring is made by a crossover of two best winners\n        - 3 offsprings are made by a crossover of two random winners\n        - 2 offsprings are direct copy of two random winners\n    5. to add some variations, apply random mutations on each offspring.\n    ```\n    \n5. go back to the step 2\n\n## Implementation\n\n### Requirements\n\nSince the program is written in HTML5 using [Phaser framework](http:\u002F\u002Fphaser.io\u002F) and [Synaptic Neural Network library](https:\u002F\u002Fsynaptic.juancazala.com) you need these files:\n\n- **phaser.min.js**\n- **synaptic.min.js**\n\n### gameplay.js \nThe entire game logic is implemented in **gameplay.js** file. It consists of the following classes:\n\n- `App.Main`, the main routine with the following essential functions:\n\t- _preload()_ to preload all assets\n\t- _create()_ to create all objects and initialize a new genetic algorithm object\n\t- _update()_ to run the main loop in which the Flappy Bird game is played by using AI neural networks and the population is evolved by using genetic algorithm\n\t- _drawStatus()_ to display information of all units\n\t\n- `TreeGroup Class`, extended Phaser Group class to represent a moving barrier. This group contains a top and a bottom Tree sprite.\n\n- `Tree Class`, extended Phaser Sprite class to represent a Tree sprite.\n\n- `Bird Class`, extended Phaser Sprite class to represent a Bird sprite.\n\n- `Text Class`, extended Phaser BitmapText class used for drawing text.\n\n### genetic.js \n\nThe genetic algorithm is implemented in **genetic.js** file which consists of the following class:\n\n- `GeneticAlgorithm Class`, the main class to handle all genetic algorithm operations. It needs two parameters: **_max_units_** to set a total number of units in population and **_top_units_** to set a number of top units (winners) used for evolving population. Here are its essential functions:\n\n   - _reset()_ to reset genetic algorithm parameters\n   - _createPopulation()_ to create a new population\n   - _activateBrain()_ to activate the AI neural network of an unit and get its output action according to the inputs\n   - _evolvePopulation()_ to evolve the population by using genetic operators (selection, crossover and mutations)\n   - _selection()_ to select the best units from the current population\n   - _crossOver()_ to perform a single point crossover between two parents\n   - _mutation()_ to perform random mutations on an offspring\n","# 使用神经网络和遗传算法实现 Flappy Bird 的机器学习\n\n这是一个 HTML5 项目的源代码，通过神经网络和遗传算法在 Flappy Bird 游戏中实现机器学习算法。该程序教会小鸟如何最优地扇动翅膀，尽可能长时间地安全穿过障碍物。\n\n完整教程和演示地址：  \n[http:\u002F\u002Fwww.askforgametask.com\u002Ftutorial\u002Fmachine-learning-algorithm-flappy-bird](http:\u002F\u002Fwww.askforgametask.com\u002Ftutorial\u002Fmachine-learning-algorithm-flappy-bird)\n\n您还可以观看算法演示视频：  \n[https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=aeWmdojEJf0](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=aeWmdojEJf0)\n\n所有代码使用 HTML5 编写，基于 [Phaser 框架](http:\u002F\u002Fphaser.io\u002F) 和 [Synaptic 神经网络库](https:\u002F\u002Fsynaptic.juancazala.com) 实现神经网络。\n\n![Flappy Bird 游戏截图](https:\u002F\u002Fraw.githubusercontent.com\u002Fssusnic\u002FMachine-Learning-Flappy-Bird\u002Fmaster\u002Fscreenshots\u002Fflappy_10.png \"Flappy Bird 游戏截图\")\n\n## 神经网络架构\n\n每个单位（小鸟）都有自己的神经网络，包含以下 3 层：\n1. 输入层（Input Layer）：2 个神经元表示小鸟的视觉信息：\n     \n     ```\n     1) 小鸟与最近缺口之间的水平距离\n     2) 小鸟与最近缺口之间的高度差\n     ```\n     \n2. 隐藏层（Hidden Layer）：6 个神经元\n3. 输出层（Output Layer）：1 个神经元用于输出动作：\n     \n     ```\n    if output > 0.5 then flap else do nothing\n     ```\n     \n![Flappy Bird 神经网络](https:\u002F\u002Fraw.githubusercontent.com\u002Fssusnic\u002FMachine-Learning-Flappy-Bird\u002Fmaster\u002Fscreenshots\u002Fflappy_06.png \"Flappy Bird 神经网络\")\n\n使用 [Synaptic 神经网络库](https:\u002F\u002Fsynaptic.juancazala.com) 实现人工神经网络，无需从头开始开发。\n\n## 机器学习的核心概念\n\n本程序实现的机器学习核心概念基于神经进化（Neuro-Evolution）形式，使用遗传算法（Genetic Algorithm）训练人工神经网络。主要步骤如下：\n\n1. 创建包含 10 个单位（小鸟）的新种群，每个单位具有**随机神经网络**\n2. 让所有单位同时通过各自的神经网络进行游戏\n3. 计算每个单位的**适应度函数**（Fitness Function）来衡量其表现质量：\n\n    ```\n    fitness = 总飞行距离 - 与最近缺口的距离\n    ```\n \n    ![Flappy Bird 适应度计算](https:\u002F\u002Fraw.githubusercontent.com\u002Fssusnic\u002FMachine-Learning-Flappy-Bird\u002Fmaster\u002Fscreenshots\u002Fflappy_08.png \"Flappy Bird 适应度计算\")\n\n    \n4. 当所有单位死亡后，使用**遗传算法操作符**（选择、交叉和变异）评估下一代种群：\n\n    ```\n    1. 按适应度排名降序排列当前种群单位\n    2. 选择前 4 名单位作为当前种群优胜者\n    3. 将 4 个优胜者直接传给下一代\n    4. 创建 6 个后代填充剩余位置：\n        - 1 个后代由两个最优优胜者交叉生成\n        - 3 个后代由随机两个优胜者交叉生成\n        - 2 个后代直接复制随机两个优胜者\n    5. 通过随机变异增加种群多样性\n    ```\n    \n5. 返回步骤 2 继续进化\n\n## 实现细节\n\n### 环境要求\n\n由于程序使用 [Phaser 框架](http:\u002F\u002Fphaser.io\u002F) 和 [Synaptic 神经网络库](https:\u002F\u002Fsynaptic.juancazala.com) 编写，需要以下文件：\n\n- **phaser.min.js**\n- **synaptic.min.js**\n\n### gameplay.js \n完整游戏逻辑实现在 **gameplay.js** 文件中，包含以下类：\n\n- `App.Main` 主程序类，包含以下核心函数：\n\t- _preload()_ 预加载所有资源\n\t- _create()_ 创建所有对象并初始化遗传算法对象\n\t- _update()_ 运行主循环，通过 AI 神经网络进行游戏并通过遗传算法进化种群\n\t- _drawStatus()_ 显示所有单位的信息\n\t\n- `TreeGroup 类` 扩展 Phaser Group 类表示移动障碍物，包含上下两个 Tree 精灵\n\n- `Tree 类` 扩展 Phaser Sprite 类表示树形障碍物精灵\n\n- `Bird 类` 扩展 Phaser Sprite 类表示小鸟精灵\n\n- `Text 类` 扩展 Phaser BitmapText 类用于文本绘制\n\n### genetic.js \n\n遗传算法实现在 **genetic.js** 文件中，包含以下类：\n\n- `GeneticAlgorithm 类` 处理所有遗传算法操作的核心类，需要两个参数：**_max_units_** 设置种群最大数量，**_top_units_** 设置用于进化的优胜者数量。核心函数包括：\n\n   - _reset()_ 重置遗传算法参数\n   - _createPopulation()_ 创建新种群\n   - _activateBrain()_ 激活单位的 AI 神经网络，根据输入获取输出动作\n   - _evolvePopulation()_ 使用遗传操作符（选择、交叉和变异）进化种群\n   - _selection()_ 从当前种群选择最优单位\n   - _crossOver()_ 执行两个父代的单点交叉\n   - _mutation()_ 对后代执行随机变异","# Machine-Learning-Flappy-Bird 快速上手指南\n\n## 环境准备\n- **系统要求**：Windows\u002FmacOS\u002FLinux 任意系统\n- **前置依赖**：\n  - 浏览器（推荐 Chrome\u002FFirefox 最新版）\n  - 文本编辑器（VSCode\u002FSublime Text）\n  - 可选：本地服务器（如 Live Server 插件\u002FPython HTTP 服务）\n\n## 安装步骤\n```bash\n# 克隆项目仓库\ngit clone https:\u002F\u002Fgithub.com\u002Fssusnic\u002FMachine-Learning-Flappy-Bird.git\n\n# 进入项目目录\ncd Machine-Learning-Flappy-Bird\n\n# 推荐使用国内CDN加速（修改index.html）：\n# 将以下脚本地址替换为BootCDN源：\n# \u003Cscript src=\"https:\u002F\u002Fcdn.bootcdn.net\u002Fajax\u002Flibs\u002Fphaser\u002F2.6.2\u002Fphaser.min.js\">\u003C\u002Fscript>\n# \u003Cscript src=\"https:\u002F\u002Fcdn.bootcdn.net\u002Fajax\u002Flibs\u002Fsynaptic\u002F1.0.10\u002Fsynaptic.min.js\">\u003C\u002Fscript>\n```\n\n## 基本使用\n1. **启动游戏**：\n   - 双击 `index.html` 或使用本地服务器打开\n   - 页面加载后自动开始训练\n\n2. **训练过程**：\n   - 每代训练包含10只小鸟\n   - 按照神经网络输出决策：`output > 0.5` 时跳跃\n   - 每代结束后自动进化（保留4个最优个体）\n\n3. **修改配置**（可选）：\n   ```javascript\n   \u002F\u002F 修改 genetic.js 中的种群参数\n   this.max_units = 10;   \u002F\u002F 种群数量\n   this.top_units = 4;    \u002F\u002F 保留的最优个体数\n   ```\n\n4. **查看训练效果**：\n   - 页面实时显示：\n     - 当前代数\n     - 最佳适应度\n     - 当前种群存活数量\n   - 训练过程无需人工干预，自动迭代进化\n\n> 提示：训练约10-20代后，小鸟将学会稳定穿越障碍。可通过浏览器开发者工具查看神经网络结构和进化日志。","游戏开发团队在制作一款需要AI对手的休闲飞行游戏时，希望让NPC小鸟具备自主学习能力以提升游戏挑战性。\n\n### 没有 Machine-Learning-Flappy-Bird 时\n- 开发者需要手动编写复杂的条件判断规则（如距离障碍物多远时触发跳跃），导致代码臃肿且难以覆盖所有场景\n- 调整AI难度需要反复试错，例如修改固定阈值后可能出现\"卡死在管道缝隙\"等异常行为\n- 玩家发现AI行为模式固定，通过数十次尝试后总能找到通关规律，导致游戏寿命缩短\n- 缺乏可视化训练过程，无法直观验证神经网络参数调整效果\n\n### 使用 Machine-Learning-Flappy-Bird 后\n- 通过神经网络自动学习最优飞行策略，小鸟在20代进化后即可实现连续穿越30个障碍物的稳定表现\n- 遗传算法自动筛选优秀基因，开发者只需调整\"突变率\"等少量参数即可控制AI难度曲线\n- 实时可视化界面显示每代小鸟的飞行轨迹与神经网络激活状态，调试效率提升300%\n- 最终AI展现出类似人类玩家的\"预判式跳跃\"行为，通关路径每次都有细微差异，显著延长游戏可玩性\n\n核心价值：将传统需要数周开发的规则型AI，转化为可通过进化算法自动优化的智能体，使游戏AI开发进入数据驱动的新阶段。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fssusnic_Machine-Learning-Flappy-Bird_5f88ff09.png","ssusnic","Srdjan Susnic","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fssusnic_7a9919f0.jpg",null,"http:\u002F\u002Fwww.askforgametask.com","https:\u002F\u002Fgithub.com\u002Fssusnic",[82,86],{"name":83,"color":84,"percentage":85},"JavaScript","#f1e05a",94.1,{"name":87,"color":88,"percentage":89},"HTML","#e34c26",5.9,1840,392,"2026-03-31T03:25:30","MIT","未说明",{"notes":96,"python":94,"dependencies":97},"项目基于HTML5，需支持HTML5的浏览器，依赖Phaser框架和Synaptic神经网络库。无需安装Python环境。",[98,99],"phaser","synaptic",[13,15,14],[102,103,104,105,106,107,108,109,110,111,112,113,98,114,115,116,117,118,119,120],"machine-learning","flappy-bird","genetic-algorithm","machine-learning-algorithm","artificial-intelligence","neuroevolution","ai-tutorial","ai","artificial-evolution","game-programming","html5","javascript","phaser-tutorial","machinelearning","machine-intelligence","neural-networks","neural-network","genetic-algorithms","flappybird","2026-03-27T02:49:30.150509","2026-04-06T11:30:58.773756",[124,129],{"id":125,"question_zh":126,"answer_zh":127,"source_url":128},5055,"游戏窗口显示异常，无法看到小鸟如何解决？","需要通过本地服务器运行项目。进入项目目录后执行以下命令：\r\n```\r\nnpm install http-server -g\r\nhttp-server\r\n```\r\n然后访问 http:\u002F\u002Flocalhost:8080 查看游戏界面","https:\u002F\u002Fgithub.com\u002Fssusnic\u002FMachine-Learning-Flappy-Bird\u002Fissues\u002F5",{"id":130,"question_zh":131,"answer_zh":132,"source_url":133},5056,"如何在本地运行该项目？","必须使用本地服务器运行。具体操作是：\r\n1. 进入项目根目录\r\n2. 执行 `npm install http-server -g` 安装服务器\r\n3. 运行 `http-server` 启动服务\r\n4. 浏览器访问 http:\u002F\u002Flocalhost:8080 查看页面","https:\u002F\u002Fgithub.com\u002Fssusnic\u002FMachine-Learning-Flappy-Bird\u002Fissues\u002F9",[]]