{"id":36802,"date":"2016-03-21T01:04:59","date_gmt":"2016-03-20T16:04:59","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=36802"},"modified":"2016-03-21T01:04:59","modified_gmt":"2016-03-20T16:04:59","slug":"terminal-mines","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/terminal-mines\/","title":{"rendered":"terminal-mines - \u30bf\u30fc\u30df\u30ca\u30eb\u3067\u3053\u3063\u305d\u308a\u904a\u3079\u308b\u30de\u30a4\u30f3\u30b9\u30a4\u30fc\u30d1\u30fc"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/03\/Is-2016-03-21-0.41.39.png\" alt=\"S 2016 03 21 0 41 39\" title=\"s 2016-03-21 0.41.39.png\" border=\"0\" width=\"757\" height=\"484\" \/><\/p>\n<p>\u30de\u30a4\u30f3\u30b9\u30a4\u30fc\u30d1\u30fc\u3068\u306f\u5730\u96f7\u539f\u304b\u3089\u5730\u96f7\u3092\u53d6\u308a\u9664\u304f\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u305f\u30d1\u30ba\u30eb\u30b2\u30fc\u30e0\u3002\u30b7\u30f3\u30d7\u30eb\u306a\u30b2\u30fc\u30e0\u306a\u304c\u3089Windows\u306b\u3082\u30d0\u30f3\u30c9\u30eb\u3055\u308c\u3066\u3044\u3066\u3001\u30bd\u30ea\u30c6\u30a3\u30a2\u306a\u3069\u3068\u3068\u3082\u306b\u9ad8\u3044\u77e5\u540d\u5ea6\u3092\u8a87\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/accatyyc\/terminal-mines\">terminal-mines<\/a>\u300d\u306f\u3001ncurses\u30d9\u30fc\u30b9\u306e\u30de\u30a4\u30f3\u30b9\u30a4\u30fc\u30d1\u30fc\u30b2\u30fc\u30e0\u3067\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u4f7f\u3063\u3066\u30ad\u30fc\u30dc\u30fc\u30c9\u3060\u3051\u3067\u30d7\u30ec\u30a4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30d3\u30eb\u30c9\u65b9\u6cd5<\/h2>\n<p>\u4ee5\u4e0b\u306e\u65b9\u6cd5\u3067\u30d3\u30eb\u30c9\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\ngit clone https:\/\/github.com\/accatyyc\/terminal-mines.git\ncd terminal-mines\ngit submodule init\ngit submodule update\nmake\n<\/pre>\n<p>OS X El Capitan\u3067\u30d3\u30eb\u30c9\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u5b9f\u884c\u65b9\u6cd5<\/h2>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\n.\/terminal-mines -w 20 -h 20 -m 0.5\n<\/pre>\n<p>\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u610f\u5473\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>--width: \u30b2\u30fc\u30e0\u76e4\u306e\u5e45<\/li>\n<li>--height: \u30b2\u30fc\u30e0\u76e4\u306e\u9ad8\u3055<\/li>\n<li>--mine-density: \u7206\u5f3e\u5bc6\u5ea6\u306e\u6307\u5b9a(0.0\u301c1.0)<\/li>\n<\/ul>\n<p>\u6b21\u306e\u3088\u3046\u306b\u64cd\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>hjkl: \u30ab\u30fc\u30bd\u30eb\u79fb\u52d5<\/li>\n<li>f or g: \u65d7\u3092\u7f6e\u304f<\/li>\n<li>,: \u30bf\u30a4\u30eb\u30aa\u30fc\u30d7\u30f3<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/03\/Is-2016-03-21-0.58.02.png\" alt=\"S 2016 03 21 0 58 02\" title=\"s 2016-03-21 0.58.02.png\" border=\"0\" width=\"744\" height=\"486\" \/><\/p>\n<p>\u7206\u5f3e\u3092\u30aa\u30fc\u30d7\u30f3\u3057\u306a\u3044\u3088\u3046\u306b\u9811\u5f35\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u958b\u767a\u8005\u306f\u30de\u30a4\u30f3\u30b9\u30a4\u30fc\u30d1\u30fc\u306e\u30b2\u30fc\u30e0\u30ed\u30b8\u30c3\u30af\u3092\u5b9f\u88c5\u3057\u305f<a href=\"https:\/\/github.com\/accatyyc\/libminesweeper\/\">libminesweeper<\/a>\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306e\u610f\u5473\u3092\u8fbc\u3081\u3066terminal-mines\u3092\u958b\u767a\u3057\u305f\u3068\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002\u30b2\u30fc\u30e0\u30ed\u30b8\u30c3\u30af\u306e\u5b9f\u73fe\u65b9\u6cd5\u306b\u95a2\u5fc3\u306e\u3042\u308b\u65b9\u306f\u3053\u3061\u3089\u3082\u53c2\u8003\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u3002\u307e\u305f\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5229\u7528\u3057\u305f\u30b2\u30fc\u30e0\u30dc\u30fc\u30a4\u7528\u306e\u5b9f\u88c5<a href=\"https:\/\/github.com\/rotmoset\/gb-mines\">gb-mines<\/a>\u3068\u3044\u3046\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3082\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30de\u30a4\u30f3\u30b9\u30a4\u30fc\u30d1\u30fc\u3068\u306f\u5730\u96f7\u539f\u304b\u3089\u5730\u96f7\u3092\u53d6\u308a\u9664\u304f\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u305f\u30d1\u30ba\u30eb\u30b2\u30fc\u30e0\u3002\u30b7\u30f3\u30d7\u30eb\u306a\u30b2\u30fc\u30e0\u306a\u304c\u3089Windows\u306b\u3082\u30d0\u30f3\u30c9\u30eb\u3055\u308c\u3066\u3044\u3066\u3001\u30bd\u30ea\u30c6\u30a3\u30a2\u306a\u3069\u3068\u3068\u3082\u306b\u9ad8\u3044\u77e5\u540d\u5ea6\u3092\u8a87\u3063\u3066\u3044\u307e\u3059\u3002 \u4eca\u56de\u7d39\u4ecb\u3059\u308b\u300cterminal-mi [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":36800,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[223,1703,1211],"class_list":["post-36802","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-game","tag-opensource","tag-terminal"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/36802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=36802"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/36802\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/36800"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=36802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=36802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=36802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}