{"id":49960701,"url":"https://github.com/kelcodesstuff/neon-casino","last_synced_at":"2026-05-18T02:25:41.087Z","repository":{"id":211955030,"uuid":"662727657","full_name":"KelCodesStuff/Neon-Casino","owner":"KelCodesStuff","description":"iOS and iPadOS slot machine game. Includes Test Plans for UI, Unit, and Performance tests.","archived":false,"fork":false,"pushed_at":"2025-09-12T17:24:30.000Z","size":88537,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-12T18:53:54.162Z","etag":null,"topics":["performance-testing","swiftui","ui-testing","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KelCodesStuff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-05T18:53:02.000Z","updated_at":"2025-09-12T17:24:34.000Z","dependencies_parsed_at":"2025-08-16T01:12:43.295Z","dependency_job_id":"fb3c7bd4-8faf-463e-be37-68b98dfa5c14","html_url":"https://github.com/KelCodesStuff/Neon-Casino","commit_stats":null,"previous_names":["kelcodesstuff/neon-casino"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KelCodesStuff/Neon-Casino","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KelCodesStuff%2FNeon-Casino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KelCodesStuff%2FNeon-Casino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KelCodesStuff%2FNeon-Casino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KelCodesStuff%2FNeon-Casino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KelCodesStuff","download_url":"https://codeload.github.com/KelCodesStuff/Neon-Casino/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KelCodesStuff%2FNeon-Casino/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["performance-testing","swiftui","ui-testing","unit-testing"],"created_at":"2026-05-18T02:25:31.974Z","updated_at":"2026-05-18T02:25:41.082Z","avatar_url":"https://github.com/KelCodesStuff.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neon Casino\n\nNeon Casino is a modern, SwiftUI-based slot machine game with a progressive jackpot, neon visuals, and a focus on testability.\n\n[![Build and Test](https://github.com/KelCodesStuff/Neon-Casino/actions/workflows/ios-ci.yml/badge.svg)](https://github.com/KelCodesStuff/Neon-Casino/actions/workflows/ios-ci.yml)\n![Platforms](https://img.shields.io/badge/Platform%20Compatibility-iOS%2016+%20|%20iPadOS%2016+-red?logo=apple\u0026?color=red)\n[![TestFlight](https://img.shields.io/badge/Join%20The%20TestFlight-blue)](https://testflight.apple.com/join/)\n\n## Gameplay Overview\n\n### Core Mechanics\n- **Progressive Jackpot**: Starts at $100,000 and increases by 10% of your bet on each non-jackpot spin. When won, it resets to $100,000.\n- **Winning Lines**: Three-in-a-row combinations (rows, columns, diagonals) trigger payouts\n- **Visual Feedback**: Winning lines flash with green borders and alerts display payouts\n- **Bonus Round**: Three question symbols in a row activate a special bonus alert (Bonus round to be implemented)\n\n### Symbol Payouts\n**High-Value Symbols:**\n- Money: x200\n- Seven: x150  \n- Bar: x120\n\n**Medium-Value Symbols:**\n- Win: x40\n- Jewel: x40\n- Crown: x40\n\n**Card Symbols:**\n- Spade: x20\n- Club: x20\n- Diamond: x20\n- Heart: x20\n\n**Lucky Symbols:**\n- Star: x4\n- Clover: x4\n- Horseshoe: x4\n- Bell: x4\n\n**Fruit Symbols:**\n- Cherry: x2\n- Fruit: x2\n- Grapes: x2\n- Lemon: x2\n- Strawberry: x2\n- Watermelon: x2\n\n**Special Symbols:**\n- Question: Triggers bonus round\n\n### Special Features\n- **Jackpot**: All nine reels showing Win symbols awards the full progressive jackpot\n- **Bonus Round**: Three question symbols in a row display \"You activated the bonus round!\" alert\n- **RTP**: Approximately 90-95% Return to Player ratio for balanced gameplay\n\n## Features\n\n### Architecture\n- **SwiftUI + MVVM**: `SlotMachineView` renders from `GameViewModel` (`ObservableObject`), which encapsulates rules, state, and persistence\n- **Pure Rules Engine**: `GameRules` is a stateless evaluator that enables deterministic unit testing\n- **Separation of Concerns**: Game logic, UI, and data persistence are cleanly separated\n\n### Fairness \u0026 Security\n- **Cryptographically Secure RNG**: `ReelRandomizer` uses `SecRandomCopyBytes` with fallback to `SystemRandomNumberGenerator` for casino-grade fairness\n- **Realistic Slot Mechanics**: Weighted reel strips with secure random stops, preventing prediction or manipulation\n- **Transparent Payouts**: Complete pay table visible in Info view shows all symbol values\n\n## Technical Highlights\n\n### Testing Architecture\n- **Comprehensive Unit Tests**: Organized by feature (GameRules, ViewModel, Jackpot, Payouts, Bonus)\n- **RTP Simulation**: Monte Carlo testing with 100,000 spins to validate Return to Player percentages\n- **UI Test Automation**: Page Object Model with deterministic test modes for reliable UI testing\n- **Bonus Feature Testing**: Dedicated tests for bonus round activation and alert display\n- **Force Modes**: Deterministic test scenarios (jackpot, bonus, wins, losses) for consistent UI testing\n- **Full Coverage**: Tests for all win patterns, jackpot mechanics, bonus features, and edge cases\n\n## Building\n- Xcode 15+, iOS 16+ recommended\n- Open `Neon-Casino.xcodeproj` and run the `Neon-Casino` scheme\n\n## Preview\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003eScreenshots\u003c/h3\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003cimg src=\"Images/launch-screen.png\" alt=\"Launch Screen\" width=\"300\"\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003cimg src=\"Images/main-screen.png\" alt=\"Main Screen\" width=\"300\"\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003cimg src=\"Images/info-screen.png\" alt=\"Info Screen\" width=\"300\"\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003cimg src=\"Images/game-over.png\" alt=\"Game Over\" width=\"300\"\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n  \u003cbr/\u003e\n  \u003ch3\u003eVideo\u003c/h3\u003e\n  \u003ca href=\"https://youtube.com/shorts/3fkjIISIKW8\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://i.ytimg.com/vi/3fkjIISIKW8/hqdefault.jpg\" alt=\"YouTube Video\" width=\"560\"\u003e\n  \u003c/a\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n\u003c/div\u003e\n\n## License\nNeon Casino is available under the MIT license. See the `LICENSE.md` file for more info.\n\n## Acknowledgements\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelcodesstuff%2Fneon-casino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkelcodesstuff%2Fneon-casino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelcodesstuff%2Fneon-casino/lists"}