{"id":1571,"date":"2022-05-03T08:17:29","date_gmt":"2022-05-03T08:17:29","guid":{"rendered":"http:\/\/nikolapacekvetnic.rs\/?page_id=1571"},"modified":"2022-05-03T10:51:40","modified_gmt":"2022-05-03T10:51:40","slug":"rouge-c","status":"publish","type":"page","link":"http:\/\/nikolapacekvetnic.rs\/?page_id=1571","title":{"rendered":"Rouge C"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"566\" src=\"http:\/\/nikolapacekvetnic.rs\/wp-content\/uploads\/2022\/05\/line-of-sight.gif\" alt=\"\" class=\"wp-image-1572\"\/><\/figure><\/div>\n\n\n\n<p>Recreation of classic Rouge game in C. C practice project. The map generation algorithm used is based on Conway&#8217;s Game of Life automaton. Field of view implementation relies on ray casting procedure using Bresenham&#8217;s line algorithm to detect visible ground tiles.<\/p>\n<p>Source code: <a href=\"https:\/\/github.com\/NikolaVetnic\/RougeC\">https:\/\/github.com\/NikolaVetnic\/RougeC<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1571","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/pages\/1571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1571"}],"version-history":[{"count":1,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/pages\/1571\/revisions"}],"predecessor-version":[{"id":1573,"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=\/wp\/v2\/pages\/1571\/revisions\/1573"}],"wp:attachment":[{"href":"http:\/\/nikolapacekvetnic.rs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}