Giter Club home page Giter Club logo

pong's Introduction

Pong Game using Python and Turtle Graphics

This is a simple implementation of the classic Pong game using Python programming language and Turtle Graphics library.

Features

  • Two player mode
  • Scores displayed on screen
  • Ball speed increases as the game progresses

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

To run this game, you will need to have the following installed on your computer:

  • Python 3
  • Turtle Graphics library

Installing

  1. Clone the repository or download the source code.
  2. Install the required libraries by running the following command in your terminal or command prompt:
pip install turtle

Running the game

  1. Open terminal or command prompt and navigate to the directory where the source code is located.
  2. Run the following command to start the game:
python pong.py

Playing the game

The game is a two-player game. Player 1 controls a paddle using the 'w' and 's' keys while Player 2 controls a paddle using the up and down arrow keys on their respective sides of the screen. The objective of the game is to hit the ball past your opponent's paddle and score a point. The first player to score 10 points wins the game.

Built With

  • Python 3
  • Turtle Graphics Library

pong's People

Contributors

imljs avatar

Watchers

 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.