Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
smokelaboratory committed Jun 9, 2020
1 parent 5d287cb commit bde3ab9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at brvachhani@gmail.com. All
reported by contacting the project team at sumeetrukeja@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
# Fludo

[![License](https://img.shields.io/badge/License-Apache%202.0-2196F3.svg?style=for-the-badge)](https://opensource.org/licenses/Apache-2.0)
[![language](https://img.shields.io/github/languages/top/smokelaboratory/fludo.svg?style=for-the-badge&colorB=f18e33)](https://kotlinlang.org/)
[![language](https://img.shields.io/github/languages/top/smokelaboratory/fludo.svg?style=for-the-badge&colorB=00bfab)](https://kotlinlang.org/)

Fludo is a Flutter app which uses canvas and animations to build a Ludo board game.

## Features

* Roll dice & move your pawns
* Kill oponent's pawns
* Kill opponent's pawns
* Protect your pawns on safe spots
* Free turns as per basic ludo rules

Expand All @@ -25,6 +25,7 @@ Fludo is a Flutter app which uses canvas and animations to build a Ludo board ga
* Music integration
* UI/UX improvements
* Multiplayer support (Firebase)
* Web support

### Pull Request
To generate a pull request, please consider following [Pull Request Template](https://github.com/smokelaboratory/fludo/blob/master/PULL_REQUEST_TEMPLATE.md).
Expand Down
5 changes: 3 additions & 2 deletions lib/dice/dice_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,20 @@ class DiceBasePainter extends CustomPainter {
var radius = size.width;

var center = Offset(size.width / 2, size.width / 2);
var acrAngle = 30 * pi / 180;

for (int arcIndex = 0; arcIndex < 12; arcIndex++) {
canvas.drawArc(
Rect.fromCircle(center: center, radius: radius),
_startAngle,
30 * pi / 180,
acrAngle,
false,
Paint()
..color = arcIndex % 2 == 0 ? Colors.orange : Colors.white
..strokeWidth = 7
..style = PaintingStyle.stroke);

_startAngle += 30 * pi / 180;
_startAngle += acrAngle;
}

canvas.drawCircle(
Expand Down

0 comments on commit bde3ab9

Please sign in to comment.