1..00..1…1.1….0..1..0..11..0…0

Bineroo Gameplay

Analysis of the requirements

Grid on Android
  • 0 (represented by a white circle ⚪️ )
  • 1 (represented by a black circle ⚫️)
  • Empty (represented by an empty circle with a red border)

Let’s code

  • A value represented by a String of a unique character with one of the following possibilities “0”, “1”, “.”
  • A mutable state represented by a bool
  • A position represented by an int equals the index of the tile within the grid String
  • A callback function represented by a dynamic type var that will be called every time a mutable tile is changed

Bonus: How to convert a stateless widget to stateful with key shortcuts

  • its initial value
  • its current value
  • its solution

Test and Fix

--

--

--

Have Fun @ DARGIL

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Writing My First Chia Blockchain Program (Part 5) — Web App

Use DFS to find various letter combinations of a phone number

Java Collections: Under the hood — ArrayList E01

How to deploy your first Lambda on AWS

Java: Coding Style or Bad Practice?

How to create dynamic libraries and what is its difference from static libraries?

Your Team Doesn’t Care about Your Goals. You Can Change That.

benefit-align.png

6 months as Software Developer and Advice for beginners

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
g4sd3o

g4sd3o

Have Fun @ DARGIL

More from Medium

Flutter scroll parent when ListView reach bottom

How can enable Lint and why?

#FlutterWithSakshi -Part 4

Dark Theme Using GetX and Get_Storage