{"id":1875,"date":"2016-08-20T18:21:51","date_gmt":"2016-08-20T16:21:51","guid":{"rendered":"http:\/\/www.switchbl8.nl\/blog\/?p=1875"},"modified":"2016-08-20T19:21:47","modified_gmt":"2016-08-20T17:21:47","slug":"keeping-my-mind-busy","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2016\/08\/keeping-my-mind-busy\/","title":{"rendered":"Keeping my mind busy"},"content":{"rendered":"<p>Gaming is a way to relief stress and not think about daily life. Lately, even gaming can&#8217;t keep me interested. But my mind is busy all day long with all kinds of stuff, so yesterday I gave mindmapping a try. A mindmap for what is needed to create a gameserver. A server that keeps track of the users, their progress, serves the game itself to the clients, etc. One thing a gameserver needs is a way to store all that data, so a proper database is needed. So I looked at several candidates and in the process I came across <a href=\"http:\/\/redis.io\/\">Redis<\/a>. Maybe not the easiest backend database when you need graphing for social features, but absolutely the perfect toy to keep my mind occupied for some time.<br \/>\nRedis has enough client APIs, like most databases. Let&#8217;s see if we can use the C#\/.Net API from within <a href=\"http:\/\/unity3d.com\/\">Unity<\/a>. Touch\/collect this item and increase a value in the Redis database: the XP of the user playing the game.<\/p>\n<p>I will probably create nothing for real, but it&#8217;s nice to be not bored for some time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gaming is a way to relief stress and not think about daily life. Lately, even gaming can&#8217;t keep me interested. But my mind is busy all day long with all kinds of stuff, so yesterday I gave mindmapping a try. A mindmap for what is needed to create a gameserver. A server that keeps track <a href='https:\/\/www.switchbl8.nl\/blog\/2016\/08\/keeping-my-mind-busy\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[128,51,92,129,133],"class_list":["post-1875","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-c","tag-database","tag-development-2","tag-gaming","tag-personal","category-1-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/1875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=1875"}],"version-history":[{"count":2,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/1875\/revisions"}],"predecessor-version":[{"id":1877,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/1875\/revisions\/1877"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=1875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=1875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=1875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}