Skip to content

AlexanderBedrosyan/Simple-games-and-applications-with-Python

Repository files navigation

Simple-games-and-applications-with-Python

In this repository there are codes for simple games and applications created with Python.

Lyrics application with Tkinter

The main view starting with 2 text boxes for "Author" and "Song name". When you typed and pressed button "Generate text", the application will open a website (textove.com) with the lyrics of the needed song.

Libraries used: webbrowser and tkinter

image

An example with the result

image

Rock Paper Scissors with Tkinter

The game is created with tkinter as it's used random/randit also for each round. There are 3 options for player as we know the rules of the game. The computer makes a random choice which is also from the noted 3 options. Then the result are going to be open in new window.

Libraries used: tkinter and random

image

An example how the result is opened.

image

Currency convertor with Tkinter

The application has two optional buttons "Currency" which include only part of the currencies (everyone can add more of them). If you use two equal currencies or for some reason used forbiden symbols, a message with an error will show.

Library used without installation: tkinter

Library used with installation: forex_python

image

An example for the error message

image

Login application with Tkinter. Simple app which is created without DB.

Library used: tkinter

Two pictures are used. They can be find in the folder in Github.

image

An example for second page:

image

Ping Pomg game with Turtle

This game has simple view which includes - bal, rectangles for players and score menu. Buttons for movements are:

Left player: W and S

Right player: Up and Down

Library used: Turtle

image

Password generator with Tkinter. Simple app which automatically generate unique passwords.

Libraries used: tkinter and random (randit)

No pictures include.

image

Qr codes generator with Tkinter.

The application is created to generate qrcodes and to save it in folder which is issued on your computer. There are only two boxes "Title" and "Import link". First of it will name the file in your computer, the second one will use the link which you need to be shown when you check the qr code.

Libraries used: tkinter and qrcode (qrcode library should be install in terminal or by using the settings method)

No pictures include.

image

An example with result of google.com in qr code generated by the app.

image

Weather application for Europe with Tkinter.

The application is created without API comunication. It's scrapping the html information from www.foreca.bg, this is the main difference from all other weather apps. From time to tome shows an error, because the scrapping type can marge and find information about the area (the developers of foreca.bg are using for some of the cities a key-word for area).

Library used without installation: Tkinter

Libraries used with installation: requests and bs4

image

Tic Tac Toe with Tkinter.

Simple game with tkinter with an unique view. Every button from each player is related with free box on the game screen. In the end the result would be shown.

Library used: Tkinter

image

Quick search with Tkinter.

This application is created with Tkinter. There is chance to create more buttons for some quick search web sites.

Libraries used: tkinter and webbrowser

image

An example when "Google" button is clicked:

image

Application for comparing excel sheets with Tkinter

In the beginning there are 4 open boxes - First File, Second File, First Column and Second Column. The boxes for the files are needed just to text the correct name of the files (they have to be in the same folder). In the other two boxes we are chosing which columns need to be compared. Then pressed button "Check for differences".

Library used without installation: Tkinter

Library used with installation: openpyxl

image

An example for the result

image

Calculator with Tkinter

This application is created with Tkinter. Main functions of calculator included.

Library: Tkinter

image

About

In this repository there are codes for simple games created with Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages