{"id":13714237,"url":"https://github.com/digimortl/tycoon","last_synced_at":"2025-07-27T19:38:10.144Z","repository":{"id":165837243,"uuid":"229229830","full_name":"digimortl/tycoon","owner":"digimortl","description":"Exercise 3 of Transport Tycoon Exercises for DDD","archived":false,"fork":false,"pushed_at":"2019-12-29T18:13:46.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T15:06:52.655Z","etag":null,"topics":["bluebook","ddd","event-driven-simulation","go","golang","simulation","smalltalk","squeak"],"latest_commit_sha":null,"homepage":"","language":"Go","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/digimortl.png","metadata":{"files":{"readme":"README","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":"2019-12-20T09:07:32.000Z","updated_at":"2022-03-05T18:04:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b6fdb3e-70cb-4f17-a829-638e76da51d8","html_url":"https://github.com/digimortl/tycoon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/digimortl/tycoon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digimortl%2Ftycoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digimortl%2Ftycoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digimortl%2Ftycoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digimortl%2Ftycoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digimortl","download_url":"https://codeload.github.com/digimortl/tycoon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digimortl%2Ftycoon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265692308,"owners_count":23812194,"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":["bluebook","ddd","event-driven-simulation","go","golang","simulation","smalltalk","squeak"],"created_at":"2024-08-02T23:01:55.357Z","updated_at":"2025-07-18T02:33:39.029Z","avatar_url":"https://github.com/digimortl.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"Transport Tycoon Exercises for DDD solution (https://github.com/Softwarepark/exercises/blob/master/transport-tycoon.md)\n\nThe idea to make use of this approach was brought from Smalltalk \"Bluebook\"\n(http://wiki.squeak.org/squeak/64) -- event-driven simulations. Sorry me for my PEP8!\nI violated it intentionally for the sake of respect of this great language.\n\nFirst usecase (Exercise 1)\n\nA -\u003e 5 hours\nAB -\u003e 5 hours\nBB -\u003e 5 hours\nABB -\u003e 7 hours\nAABABBAB - \u003e 29 hours\nABBBABAAABBB -\u003e 41 hours\n\nSecond usecase (Exercise 2)\n\nABBBABAAABBB -\u003e 39 hours\n\nSee ./traces directory to investigate domain events.\n\nHow to build/run:\n\nGOROOT=/path/to/sdk/go1.13.5\nGOPATH=/path/to/workspace\n${GOROOT}/go build -o ${GOPATH}/bin/tycoon\n${GOPATH}/bin/tycoon exercise-2 ABBBABAAABBB\n\nHow to test:\n\nGOROOT=/path/to/sdk/go1.13.5\nGOPATH=/path/to/workspace\n${GOROOT}/go test -c -o /tmp/usecase_test_go github.com/digimortl/tycoon\n${GOROOT}/go tool test2json -t /tmp/usecase_test_go -test.v -test.run \"^TestUseCase1|TestUseCase2$\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigimortl%2Ftycoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigimortl%2Ftycoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigimortl%2Ftycoon/lists"}