Git Product home page Git Product logo

musical-chess's Introduction

Musical-Chess

Compose masterful musical melodies online using data from your best chess matches.


Overview

Our website allows users to import games from their Lichess or Chess.com accounts, and then it will generate music based on the moves played out in the game.

Project Features

  1. Import games from popular chess websites Lichess and Chess.com by using their respective APIs.
  2. Analyze board position using stockfish, and then retrieve centipawn loss from each move played in a game.
  3. Generate music based on each moves centipawn loss.
  4. Concurrently play the moves and the music for a chessgame
  5. Simple user interface for ease of use.

User Interface

  1. Enter a Chess.com or Lichess username, the month and year you want games from, and then hit get games based on which website an account is from.
  2. After the games are loaded in select the game you want by entering its assigned number.
  3. Hit generate music
  4. Hit change board position to played out the moves and music.

image

To run:

Make sure Python is installed, clone this repo, then install dependencies via pip install. Then, in terminal (Windows): set FLASK_APP=app.py Then, in terminal (Windows): flask run

musical-chess's People

Contributors

khreate avatar nathanp9000 avatar jocelynheckenkamp avatar ejlam avatar

Stargazers

 avatar  avatar  avatar

Watchers

James Cloos avatar Shannen Barrameda avatar  avatar  avatar

musical-chess's Issues

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.