{"id":16234423,"url":"https://github.com/parmsang/blackjack","last_synced_at":"2025-04-08T07:56:51.991Z","repository":{"id":97694909,"uuid":"42455544","full_name":"parmsang/blackjack","owner":"parmsang","description":null,"archived":false,"fork":false,"pushed_at":"2015-10-16T16:42:18.000Z","size":16088,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T05:15:24.911Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/parmsang.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}},"created_at":"2015-09-14T14:58:09.000Z","updated_at":"2023-03-09T03:45:51.000Z","dependencies_parsed_at":"2023-03-13T16:09:46.927Z","dependency_job_id":null,"html_url":"https://github.com/parmsang/blackjack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmsang%2Fblackjack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmsang%2Fblackjack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmsang%2Fblackjack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parmsang%2Fblackjack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parmsang","download_url":"https://codeload.github.com/parmsang/blackjack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247801170,"owners_count":20998331,"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":[],"created_at":"2024-10-10T13:15:58.370Z","updated_at":"2025-04-08T07:56:51.965Z","avatar_url":"https://github.com/parmsang.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nBlackjack\n---\n\n![alt text](https://github.com/ajitsy/blackjack/blob/master/app/assets/images/blackjack_screenshot.png)\n\nTask\n---\n\nCreated a basic single player black jack game. This was a 2-day team project during my time at [Makers Academy](http://www.makersacademy.com/).\n\nLink to our deployed Blackjack app [here](https://pure-refuge-7844.herokuapp.com/)\n\n##Basic rules\n\n```\nPlayer goes bust if over 21\nPicture cards are worth 10 points\nAce is worth 1 or 11\nPlayer is dealt minimum 2 cards\nPlayer can continue to hit until he goes bust\n```\n\nTechnologies Used\n---\n\n- Ruby on Rails\n- JavaScript\n- JQuery\n- HTML\n- CSS\n\nTests\n---\n\n```\nGame\n  Deck\n    should respond to #shuffle\n    should respond to #deck\n    initialises with a deck of cards\n    shuffles the deck\n\nGame\n  should respond to #deal\n  should respond to #hand\n  should respond to #winner?\n  deals a hand\n  lets player decide to hit\n  lets player decide to stand\n  lets player know if he has won the hand\n  lets player know if he has lost the hand\n  there is no winner or loser if the hand has not finished\n\nHand\n  should respond to #view\n  has a 2 card hand when created\n  should respond to #hit with 1 argument\n  can hit for an extra card\n  should respond to #total\n  knows how much its hand is worth\n  should respond to #stand\n  ends hand when player stands\n  raises error if you try to hit when hand has ended\n  raises error if you try to hit when you have 21 or are bust\n\nFinished in 0.0665 seconds (files took 9.7 seconds to load)\n23 examples, 0 failures\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmsang%2Fblackjack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparmsang%2Fblackjack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmsang%2Fblackjack/lists"}