Coder Social home page Coder Social logo

react-native-chess's Introduction

Archived project. No maintenance.

Lichess didn't have an API when I built this project years ago. So I had to reverse engineer their websocket communication. This has surprisingly worked well over the years until recently.

So this project needs a rewrite using Lichess API and latest dependencies to work. I'm archiving it since I don't have any free time to invest nowadays.

Thank you for your interest!

react-native-chess

This is a simple chess client I built as a school project. It uses awesome Lichess platform as backend and puzzle sources.

The app is functional but codebase is unfortunately not clean. I want to improve the code quality and refactor duplicate code when I have some free time.

Requirements

Checkout react-native Getting Started page to install dependencies based on your OS and target platform.

Installation

Clone this repo

$ git clone https://github.com/halilb/react-native-chess
$ cd react-native-chess
$ npm install or yarn

How to start

$ react-native run-android
$ react-native run-ios

Running on Expo

I created a branch to make the app work on Expo. Checkout expo branch.

Screencasts

Playing puzzle

playing-puzzle

Finding Out puzzle solution

puzzle-solution

Playing with the machine

playing-with-machine

Creating a multiplayer game

create-multiplayer

Joining a multiplayer game

join-multiplayer

Licence

MIT

react-native-chess's People

Contributors

halilb avatar orivoir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

react-native-chess's Issues

Wesocket return 1005 error

The Websocket is returning 1005 for some reason on android and web.

Now I am trying to look at the API and saw section board. But as the URLs are not websocket I am unable to make the connection stay open.

If you have time to look for this, and help understanding how this work it will really be great.

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.