Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CharlesPikachu/Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

190 Commits

Repository files navigation


Documents: http://cpgames.readthedocs.io/

Games

Create interesting games in 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 Tu Zi He Huan (She Ji You Xi ) click click
Game2 voicecontrolpikachu Fang Ba Fen Yin Fu De Sheng Kong Xiao You Xi click click
Game3 puzzlepieces Pin Tu Xiao You Xi click click
Game4 ski Hua Xue You Xi click click
Game5 tankwar Jing Dian Tan Ke Da Zhan Xiao You Xi click click
Game6 flappybird Fei Yang De Xiao Niao Xiao You Xi click click
Game7 trexrush Fang Gu Ge Liu Lan Qi Xiao Kong Long You Xi click click
Game8 towerdefense Ta Fang You Xi click click
Game9 catchcoins Jie Jin Bi Xiao You Xi click click
Game10 aircraftwar Fei Ji Da Zhan click click
Game11 tetris E Luo Si Fang Kuai click click
Game12 sokoban Tui Xiang Zi click click
Game13 alieninvasion Wai Xing Ren Ru Qin Xiao You Xi click click
Game14 pacman Chi Dou Ren Xiao You Xi click click
Game15 gemgem Xiao Xiao Le click click
Game16 twentyfourpoint 24Dian Xiao You Xi click click
Game17 pingpong Ping Pang Qiu Xiao You Xi click click
Game18 breakoutclone Da Zhuan Kuai Xiao You Xi click click
Game19 bomberman Zha Dan Ren Xiao You Xi click click
Game20 maze Zou Mi Gong Xiao You Xi click click
Game21 whacamole Da Di Shu click click
Game22 gobang Wu Zi Qi Xiao You Xi click click
Game23 twozerofoureight 2048Xiao You Xi click click
Game24 greedysnake Tan Chi She Xiao You Xi click click
Game25 minesweeper Sao Lei Xiao You Xi click click
Game26 angrybirds Fen Nu De Xiao Niao click click
Game27 flipcardbymemory Ji Yi Fan Pai Xiao You Xi click click
Game28 magictower Mo Ta Xiao You Xi click click
Game29 bloodfootball Re Xie Zu Qiu Xiao You Xi click click

Install

Whl install

wget https://github.com/CharlesPikachu/Games/releases/download/v0.1.2/cpgames-0.1.2-py3-none-any.whl
pip install cpgames-0.1.2-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 in pure python.
  • DecryptLogin: APIs for loginning some websites by using requests.
  • Musicdl: A lightweight music downloader written in pure python.
  • Videodl: A lightweight video downloader written in pure python.
  • Pytools: Some useful tools written in pure python.
  • PikachuWeChat: Play WeChat with itchat-uos.
  • Pydrawing: Beautify your image or video.
  • ImageCompressor: Image compressors written in 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.
  • Pytoydl: A toy deep learning framework built upon numpy.
  • NovelDL: Search and download novels from some 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 in pure python},
year = {2020},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/CharlesPikachu/Games}},
}

More

WeChat Official Accounts

Charles_pikachu

About

Games: Create interesting games in pure python.

Topics

Resources

Readme

License

Apache-2.0 license

Stars

Watchers

Forks

Packages

Languages