Git Product home page Git Product logo

chessexplorer's Introduction

Table of contents

General info

Symfony/vuex web based demo to explore/view chess games from the database.

Architecture

Entire front-end is made using Vue.js/Vuex using SPA architecture. Symfony framework acts as a backend API and is used to communicate with the database.

Technologies

Project is created with:

Features

  • importing pgn games into DB from pgn file using symfony command
  • displaying paginated games from the db
  • going through the games with next/prev buttons
  • displaying most popular moves in the current position
  • playing the position from the start (useful for opening preparation)
  • playing moves from the most popular moves in the position (useful for opening preparation)
  • basic filters (white/black player, game result)
  • favourite games
  • game sorting

To do

  • games searching
  • position searching
  • stockfish.js integration to analyse games

Installation

install composer dependencies

composer install

install frontend dependencies

yarn install

compile assets

yarn encore dev

run migrations

php bin/console doctrine:migrations:migrate

import games from pgn file using symfony command. The file should exists in the public directory. The command takes one input argument which is a name of the file eg. (games.pgn) For bigger files it may take a while (importing about 3 games per second)

php bin/console app:import-games --env=prod --no-debug {filename} 

if you want to use provided file with around 13k games use:

php bin/console app:import-games --env=prod --no-debug KingBase_part_1.pgn 

Screenshots

Opening book Game explorer Filters example Favourite games Displaying game info

chessexplorer's People

Watchers

 avatar  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.