Hacker News new | ask | show | jobs
by desertkun 481 days ago
Yes, however I do not see screeps as constrained environment – AFAIK you can allow yourself to write sloppy code and get your task done.

Here I focus instead on sheer performance of your code. You 64k of ram is all you get, every move you do blocks you and you get an equal chance to execute your program – e.g. everyone gets a slice of 10'000 T-states per game iteration. For context, on ZX spectum machine, you get 70'000 T-states between frames. So this, potentially, creates a competitive environment, where a bot that takes 500 T-states less to take decision to move and does so earlier, eats you, it wins.

I've been a witness of competitions when people would take "who can make this problem solved the cheapest" and it's fun. So I figured I should try and take it to extreme.