Skip to content

Python games: I was playing around with python while making some research. I wanted to see how python could be used to develop games using the Kivy framework.

Notifications You must be signed in to change notification settings

DPsalmist/Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Games

Python games

The ping-pong game in this repo can be gotten from the kivy official documentation. Link: https://kivy.org/doc/stable/tutorials/pong.html

Steps To Take

  • create a virtual env or make a directory
  • clone kivy: git clone http://github.com/kivy/kivy
  • to make it accessible in your: export PYTHONPATH=~/code/kivy:$PYTHONPATH
  • check if it's installed properly: python -c "import kivy"
  • create a main.py and copy the main.py file: ping_pong/main.py
  • creat a pong.kv file and copy the pong.kv file: ping_pong/pong.kv

NB: The above steps are for MacOS or Linux. For windows, see the official link above.

About

Python games: I was playing around with python while making some research. I wanted to see how python could be used to develop games using the Kivy framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages