playtime with OOP ideas in JS