{"id":23927107,"url":"https://github.com/rolemodel/tdd_ruby_card_game_war","last_synced_at":"2025-04-12T06:08:31.605Z","repository":{"id":33818230,"uuid":"135735437","full_name":"RoleModel/tdd_ruby_card_game_war","owner":"RoleModel","description":"This is a starting point for new programmers learning TDD and ruby","archived":false,"fork":false,"pushed_at":"2024-06-04T21:34:19.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T06:08:15.914Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/RoleModel.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":"2018-06-01T15:38:23.000Z","updated_at":"2022-05-30T18:37:21.000Z","dependencies_parsed_at":"2024-06-04T23:29:00.082Z","dependency_job_id":null,"html_url":"https://github.com/RoleModel/tdd_ruby_card_game_war","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/RoleModel%2Ftdd_ruby_card_game_war","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoleModel%2Ftdd_ruby_card_game_war/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoleModel%2Ftdd_ruby_card_game_war/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoleModel%2Ftdd_ruby_card_game_war/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoleModel","download_url":"https://codeload.github.com/RoleModel/tdd_ruby_card_game_war/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525141,"owners_count":21118619,"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":"2025-01-05T22:14:17.342Z","updated_at":"2025-04-12T06:08:31.550Z","avatar_url":"https://github.com/RoleModel.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tdd_ruby_card_game_war\n\nThis is a starter repository for programmers new to TDD, objects, and/or ruby.\n\nThe first assignment is to create a test-driven version of the card game of war.\nThe tests for the 4 classes identified by the spec files should all pass by running\n```\nrspec\n```\n_NOTE: it starts with one passing and one failing test_\n\nAND\n\nThe manual system test\n```\nruby lib/war_runner.rb\n```\nproduces something like:\n```\n[… lots of stuff deleted …]\nPlayer 2 took 4 of Hearts with 10 of Spades\nPlayer 1 took 7 of Spades with K of Hearts\nPlayer 1 took 4 of Hearts, 10 of Hearts, 10 of Spades with K of Hearts after a single tie\nWinner: Player 1\n```\n\nLater assignments may add other interfaces to the game.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolemodel%2Ftdd_ruby_card_game_war","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frolemodel%2Ftdd_ruby_card_game_war","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolemodel%2Ftdd_ruby_card_game_war/lists"}