Have you ever thought of gaining gaming experience with Flutter? Have you ever thought about building an app similar to Ludo King with modern features? Have you ever thought about how the Ludo app generates revenues? Here we go to build an interesting game with Flutter!
- Tokens can come out of Home Area only when dice has 6.
- True Dice
- Cut/Token Kill logic implemented.
- User can tap on a token to make it move. Only valid moves are made.
- Safe area "Star" implemented.
- Safe area coloured path near-final destination implemented.
- Tokens follow the only eligible path.
- Animated reversal of cut/killed tokens.
- Works on both iOS and Android
This project is free to use and can act as a starting point for your awesome Ludo App.
In order to play the game, you need to first run it using a simulator or device.
- Tap on dice at the bottom.
- Tap on the token.
- Token moves if the move is valid.
- Cut will happen when applicable.
- A cut token will traverse all the way back to home occupying the first available slot.
You can get your own fork/copy of Flutter_Ludo by using the Fork button.
You need to clone (download) it to local machine using
$ git clone https://github.com/Your_Username/Flutter_Ludo.git
This makes a local copy of repository in your machine.
Once you have cloned the Flutter_Ludo
repository in Github, move to that folder first using change directory command on linux and Mac.
# This will change directory to a folder Flutter_Ludo
$ cd Flutter_Ludo
Move to this folder for all other commands.
Run the following commands to see that your local copy has a reference to your forked remote repository in Github
$ git remote -v
origin https://github.com/Your_Username/Flutter_Ludo.git (fetch)
origin https://github.com/Your_Username/Flutter_Ludo.git (push)
Now, lets add a reference to the original Flutter_Ludo repository using
$ git remote add upstream https://github.com/Apoorv-cloud/Flutter_Ludo
This adds a new remote named upstream.
See the changes using
$ git remote -v
origin https://github.com/Your_Username/Flutter_Ludo.git (fetch)
origin https://github.com/Your_Username/Flutter_Ludo.git (push)
upstream https://github.com/shagun25/Flutter_Ludo.git (fetch)
upstream https://github.com/shagun25/Flutter_Ludo.git (push)
Always keep your local copy of repository updated with the original repository. Before making any changes and/or in an appropriate interval, run the following commands carefully to update your local repository.
# Fetch all remote repositories and delete any deleted remote branches
$ git fetch --all --prune
# Switch to `master` branch
$ git checkout master
# Reset local `master` branch to match `upstream` repository's `master` branch
$ git reset --hard upstream/master
# Push changes to your forked `Flutter_Ludo` repo
$ git push origin master
Once you have completed these steps, you are ready to start building this project.
- This project is licensed under the MIT License - see the LICENSE file for details
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -