Skip to content

Free Python Games are written in simple Python code and designed for experimentation and changes. Our project is to comment out and code review to make it easy for Python beginners to edit the game.

License

Notifications You must be signed in to change notification settings

19-1-skku-oss/2019-1-OSS-E3

Repository files navigation

2019-1-OSS-E3

Free Python Games

Free Python Games is an Apache2 licensed collection of free Python games intended for education and fun. The games are written in simple Python code and designed for experimentation and changes. Simplified versions of several classic arcade games are included.

Python is one of the top-five most popular programming languages in the world and available for free from Python.org Python includes an extensive Standard Library distributed with your installation. The Standard Library has a module called Turtle which is a popular way to introduce programming to kids. Turtle was part of the original Logo programming language developed by Wally Feurzig and Seymour Papert in 1966. All of the games in Free Python Games are implemented using Python and its Turtle module.

Starting in 2012, Free Python Games began as an after school program to teach programming to inner-city youth. The goal was to have fun as much as it was to learn. Since then the games have been improved and used in a variety of settings ranging from classrooms to summer day-camps.

The games run anywhere Python can be installed which includes desktop computers running Windows, Mac OS, or Linux and older or low-power hardware such as the Raspberry Pi. Kids across the United States in grades 6th-12th have enjoyed learning about topics such as encryption and projectile motion through games.

Each game is entirely independent from the others and includes comments along with a list of exercises to work through with students. Creativity and flexibility is important. There is no right or wrong way to implement a new feature or behavior! You never know which games students will engage with best.

Quickstart

Installing Free Python Games is simple with pip - https://pypi.python.org/pypi/pip

$ python3 -m pip install freegames

Free Python Games supports a command-line interface (CLI). Help for the CLI is available using:

$ python3 -m freegames --help

The CLI supports three commands: list, copy, and show. For a list of all games run:

$ python3 -m freegames list

Any of the listed games may be played by executing the Python module from the command-line. To reference the Python module, combine "freegames" with the name of the game. For example, to play the "snake" game run:

$ python3 -m freegames.snake

Games can be modified by copying their source code. The copy command will create a Python file in your local directory which you can edit. For example, to copy and play the "snake" game run:

$ python3 -m freegames copy snake
$ python3 snake.py

Python includes a built-in text editor named IDLE which can also execute Python code. To launch the editor and make changes to the "snake" game run:

$ python3 -m idlelib.idle snake.py

You can also access documentation in the interpreter with Python's built-in help function:

>>> import freegames
>>> help(freegames)

Team Members

  • 김민수(소프트웨어/18) : kimminsuu
  • 박정재(소프트웨어/18) : tkfhdk123
  • 유재원(소프트웨어/18) : itaewonhreedom
  • 이재웅(소프트웨어/18) : jaeung0527

Our Roles

  • 김민수 : gh-page 편집(project, main), pong.py 코드 수정
  • 박정재 : README.md 수정, kor-manual.md 번역, 코드 수정 및 Description
  • 유재원 : gh-page 편집, flappy.py 코드수정, 코드 comments 달기
  • 이재웅 : Wiki 관리, Projects 업데이트, tiles.py 등 코드수정 및 Description

Original Project Pages

License

Copyright 2017-2019 Grant Jenks

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Free Python Games are written in simple Python code and designed for experimentation and changes. Our project is to comment out and code review to make it easy for Python beginners to edit the game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages