Live data from Hacker News

Swarm: A resource-gathering game based on robot programming, written in Haskell

github.com

11–20 of 27 posts

Re: Swarm: A resource-gathering game based on robot programming, written in Haskell

#11
post #9
post #6

I always wondered if there is some way to create a game where you program real life robots against each other?

Kind of? https://www.youtube.com/watch?v=ELaeirIZw8c

Robot Wars is amazing and it's a crime that they cancelled it to "make room for new shows".

I don't think the BBC actually liked it, tbh. They scheduled it against impossible competition on BBC1.

Re: Swarm: A resource-gathering game based on robot programming, written in Haskell

#14

Oo this looks really cool! I'm bookmarking this for the future. I don't know that I'll have time to do anything with it any time soon, but looks really interesting. I wish there were more "play games while programming" projects. Only thing is that they all seem to be too low level, whereas I want to be able to write logic like: "when you have instead of having to program my own pathfinding logic or whatever.

Interesting, I didn't think there was much demand for games like this.

I'm putting together a few things in this space, would you be interested in a programming resources management game?

Re: Swarm: A resource-gathering game based on robot programming, written in Haskell

#15

Oo this looks really cool! I'm bookmarking this for the future. I don't know that I'll have time to do anything with it any time soon, but looks really interesting. I wish there were more "play games while programming" projects. Only thing is that they all seem to be too low level, whereas I want to be able to write logic like: "when you have instead of having to program my own pathfinding logic or whatever.

Something that goes in the other extreme — very simple game rules, but you are free to code in whatever behaviour you want — https://yare.io

Re: Swarm: A resource-gathering game based on robot programming, written in Haskell

#16
post #7
post #6

I always wondered if there is some way to create a game where you program real life robots against each other?

What do you mean by "real life robots"?

I was imagining having physical robots (as opposed to a simulation) with some sort of API to the motors, sensors, etc and you could upload code to to compete in some sort of game. Maybe even set up a webcam and stream the matches!

Re: Swarm: A resource-gathering game based on robot programming, written in Haskell

#17
post #9
post #6

I always wondered if there is some way to create a game where you program real life robots against each other?

Kind of? https://www.youtube.com/watch?v=ELaeirIZw8c

Those are remotely controlled, so not robots at all.

Re: Swarm: A resource-gathering game based on robot programming, written in Haskell

#18
How is the compile time?

I like Haskell's succinctness, but I was a bit shocked when I needed to compile Haskell IDE Engine (HIE) and had to wait almost 2 hours... That's when I thought, I'll just complete these university courses and see if I bother afterwards.

Re: Swarm: A resource-gathering game based on robot programming, written in Haskell

#19
post #18

How is the compile time? I like Haskell's succinctness, but I was a bit shocked when I needed to compile Haskell IDE Engine (HIE) and had to wait almost 2 hours... That's when I thought, I'll just complete these university courses and see if I bother afterwards.

Compile time in CI seems to be about 1 minute 20 seconds. Not the fastest, not terrible either.

Re: Swarm: A resource-gathering game based on robot programming, written in Haskell

#20
post #4

If you want a Lispier robot programming game, check out GNU Robots. You use the dialect of Scheme that most GNU tools are extensible with, so you'll get something out of it! https://www.gnu.org/software/gnurobots/

there is also screeps if anyone wants the MMO experience. but this one aint free though, because you're effectively running code 24/7 and the devs need to maintain servers so that your code gets executed. i'd suggest just getting the simple game and run the server locally. no longer MMO in that case, but thats probably for the best until your code can handle raids by other players :)

https://screeps.com/

Post reply on HN