V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
HFX3389
V2EX  ›  Python

Python 超级简单小游戏事例,求推荐

  •  
  •   HFX3389 · Nov 1, 2017 · 4059 views
    This topic created in 3109 days ago, the information mentioned may be changed or developed.

    在字符界面运行的,一些有趣的,动脑子的小游戏

    比如说猜谜语之类的

    主要给刚学习的小朋友激起兴趣

    求推荐几个

    13 replies    2017-11-02 06:24:21 +08:00
    linw1995
        1
    linw1995  
       Nov 1, 2017
    2048
    devrsi0n
        2
    devrsi0n  
       Nov 1, 2017
    用 js 写不是更简单点,自荐下: https://github.com/devrsi0n/React-2048-game
    prolic
        3
    prolic  
       Nov 1, 2017
    上 pygame 写 2048 呗,命令行界面小朋友真会有兴趣么。。
    wplct
        4
    wplct  
       Nov 1, 2017
    其实教小朋友真的 js 比较好
    xrlin
        5
    xrlin  
       Nov 1, 2017 via iPhone
    Pygame
    xrlin
        6
    xrlin  
       Nov 1, 2017 via iPhone
    字符界面?文字游戏可以
    C0VN
        7
    C0VN  
       Nov 1, 2017   ❤️ 6
    干嘛用的?自己玩还是学习源码

    给你一个贪吃蛇

    https://gist.github.com/xavierskip/8aa410bbf48a9f6b163c
    gumusu
        8
    gumusu  
       Nov 1, 2017 via iPhone
    @devrsi0n 手机端不灵敏,有时候需要划好多次才能动,差评😂
    Ehco1996
        9
    Ehco1996  
       Nov 1, 2017 via iPhone
    我一直想学 pygame 写个超级玛丽

    不知道难度怎么样
    devrsi0n
        10
    devrsi0n  
       Nov 1, 2017 via Android
    @gumusu 还需要优化滑动检测逻辑😂
    Sanko
        11
    Sanko  
       Nov 1, 2017 via Android
    猜数字
    abcyuxue123
        12
    abcyuxue123  
       Nov 2, 2017   ❤️ 2
    推荐这本书
    https://inventwithpython.com/chapters/

    里面有比如猜数字,tic-tac-toe,牌匹配

    @Ehco1996 超级玛丽送你 https://github.com/justinmeister/Mario-Level-1
    Ehco1996
        13
    Ehco1996  
       Nov 2, 2017 via iPhone
    @abcyuxue123
    太感谢了!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2985 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 15:18 · PVG 23:18 · LAX 08:18 · JFK 11:18
    ♥ Do have faith in what you're doing.