GithubHelp home page GithubHelp logo

victortagayun / free-python-games Goto Github PK

View Code? Open in Web Editor NEW

This project forked from grantjenks/free-python-games

0.0 1.0 0.0 1.62 MB

Free Python Games

Home Page: http://www.grantjenks.com/docs/freegames/

License: Other

Python 100.00%

free-python-games's Introduction

Free Python Games

A collection (18) of free python games.

In the first half of 2012, I wrote ten games to teach a group of students some basics of programming. The goal was to have fun as much as it was to learn. Here you'll find simplified versions of several classics.

In 2013, I used these games again as part of a programming club for high school students at Downtown College Prep in San Jose, CA. At that time, I added a number of new games bringing the total up to eighteen and covering more advanced topics like projectile motion and encryption.

In 2014, I used these games as part of week-long programming club that met in the evenings at The River Church Community in San Jose, CA. Our demographic was middle and high school students.

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's no right or wrong way to implement a new feature! You never know which games the students will find really interesting.

Screenshots

Nibbles

Nibbles -- like Snake on the old Nokia phones.

Nibbles Free Python Game

Memory

Memory -- match tile pairs of numbers to uncover the hidden image.

Memory Free Python Game

Tiles

Tiles -- shuffle image tiles to solve the puzzle.

Tiles Free Python Game

Pacman

Pacman -- simplified version of the classic.

Pacman Free Python Game

Maze

Maze -- solve a randomly generated maze.

Maze Free Python Game

Tic Tac Toe

Tic Tac Toe -- the classic.

Tic Tac Toe Free Python Game

Curriculum

What follows are notes for a week-long curriculum with about 3 hours of classroom time each day.

Monday

  • Interactive python interpreter
  • nibbles.py - Commenting code
  • guess.py
  • paint.py - Getting help in the ipython interpreter

Tuesday

  • tron.py
  • crypto.py
  • memory.py

Wednesday

  • pacman.py
  • bagels.py
  • cannon.py
  • cups.py

Thursday

  • tictactoe.py
  • hangman.py
  • sonar.py
  • simonsays.py

Friday

  • pong.py
  • connect.py
  • maze.py
  • tiles.py

Quickstart

Installing Free Python Games is simple with pip:

$ pip install freegames

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

>>> from freegames import snake
>>> help(snake)

User Guide

For those wanting more details, this part of the documentation describes tutorial, API, and development.

Reference and Indices

Free Python Games License

Copyright 2017 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.

free-python-games's People

Contributors

grantjenks avatar

Watchers

victortagayun 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.