Skip to content

elijahwidener/moon_poker_client

Repository files navigation

MoonPoker Client

Flutter-based client application for MoonPoker, a real-time multiplayer poker platform.

Prerequisites

  • Flutter SDK (latest stable)
  • Dart SDK (latest stable)
  • Protocol Buffer Compiler
  • MoonPoker Server (for local development)

Quick Start

# Clone repository 
git clone https://github.com/your-org/moon_poker_client.git
cd moon_poker_client

# Install dependencies
flutter pub get

# Generate protocol buffers
protoc --dart_out=grpc:lib/network/generated -I protos protos/*.proto

# Run in debug mode
flutter run

Development Setup

Install Flutter

macOS

brew install flutter

Linux

sudo snap install flutter --classic

Windows

Download from flutter.dev

Install VS Code Extensions

  • Flutter
  • Dart
  • Error Lens

Configure Environment

flutter doctor
flutter pub get

Project Structure

lib/
├── main.dart                 # Application entry
├── network/                  # Network layer
│   ├── network_controller.dart
│   └── generated/           # Protocol buffer generated code
├── ui/                      # UI components
│   ├── controllers/
│   ├── screens/
│   └── widgets/
└── models/                  # Data models

Testing

# Run all tests
flutter test

# Run with coverage
flutter test --coverage

Contributing

  1. Create a feature branch:
git checkout -b feature/name
  1. Commit changes:
git commit -m 'Add feature'
  1. Push to remote:
git push origin feature/name
  1. Create a Pull Request.

Running with Server

  1. Start MoonPoker server (default: localhost:50051).
  2. Run the client:
flutter run

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published