tobyatgithub / freeCell

freeCell game for grampa

Repository from Github https://github.comtobyatgithub/freeCellRepository from Github https://github.comtobyatgithub/freeCell

FreeCell

Introduction

This is a cross-platform FreeCell solitaire game implementation using Flutter, designed to be accessible and user-friendly, with a particular focus on readability and ease of use. The game supports fullscreen mode and is optimized for various screen sizes.

Supported Platforms

  • Windows
  • iOS
  • Android

Features

  • Classic FreeCell solitaire gameplay
  • Adjustable text and card sizes for better visibility
  • Fullscreen support
  • Intuitive touch and mouse controls
  • Clean, modern interface

Development Setup

  1. Install Flutter by following the official installation guide
  2. Clone this repository
  3. Run flutter pub get to install dependencies
  4. Open the project in your preferred IDE (VS Code or Android Studio recommended)

Building and Running

For Windows

flutter build windows

For iOS

flutter build ios

For Android

flutter build apk

Development Status

Project is currently under development, transitioning from a web-based implementation to a Flutter cross-platform application.

Current Progress

  • ✅ Basic game mechanics implemented
  • ✅ Card movement and stacking rules implemented
  • ✅ Drag and drop functionality working
  • ✅ FreeCell movement limit rules implemented (based on empty cells and columns)
  • ✅ UI layout and design completed
  • ✅ Game state management implemented with Riverpod

Known Issues

  • ⚠️ Dialog prompts for movement limit violations sometimes fail to display
  • ⚠️ Terminal shows successful card movements even when they should be blocked
  • ⚠️ Some edge cases in card movement validation need refinement

Next Steps

  • Improve dialog display reliability
  • Add game completion detection and celebration
  • Implement undo/redo functionality
  • Add game statistics tracking
  • Implement settings for customization
  • Add sound effects and animations

Note

5-28-2024:

  • Transitioning from Flask to Flutter for better cross-platform support and native performance

6-1-2024:

  • Implemented core game mechanics and UI
  • Added FreeCell movement limit rules
  • Working on fixing dialog display issues for movement limit violations

About

freeCell game for grampa


Languages

Language:Dart 42.1%Language:C++ 23.2%Language:CMake 18.7%Language:Python 8.2%Language:Ruby 2.6%Language:HTML 2.2%Language:Swift 1.6%Language:C 1.3%Language:Kotlin 0.1%Language:Objective-C 0.0%