{"service":"corpus","corpus":"git","source":"Software Heritage origin index (GitHub origins)","license":"Per source; see source terms","citation":"","record":{"id":"chensy0203/HappyPythonYear","title":"chensy0203/HappyPythonYear","text":"最近学习了下python，这是一个练手的程序，改自网上的一个86行代码的贪吃蛇的游戏。游戏描述：玩家使用方向键操控一条长长的蛇不断吞下豆子，每吃完一颗豆子，会留下红色的痕迹，同时蛇身随着吞下的豆子不断变长，当蛇头撞到蛇身时游戏结束，当吃完所有豆子后，界面上会显示红色的字体：HAPPY NEW YEAR，玩家就获胜。Happy Python's Year","snippet":"","snippet_marked":"","source":"Software Heritage origin index (GitHub origins)","citation":"https://git.go-v.org/record/chensy0203%2FHappyPythonYear","license":"Per source; see source terms","year":"","url":"/record/chensy0203%2FHappyPythonYear","fields":{},"description":"最近学习了下python，这是一个练手的程序，改自网上的一个86行代码的贪吃蛇的游戏。游戏描述：玩家使用方向键操控一条长长的蛇不断吞下豆子，每吃完一颗豆子，会留下红色的痕迹，同时蛇身随着吞下的豆子不断变长，当蛇头撞到蛇身时游戏结束，当吃完所有豆子后，界面上会显示红色的字体：HAPPY NEW YEAR，玩家就获胜。Happy Python's Year"},"generated_at":"2026-11-29T21:26:13Z"}