Over the last couple of days I restructured SnailLife Go into a server and client. I’m still in the “rough draft” stage, but the top level project structure now looks like this:
gosnaillife
├── client
├── cmd
├── common
├── LICENSE.md
├── README.md
├── server
└── setup
Intent
- Split ap…
Made a bit more progress on the authentication basics today. Relevant commits are:
- Add http package; have auth0 test delete user it has just registered after test is done
- Create json util; add logout test
Today I focused a bit on the building and installati…
A couple of weeks ago I had the genius idea to rewrite SnailLife in Go. I’ve already looked into doing this once before a couple of years ago, but wasn’t really feeling it and stuck with PHP (mostly for nostaligia reasons). Now though, SnailLife is this bloated PHP app. Most of the core function…
It has been a while! SnailLife work has been moving at a snail's pace. Why? Because debugging the snail brain has turned into a highly demotivating, hellish endeavour. The snails make decisions and perform actions based on so much *crap*, that the simple log files I was using all long are just not …
I finally have two BrainRunners working on a DigitalOcean droplet, and one BrainHub on another droplet queueing and assigning tasks to the runners.
It's still rough, but let's start with the BrainHub's scheduled artisan commands (Artisan is the CLI that comes with Laravel):
[font='courier new']Que…
Note: This post may make more sense if you also check out the one I posted before Christmas on my blog (which I unfortunately forgot to also post here at the time: http://liza.io/the-brain-scope-is-growing-brainhub/
I've started this post maybe twenty times now, since before Christmas, and each ti…
I'm super excited. I was thinking: "How do I implement old age and death, and health in general? Is health just energy? When the snail is out of energy, it dies? But that seems too simplistic."
At this point I should have realized that 'simplistic'…
The problem is all the space this takes up on my Digital Ocean droplet …
* 5 seconds ago, User messaging and cause of death [deploy:development]* 4 days ago, Some race view fixes, test out increasing AMR fo…
We have a few different item-associated models in Gastropoda. They are (model followed…
Actually, I think now that basic mixing is done I'm going to do a few weeks of just bug fixing. The substrate has no effect on snails' attributes or behaviour yet, but it will. For now you can just mix differe…
I knew this would be a large setback in terms of feature work. The migration would break things, things th…
The original idea was to have some pre-set types of substrate - garden dirt, rock, potting soil, pellets, whatever. But how would these items affect the snails and the jar? Would I need to inve…
I've been having to power cycle my Gastropoda Digital Ocean droplet every day lately because something was hogging up all the memory. It was a little annoying to diagnose because I know the problem had to do with the recurring events that are run using a cron job, of which there are qui…
Today I got most of the work done on that. There is a lot left to do, but as of right now:
- A new jar gets created when a user hosts a race
- When the race starts all entrants are placed into that jar in ord…
Basical…
When I first embarked on the journey to power my snails' actions with a simple snail brain I threw together this diag…