Git Product home page Git Product logo

hungry-snake's Introduction

hungry-snake

env:python 3.7

os:mac

pygame_version: 2.0.0.dev8

这个游戏存粹由代码构成,没有引用其他图片的使用,没有其他任何依赖,可以很轻松的运行,并且代码结构也组织的不错,可以轻松的修改源码,执行python3 main.py即可运行,下面是两张运行时的截图,img文件夹下是运行时的截图,只有clone到本地才能看见,不知道是什么原因引起的

This game only use code and not use other pic or mp3 or video, even use only one dependent library so you cant run this game and can modify its code easily. Run this game: python3 main.py. img-dir is runtime screen capture and its seems can not be seen online, but you can clone this project and open img-dir/pic.

run this code:

https://github.com/WhyTimePass/hungry-snake/blob/master/img/runtime.png

https://github.com/WhyTimePass/hungry-snake/blob/master/img/endtime.png

hungry-snake's People

Contributors

whytimepass avatar

Stargazers

 avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.