Games: Create interesting games by pure python
Project description
Documents: http://cpgames.readthedocs.io/
Games
Create interesting games by pure python.
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.
Statement
Most of the game materals(including music, fonts and pictures) in this repository are collected from the web, copyright belongs to the original author.
This repository is created just for learning python(Commercial prohibition).
Support List
ID | English Name | Chinese Name | Core Code | Introduction |
---|---|---|---|---|
Game1 | bunnybadger | 兔子和獾(射击游戏) | click | click |
Game2 | voicecontrolpikachu | 仿八分音符的声控小游戏 | click | click |
Game3 | puzzlepieces | 拼图小游戏 | click | click |
Game4 | ski | 滑雪游戏 | click | click |
Game5 | tankwar | 经典坦克大战小游戏 | click | click |
Game6 | flappybird | 飞扬的小鸟小游戏 | click | click |
Game7 | trexrush | 仿谷歌浏览器小恐龙游戏 | click | click |
Game8 | towerdefense | 塔防游戏 | click | click |
Game9 | catchcoins | 接金币小游戏 | click | click |
Game10 | aircraftwar | 飞机大战 | click | click |
Game11 | tetris | 俄罗斯方块 | click | click |
Game12 | sokoban | 推箱子 | click | click |
Game13 | alieninvasion | 外星人入侵小游戏 | click | click |
Game14 | pacman | 吃豆人小游戏 | click | click |
Game15 | gemgem | 消消乐 | click | click |
Game16 | twentyfourpoint | 24点小游戏 | click | click |
Game17 | pingpong | 乒乓球小游戏 | click | click |
Game18 | breakoutclone | 打砖块小游戏 | click | click |
Game19 | bomberman | 炸弹人小游戏 | click | click |
Game20 | maze | 走迷宫小游戏 | click | click |
Game21 | whacamole | 打地鼠 | click | click |
Game22 | gobang | 五子棋小游戏 | click | click |
Game23 | twozerofoureight | 2048小游戏 | click | click |
Game24 | greedysnake | 贪吃蛇小游戏 | click | click |
Game25 | minesweeper | 扫雷小游戏 | click | click |
Game26 | angrybirds | 愤怒的小鸟 | click | click |
Game27 | flipcardbymemory | 记忆翻牌小游戏 | click | click |
Game28 | magictower | 魔塔小游戏 | click | click |
Game29 | bloodfootball | 热血足球小游戏 | click | click |
Install
Whl install
wget https://github.com/CharlesPikachu/Games/releases/download/v0.1.1/cpgames-0.1.1-py3-none-any.whl
pip install cpgames-0.1.1-py3-none-any.whl
Pip install
run "pip install cpgames"
Source code install
(1) Offline
Step1: git clone https://github.com/CharlesPikachu/Games.git
Step2: cd Games -> run "python setup.py install"
(2) Online
run "pip install git+https://github.com/CharlesPikachu/Games.git@master"
Quick Start
import random
from cpgames import cpgames
game_client = cpgames.CPGames()
all_supports = game_client.getallsupported()
game_client.execute(random.choice(list(all_supports.values())))
Screenshot
Projects in Charles_pikachu
- Games: Create interesting games by pure python.
- DecryptLogin: APIs for loginning some websites by using requests.
- Musicdl: A lightweight music downloader written by pure python.
- Videodl: A lightweight video downloader written by pure python.
- Pytools: Some useful tools written by pure python.
- PikachuWeChat: Play WeChat with itchat-uos.
- Pydrawing: Beautify your image or video.
- ImageCompressor: Image compressors written by pure python.
- FreeProxy: Collecting free proxies from internet.
- Paperdl: Search and download paper from specific websites.
- Sciogovterminal: Browse "The State Council Information Office of the People's Republic of China" in the terminal.
- CodeFree: Make no code a reality.
- DeepLearningToys: Some deep learning toys implemented in pytorch.
- DataAnalysis: Some data analysis projects in charles_pikachu.
- Imagedl: Search and download images from specific websites.
Citation
If you use this project in your research, please cite this project.
@misc{games2020,
author = {Zhenchao Jin},
title = {Games: Create interesting games by pure python},
year = {2020},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/CharlesPikachu/Games}},
}
More
WeChat Official Accounts
Charles_pikachu
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cpgames-0.1.2.tar.gz
(118.2 MB
view details)
Built Distribution
cpgames-0.1.2-py3-none-any.whl
(118.8 MB
view details)
File details
Details for the file cpgames-0.1.2.tar.gz
.
File metadata
- Download URL: cpgames-0.1.2.tar.gz
- Upload date:
- Size: 118.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.2.0 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dc4199823f8196344d49654a6d22ff07585405e152c14ab1fe08bd1d905f1e8 |
|
MD5 | 031d40b4637f9f24234b5a0dbce569f9 |
|
BLAKE2b-256 | 5b93f742c66d114825e6386acabf969b581dbe1079f74fb3f5fc270a6a0eab33 |
File details
Details for the file cpgames-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: cpgames-0.1.2-py3-none-any.whl
- Upload date:
- Size: 118.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.2.0 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca764e7538c2d798969d13c63d681e9fc4f370b28310a1cb5fecf3d1ac9a1c90 |
|
MD5 | 31fb13cb33b83bbfc9ec100a188bc9ee |
|
BLAKE2b-256 | a0811fbe37205ddb3e1a7f6baf6534da5fde6d852b1124d393bd8fe7dd43fcf6 |