Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alvarogarcia7/lift-kata-kotlin
Practiced the lift kata in kotlin
https://github.com/alvarogarcia7/lift-kata-kotlin
deliberate-practice gradle gradle-wrapper kata katalog kotlin outside-in-tdd tdd
Last synced: 25 days ago
JSON representation
Practiced the lift kata in kotlin
- Host: GitHub
- URL: https://github.com/alvarogarcia7/lift-kata-kotlin
- Owner: alvarogarcia7
- Created: 2018-09-03T10:43:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-03T10:47:11.000Z (over 6 years ago)
- Last Synced: 2024-11-12T03:29:57.423Z (3 months ago)
- Topics: deliberate-practice, gradle, gradle-wrapper, kata, katalog, kotlin, outside-in-tdd, tdd
- Language: Kotlin
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lift Kata in kotlin
Practiced the [lift kata](http://kata-log.rocks/lift-kata) in kotlin
## Problem description
Since lifts are everywhere and they contain software, how easy would it be to write a basic one? Let’s TDD a lift, starting with simple behaviors and working toward complex ones. Assume good input from calling code and concentrate on the main flow.
Here are some suggested lift features:
- a lift responds to calls containing a source floor and direction
- a lift has an attribute floor, which describes it’s current location
- a lift delivers passengers to requested floors
- you may implement current floor monitor
- you may implement direction arrows
- you may implement doors (opening and closing)
- you may implement DING!
- there can be more than one lift### Advanced Requirements
- a lift does not respond immediately. consider options to simulate time, possibly a tick method.
- lift calls are queued, and executed only as the lift passes a floor### Objects Only
- Can you write a lift that does not need to be queried? Try writing a lift that only sends messages to other objects.