Chapter 11. Playing with Pygame

This chapter is for developers who want to create games quickly and easily with NumPy and Pygame. Basic game development experience would help, but it isn't necessary.

The things you will learn are as follows:

  • Pygame basics
  • matplotlib integration
  • Surface pixel arrays
  • Artificial intelligence
  • Animation
  • OpenGL

Pygame

Pygame is a Python framework, originally written by Pete Shinners, which, as its name suggests, can be used to create video games. Pygame is free, open source since 2004 and licensed under the GPL license, which means that you are allowed to basically make any type of game. Pygame is built on top of the Simple DirectMedia Layer (SDL). SDL is a C framework that gives access to graphics, sound, keyboard, and other input devices on various operating systems including Linux, Mac OS X, and Windows.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset