{"id":13633105,"url":"https://github.com/CGagnier/six-card-golf","last_synced_at":"2025-04-18T10:34:07.797Z","repository":{"id":220295205,"uuid":"283038779","full_name":"CGagnier/six-card-golf","owner":"CGagnier","description":"First experiment of coding a game using love2d","archived":false,"fork":false,"pushed_at":"2021-01-01T00:48:35.000Z","size":136,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-01T23:30:58.988Z","etag":null,"topics":["card-game","love2d","lua","playdate"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":false,"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/CGagnier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-07-27T23:11:44.000Z","updated_at":"2023-09-02T00:08:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"971772d1-c0f6-42c0-8ee3-0a3b93634451","html_url":"https://github.com/CGagnier/six-card-golf","commit_stats":null,"previous_names":["cgagnier/six-card-golf"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGagnier%2Fsix-card-golf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGagnier%2Fsix-card-golf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGagnier%2Fsix-card-golf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CGagnier%2Fsix-card-golf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CGagnier","download_url":"https://codeload.github.com/CGagnier/six-card-golf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223779505,"owners_count":17201195,"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":["card-game","love2d","lua","playdate"],"created_at":"2024-08-01T23:00:27.748Z","updated_at":"2025-04-18T10:34:07.789Z","avatar_url":"https://github.com/CGagnier.png","language":"Lua","funding_links":[],"categories":["Open Source Playdate Games \u0026 Example Code"],"sub_categories":["Fonts"],"readme":"# 2 Players Six Card Golf\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./promo/promo-1.png\" alt=\"board\"/\u003e\n\u003c/p\u003e\n\n_First love2d game, mostly done to learn more on Lua. A [Playdate](https://play.date/) port was in mind which is why it uses limited controls and has 1-bit graphics. I might finish the game once I get my console._\n- [Overview](#Overview)\n- [How to play](#How-to-play)\n- [Special Thanks](#Special-Thanks)\n\n## Overview\n\n### Goal\nHave the lowest score after 9 rounds.\n\n### Board setup\nEach player receives 6 cards face down, all cards left are put in a draw pile. One card from the draw pile is put in a discard pile, face up.\n\n### Turn actions\nThe players have two choices of action each turn\n- Turning up a face-down card on their board\n- Drawing a card: from the discard pile (the one on top) or the draw pile.\n\n    If they chose to draw a card, they can replace any card on their side with the one drawn. They can also choose not to use it, and can simply discard it.\n\nThe turn now ends, and the next player can start.\n\nThe game ends the turn after a player turned face up all their cards. (The other player can do one last turn, before they need to turn all their cards face up, in this game, this is done automatically)\n\n### Scoring\n- Jokers are worth -5\n- Any pairs of cards are worth 0 points\n- Kings are worth 0 points\n- Every other card is worth their rank\n\n## Controls\n- Arrow keys: Control your cursor\n- X: Click on cards\n- Z: Close popups\n\n# How to play\n\n## From source code\n\nIf you cloned the repo, you will need to download [LÖVE](https://www.love2d.org/) first then you can launch the game with:\n\n```\nlove six-card-golf/six-card-golf\n```\n\n## From executable\n\nYou can find those in the [latest release](https://github.com/CGagnier/six-card-golf/releases)\n\n## From the web\n\nAvailable on [itch.io]()\n\n\n## Special Thanks\n\nTo [simplegametutorials](https://github.com/simplegametutorials) which made me learn quite a lot on Lua. You can find more on their [website](https://simplegametutorials.github.io/love/). \n\nAfter following [this tutorial on building a blackjack game](https://simplegametutorials.github.io/love/blackjack/), it gave me the idea to try to port one of my favorite card game, some logic from the tutorial was adapted in my code.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCGagnier%2Fsix-card-golf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCGagnier%2Fsix-card-golf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCGagnier%2Fsix-card-golf/lists"}