
Here we will get a general overview of what we are building and lay down the foundation of our card game.
Architect a Flutter card game state with provider, modeling cards, decks, players and turns; integrate the deck API for new decks and drawing cards, and build card UI.
Build a flutter and dart card game by wiring a game provider to manage state, draw cards from a deck API into player hands, and show an end turn control.
Enhance a Flutter and Dart card game by implementing draw and play card actions, a discard pile UI, and basic bot turn logic to enforce simple rules.
Build a Crazy Eights game provider in Dart by inheriting the core game provider, overriding setup, can play logic, and discard pile handling, with game state management.
Implement the Crazy Eights rules by adding apply card side effects that switch suits when an eight is played, with a human picker UI and a bot random choice.
Learn how to implement robust game logic and user interfaces for a Flutter and Dart card game, including suit selection modal, state management, and player turn indicators.
Deliver a full review of building a Flutter card game, covering multi-provider architecture, crazy eights gameplay, and a plan for a thirty-one variant.
This lecture demonstrates adding optional additional buttons to a Flutter and Dart card game, introducing an action button model, and wiring enablement and tests.
This course will give you a lot of foundational knowledge that is applicable to virtually any type of application, with a playful twist!
We will be solving common problems that come with building real-world applications including working with an external API using http and UI state management using the Provider package.
We'll also have some fun coding some AI for our bot players and making use of inheritance in order to support different games that run off of the same core engine. The principals and patterns followed in this course are applicable to other apps you may want to build – certainly not just games.
Learn about:
Interfacing with an API
Parsing JSON
Model Factories
State Management with Provider
Null Safety
Class Inheritance
VS Code refactoring & tips
AI bot coding
Dependencies:
provider
http
validators
cached_network_image
The final code is available on Github so if you get stuck, you'll be able to catch up There are a lot of tips and tricks that are sprinkled throughout which will help you become a better developer as you learn about them and build the habits. Once completed, you will be able to build more types of card games on top of the framework we create so let your imagination run wild and have fun taking your programming skills to the next level.
I hope you enjoy taking this course as much as I enjoyed putting it together.