GithubHelp home page GithubHelp logo

ddugovic / casual-chess Goto Github PK

View Code? Open in Web Editor NEW

This project forked from supertorpe/casual-chess

0.0 2.0 0.0 2.12 MB

Casual chess, without clock. There are already other great places to play chess on the internet, but they are also complex and loaded with features. Sometimes you just want to play a game with someone you know without having to register anywhere. Casual Chess tries to fill that gap.

License: GNU General Public License v3.0

JavaScript 0.80% TypeScript 66.68% HTML 14.64% CSS 5.28% Rich Text Format 12.60%

casual-chess's Introduction

casual-chess (without clock)

There are already other great places to play chess on the internet, but they are also complex and loaded with features. Sometimes you just want to play a game with someone you know without having to register anywhere. Casual Chess tries to fill that gap.

Casual Chess is an ionic and firebase application. It is written in TypeScript and Angular.

It is distributed as a PWA: https://casual-chess.web.app

Home screen

From the home screen you can create a new game or access your list of games:

You can slide a game to the left to access the button that allows you to delete it.

New game

When creating a new game, you first have to select which pieces you want to use:

Next you assign a name to the game, to be able to locate it in the list of the home easily:

When creating the game 3 unique links are generated. One for the player with the white pieces, one for the player with the black pieces and one for spectators. The following screens allow you to copy these links to the clipboard, in order to share them. Each player has to use their link and keep it a secret ... anyone with the link could move your pieces instead!

The game

As players make moves, a push notification is sent to the opponent. With the top right bell you can disable and re-enable notifications for this game.

If you play with white pieces, these appear below and the black pieces above. If you play with black pieces, they appear below and the white ones above. However, at any time you can flip the board with the first button on the bottom toolbar.

You can navigate to any position in the game by clicking on the movement in the area where they are written, or by navigating with the bottom toolbar.

The floating button shows and hides other options:

Settings button: show the configuration screen. You can also access the settings from the menu, but from the menu you exit the game and you have to enter again. From the floating button, you stay in the game:

Clipboard button: show de clipboard dialog:

From this screen you can copy to the clipboard: the link for spectators, the FEN of the current position, the PGN of the game or save a screenshot of the board. You can also generate a bbcode for the screenshot to share it in forums.

Analysis button: displays an analysis board to explore variants from the current position. The analysis can be saved, and if you already have previous analyses for this game, you will be shown a dialog that allows you to continue with any previous analysis or start a new one.

Abandon / Offer draw / Undo move: displays a dialog box that allows you to leave the game or offer tables (if it is your turn) or request undo your latest move (if it is not your turn):

The analysis board

This screen allows you to explore different variants, with any depth level:

You can navigate directly to any movement by clicking on it in the notation area. You can mark movements as "good" or "bad" with the thumb-up and thumb-down buttons. Scissors allow you to prune a variant. The floppy disk allows you to save the analysis, in case you want to continue later or share it with someone. On this screen, the "copy to clipboard" dialog box shows one more option that allows you to share a link to the analysis:

Preferences

Here you can change the aesthetics of the application (light / dark theme, style of the pieces, colors of the board, lighting of squares) and if you want it in silent mode or to make sound when moving pieces.

Credits

Following software and resources has been used:

casual-chess's People

Contributors

supertorpe avatar

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.