Skip to content

A mobile application built with Flutter to allow users to play live chess

Notifications You must be signed in to change notification settings

mgovilla/base_chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base Chess

An mobile application that allows users to play live chess and set up realtime tournaments. Built with Flutter for the framework, Firebase for authentication and Cloud Firestore, and Challonge API to set up the tournaments. To create the chessboard, I reused code from the FlutterChess library by Deven98 (https://github.com/deven98/FlutterChess).

The user logs in with Google which grants access to the Cloud Firestore database. In the database, there is a collection for users who are currently online, and these users show up in the list at the home screen. And then, after the user taps someone he/she wants to challenge, a prompt shows up for the time control. There are 3 options: 10|0, 5|5, and 3|2.

Known "bug": Users with the same display name will be indistinguishable

Home Screen Challenge Screen

After sending the challenge, the user is shown the chess board screen while waiting for the opponent to accept or decline. The opponent's screen will show a dialog with the challenge information where he/she can accept the challenge and start the game.

Waiting Screen Challenged Screen

About

A mobile application built with Flutter to allow users to play live chess

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published