Sei sulla pagina 1di 7

AYAY KUMAR GARG ENGINEERING

COLLEGE

DEPARTMENT Of COMPUTER SCIENCE


ENGINEERING
MINI-PROJECT /SUMMER INTERNSHIP

SESSION: 2018-19

TOPIC: COLOUR GAME

LANGUAGE: PYTHON (TRIKINTER)

FACULTY INCHARGE: MS. PRIYANKA GABA

GROUP MEMBERS:

1. Anshita kapoor (1802710021)


2. Ayush kumar rana (1802710034)

1
INDEX
Topic page no.
1. Introduction
2. Concept
3. Implementation (code)
4. Result
5. References

2
Introduction

What is Python?
Python is an interpreted, object-oriented, high-level programming
language with dynamic semantics. Its high-level built in data structures,
combined with dynamic typing and dynamic binding, make it very
attractive for Rapid Application Development, as well as for use as a
scripting or glue language to connect existing components together.
Python's simple, easy to learn syntax emphasizes readability and
therefore reduces the cost of program maintenance. Python supports
modules and packages, which encourages program modularity and code
reuse. The Python interpreter and the extensive standard library are
available in source or binary form without charge for all major platforms,
and can be freely distributed.

Python GUI – tkinter


Python offers multiple options for developing GUI (Graphical
User Interface). Out of all the GUI methods, tkinter is most
commonly used method. It is a standard Python interface to the
Tk GUI toolkit shipped with Python. Python with tkinter outputs
the fastest and easiest way to create the GUI applications.
Creating a GUI using tkinter is an easy task.
To create a tkinter:
1. Importing the module – tkinter
2. Create the main window (container)
3. Add any number of widgets to the main window
4. Apply the event Trigger on the widgets.

3
Concept (about the game)

In this game we have to enter color of the word


that appears on the screen and hence the score
increases by one, the total time to play this game
is 30 seconds. Colors used in this game are Red,
Blue, Green, Pink, Black, Yellow, Orange, White,
Purple and Brown. Interface will display name of
different colors in different colors. We have to
identify the color and choose the correct color
name to win the game.

4
Implementation(code)

5
RESULTS:

6
References
 youtube
 Wikipedia.com
 geeksforgeeks
 w3schools
 Google

Potrebbero piacerti anche