An open API service indexing awesome lists of open source software.

https://github.com/pejpero/pokercalculator

Poker Calculator is an educational mobile application built with Kotlin for Android. It allows users to add poker players, track their balances, and calculate final results including rebuys. This project is designed for learning purposes and is not intended for actual gambling use.
https://github.com/pejpero/pokercalculator

android calculator educational-project kotlin mobile mobile-app poker-game recyclerview

Last synced: 3 months ago
JSON representation

Poker Calculator is an educational mobile application built with Kotlin for Android. It allows users to add poker players, track their balances, and calculate final results including rebuys. This project is designed for learning purposes and is not intended for actual gambling use.

Awesome Lists containing this project

README

        

# Poker Calculator (Educational Project)

**Disclaimer:** This project is intended for educational purposes only. It does not encourage gambling and should not be used for gambling purposes.

## Overview

This Poker Calculator application is a Kotlin-based Android app designed to calculate and manage poker player balances. It features a simple interface for adding players and tracking their results, including the handling of rebuys.

## Features

- Add new players with their names.
- Automatically set initial balance and rebuys to 0.
- Calculate final player balances considering rebuys.
- Display player information in a RecyclerView.
- A modern and responsive UI design.

## Screenshots


pejpero
pejpero

## Development Roadmap

### Current Features
- Basic UI for adding players.
- Calculation logic for player balances including rebuys.

### Future Improvements
1. **Persist Player Data:**
- Integrate a local database (e.g., SQLite or Room) to save player information.
- Ensure player data persists between app sessions.

2. **Historical Data Analysis:**
- Add functionality to store historical game results.
- Implement analysis features to track player performance over time.

3. **Advanced Calculations:**
- Include more advanced poker metrics and calculations.
- Allow users to input and calculate more complex poker scenarios.

4. **Cross-Platform Support:**
- Extend the application to iOS using Kotlin Multiplatform Mobile (KMM).
- Ensure seamless functionality and UI experience across both platforms.

5. **Enhanced User Interface:**
- Improve the design and usability of the app.
- Add animations and transitions for better user experience.

## Code Structure
### MainActivity.kt
- Handles the main logic of the app including adding players and calculating balances.
### activity_main.xml
- Defines the main user interface layout.
### Player.kt
- Data class representing a poker player.
### PlayerAdapter.kt
- Adapter for binding player data to the RecyclerView.

## Getting Started

### Prerequisites
- Android Studio
- Kotlin

### Installation
1. Clone the repo:
```bash
git clone https://github.com/PejperO/pokerCalculator.git
```
2. Open the project in Android Studio.
3. Build and run the project on an Android device or emulator.

## License

This project is licensed under the GPL-3.0 License. See the [LICENSE](LICENSE) file for details.

## What I Learned
- **Kotlin for Android Development:** Enhanced my understanding and proficiency in Kotlin.
- **Android UI Design:** Learned to design and implement user interfaces in Android.
- **RecyclerView and Adapters:** Gained experience in using RecyclerView to display lists of data.
- **Cross-Platform Mobile Development:** Explored the potential of Kotlin Multiplatform Mobile (KMM) for creating cross-platform apps.
- **Software Licensing:** Understood the implications of GPL-3.0 license for open-source projects.