News for hackers. Stuff that matters.
Re:Show HN: DevShop, the Game of Kanban by LeonB on Monday November 11, 2019 @06:53AM (#21504035)
Here's a really lightweight game I made, written in vanilla javascript, no frameworks, no graphics (just Emoji).

For 10 years I've been meaning to make this. (It was even mentioned on Hacker News back when I first wrote about it: https://news.ycombinator.com/item?id=967641)

A week or two ago, prompted by an email from a friend, I made this version, very quickly. A few days ago I switched to using TypeScript (but still no frameworks) and found that TypeScript is amazing.

To play the game, you "find a new project" (for $100 of in-game currency), then assign it to your only employee ("the Founder"). Once you've worked on a few projects you can hire staff. A store becomes available where you can buy further skills and items.

It shows you some basic aspects of software development in a bespoke devshop. Interplay between different roles, how self-managing teams operate etc. I've had a blast writing it!

Re:Show HN: DevShop, the Game of Kanban by giancarlostoro on Monday November 11, 2019 @09:46AM (#21505203)
Took me a few tries to get the flow, maybe hiding irrelevant workers (and highlighting the appropriate workers) when you click on a task might help make it slightly more obvious. It's also easy to forget who works on what tasks, maybe organizing those later on might also be worthwhile.

This is a great game, could eventually turn into an "idle clicker" if you so desire. Good job! I'm a fan of vanilla JS solutions.

Also: if you want to preserve some state: localStorage might be the api you want, cookies are a mess.

https://developer.mozilla.org/en-US/docs/Web/API/Window/loca...

Re:Show HN: DevShop, the Game of Kanban by kuu on Monday November 11, 2019 @08:46AM (#21504765)
Great job! How is it take you 10 years to take the step to do it? Any idea about how to overcome that? I question this because I have some ideas but later on I never find the time / motivation to deal with it.
Re:Show HN: DevShop, the Game of Kanban by LeonB on Monday November 11, 2019 @08:52AM (#21504794)
I’ve done a lot of other things in the meantime :), such as putting out profitable projects and books etc.

The original vision for this game was a fully animated iOS game. It only became worth doing when I suddenly had a way to make it ultra-lightweight, no graphics at all.

So my advice is to find the minimum. Less than an Mvp. Halve your idea. Then halve it again.

Re:Show HN: DevShop, the Game of Kanban by kuu on Monday November 11, 2019 @09:13AM (#21504925)
Thanks for the advice!
Re:Show HN: DevShop, the Game of Kanban by codesternews on Monday November 11, 2019 @09:33AM (#21505100)
Have you made money from your products? How it go? Also are you working full time? Just curious.

Thanks

Re:Show HN: DevShop, the Game of Kanban by LeonB on Monday November 11, 2019 @08:53PM (#21510823)
I am working full time, and my products make modest profits. I’m also a parent so that’s another full time job right there. ;)
Re:Show HN: DevShop, the Game of Kanban by mettamage on Monday November 11, 2019 @07:36AM (#21504316)
Sounds like a fun serious/educational game. I'll check it out.

There was a list of serious/educational games that I once submitted to HN [1]. Maybe you should contact the author to see if it can be added.

Edit: that was more fun than I expected. At later levels it feels a bit like a grind, but for just for a couple of days of work I find it a fantastic achievement. You kept me hooked for about 25 minutes ;-)

[1] https://news.ycombinator.com/item?id=14661813

Re:Show HN: DevShop, the Game of Kanban by LeonB on Monday November 11, 2019 @08:28AM (#21504650)
To avoid the grind: If you give your people multiple of the self-start skill they will do more work with less clicking on your part. Also observation skill is similar, means they can do multiple in a row without any intervention.
Re:Show HN: DevShop, the Game of Kanban by reificator on Monday November 11, 2019 @10:13AM (#21505429)
I've seen these skills fire several times, but I'm not sure what the rules are.

Do they self-start any time they could complete an open task? Do they self-start only when there is new work available as soon as they finish?

Re:Show HN: DevShop, the Game of Kanban by workingpatrick on Wednesday November 13, 2019 @10:06AM (#21524913)
For the Observation Training, your worker seems to work X tasks in a row when you manually click them to assign a task, where X is their "Observation Training" level.

So that automates their work if you assign it to them manually.

The self-starter training seems to take effect when you've not manually assigned a task to them. They will search for a single task to complete X times in a row, with a slight delay between each task, where X is equal to their "Self-Starter Training" level.

When their tasks are started automatically via this skill, the "Observation training" seems to be ignored.

Re:Show HN: DevShop, the Game of Kanban by LeonB on Monday November 11, 2019 @07:55AM (#21504433)
Will do, thanks
Re:Show HN: DevShop, the Game of Kanban by tomgp on Monday November 11, 2019 @10:22AM (#21505507)
Kudos! I love the simple style and mechanics, I haven't played much but will give it a proper go when I get home.
Re:Show HN: DevShop, the Game of Kanban by ef9 on Monday November 11, 2019 @05:24PM (#21509555)
This was a great time.

I had a story come back with bugs multiple times until I forced the Founder to triage, dev AND test themselves! :D