Giter VIP home page Giter VIP logo

pgn_viewer's Introduction

PGN Viewer

My first project using python(3).

About

Simple application that represents chess games in a simple 2D gui board using the tkinter lib. Search local pgn files and select the game you want to watch from the main window. After a selection is made, a new window is opened with the board and various information about the game. You can then watch the game by going forward and backwards through the moves.

Dependencies

pygame library needed in order to run the app

pip install pygame

Running the app (python3.10 or later)

python main.py

Interface

The main user interface offers two options for viewing pgn files.
main window

Show Files

When the "Show Files" option is selected, pgn files within a pre-selected folder are shown in the screen. User can then select a game from that pgn file and "run" it.
show files option

Select File

"Select File" option is available for when the user wants to "run" a game from a pgn file outside the pre-selected folder. The file explorer window is opened...
file explorer
...from where a specific pgn file can be selected. The games are shown in a list.
select file option

"Running" the game

After selecting and "running" a game, a new window is opened launching the 2D chess board, game controls and basic information about the game.
run

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.