Skip to content

Kiki-67/Pinball_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Project Name

Pinball game

Background

Final programing project for IS452

Getting Started

The pinball game allows users to control one paddle to catch a moving ball.

Users can input the speed and color of ball and paddle before starting the game.

Running the project

Installing

from tkinter import *
import tkinter
import time

Run the py file

  1. input speed of the ball: float number (Suggest: 3-8) The bigger the number is, the higher the speed is.
    1 can be really slow, 6 can be really fast, but you can input higher number if you want to try crazy speed.
    Click enter

  2. input speed of the paddle: float number (Suggest: 3-8) The bigger the number is, the higher the speed is.
    1 can be really slow, 6 can be really fast, but you can input higher number if you want to try crazy speed.
    Click enter

  3. input color of the ball: string
    Simple color, including blue, red, yellow, green, grey etc.
    Click enter

  4. input color of the paddle: string
    Simple color, including blue, red, yellow, green, grey etc.
    Click enter

  5. then click the pop-up window, and click down-arrow key to start the game!

  6. control the paddle by clicking left-arrow and right-arrow keys to catch the ball.

  7. click up-arrow key to pause the game.

  8. enjoy the play!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages