Giter VIP home page Giter VIP logo

wechatroomgame's Introduction

996.icu LICENSE

微信群聊游戏

目前只有一个成语接龙

实现原理,爬虫获取成语数据

参考https://github.com/pwxcoo/chinese-xinhua

利用itChat实现python微信回调

利用tuling机器人,实现ai聊天机器人

环境配置

pip 安装

python 安装

pip 安装 itChat

pip 安装 request

需要去图灵机器人官网申请一个KEY,替换tuling_replay.py中的KEY

http://www.tuling123.com/member/robot/index.jhtml

其他的话,看提示缺啥就安装啥吧,没什么特殊丶库,pip都可以搞定

成语接龙

python tuling_reply.py

游戏规则:

  1. 在群聊中输入[成语接龙], 开始游戏
  2. 根据随机产生的成语,进行成语接龙游戏
  3. 答对10次,有戏结束
  4. 输入错误的成语,会提示

wechatroomgame's People

Contributors

whoisurdady avatar xuejianbest avatar

Watchers

 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.