Skip to content

digimortl/transport-tycoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Very entangled implemetaion, do not ever look at that, nothing interesting. It's kept just for history
!!! of the quest completeion. Beeter to keep thing simple, so see https://github.com/digimortl/tycoon it is
!!! more simplified version of the event-driven simulator.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Transport Tycoon Exercises for DDD solution (https://github.com/Softwarepark/exercises/blob/master/transport-tycoon.md)

The idea to make use of this approach was brought from Smalltalk "Bluebook"
(http://wiki.squeak.org/squeak/64) -- event-driven simulations. Sorry me for my PEP8!
I violated it intentionally for the sake of respect of this great language.

Exercise 1

A -> 5 hours
AB -> 5 hours
BB -> 5 hors
ABB -> 7 hours
AABABBAB - > 29 hours
ABBBABAAABBB -> 41 hours

Exercise 2

ABBBABAAABBB -> 39 hours

See ./tarces directory to investigate domain events.

About

The transport tycoon solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages