{"id":25533240,"url":"https://github.com/hptrk/uni-java-walkingboard","last_synced_at":"2026-01-22T21:30:17.470Z","repository":{"id":276359201,"uuid":"929046261","full_name":"hptrk/UNI-Java-WalkingBoard","owner":"hptrk","description":"A turn-based Java board game where players navigate on a grid, and collect points, featuring regular and special characters with unique movement patterns.","archived":false,"fork":false,"pushed_at":"2025-02-07T18:08:35.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T19:20:55.705Z","etag":null,"topics":["java","junit","tests","university-project"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hptrk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-02-07T17:54:45.000Z","updated_at":"2025-02-07T18:16:26.000Z","dependencies_parsed_at":"2025-02-07T19:21:01.895Z","dependency_job_id":"e8df694b-3247-482e-8a69-e0d1a6d3b0fc","html_url":"https://github.com/hptrk/UNI-Java-WalkingBoard","commit_stats":null,"previous_names":["hptrk/uni-java-walkingboard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hptrk%2FUNI-Java-WalkingBoard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hptrk%2FUNI-Java-WalkingBoard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hptrk%2FUNI-Java-WalkingBoard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hptrk%2FUNI-Java-WalkingBoard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hptrk","download_url":"https://codeload.github.com/hptrk/UNI-Java-WalkingBoard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239763644,"owners_count":19692812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["java","junit","tests","university-project"],"created_at":"2025-02-20T02:18:18.304Z","updated_at":"2026-01-22T21:30:17.410Z","avatar_url":"https://github.com/hptrk.png","language":"Java","readme":"# Java Walking Board Game\n\nThis project was developed as a **university assignment**, implementing a **turn-based board game** where players navigate a grid and collect points. The game features both regular players and a special \"Buccaneer\" player with unique movement patterns.\n\n## 🎮 Game Features\n- **Dynamic Game Board**: Configurable board size with scoring tiles.\n- **Multiple Player Support**: Supports 2+ players per game.\n- **Special Characters**: Features a unique \"Maddy Rotating Buccaneer\" player.\n- **Score Tracking**: Tracks and calculates points for each player.\n- **Direction System**: Implements a compass-like direction system (UP, RIGHT, DOWN, LEFT).\n\n## 🔧 Technical Features\n- **Object-Oriented Design**: Utilizes inheritance and encapsulation.\n- **Test-Driven Development**: Comprehensive unit tests.\n- **Modular Architecture**: Separated into player, board, and utility components.\n\n## 📋 Class Structure\n- `WalkingBoard`: Base game board implementation.\n- `WalkingBoardWithPlayers`: Extended board with player management.\n- `Player`: Base player class.\n- `MaddyRotatingBuccaneer`: Special player type.\n- `Direction`: Enum for movement directions.\n\n## 🎲 Game Rules\n- Players take turns moving on the board.\n- Each tile has a base score of 3.\n- Players collect points by moving over tiles.\n- The Buccaneer rotates direction based on round count.\n- Maximum score per step is 13 points.\n\n## 📅 Project Details\n- **University**: EITE\n- **Year**: 2024\n- **Language**: Java\n- **Testing Framework**: Junit\n\n## 🧪 Test Examples\n\n```java\n// Example game with 2 players\nWalkingBoardWithPlayers board = new WalkingBoardWithPlayers(5, 2);\nint[] stepCounts = {1, 3, 2, 1, 2, 2};\nint[] points = board.walk(stepCounts);\n// Player 1: 9 points\n// Player 2: 18 points\n```\n---\n⭐ This was a university project and is not actively maintained.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhptrk%2Funi-java-walkingboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhptrk%2Funi-java-walkingboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhptrk%2Funi-java-walkingboard/lists"}