86ä¸ä»£ã®æ¹ãã¡ããã¹ãæéä¸ã«ã©ã¤ãã²ã¼ã ã®å®è£ ããã¦ããã®ã§ãã®ããã¼ã ãªã¼ã¨æããããã¦ã¿ã¦ãã¾ãããæã«ãªã£ãã®ã§Rubyã§ãã£ã¦ã¿ãã¼ã®å·»ã詳ããåé¡è¨å®ãªã©ã¯ä¸è¨ ã©ãæ¸ãï¼ã©ãæ¸ãï¼org Wikipedia:ã©ã¤ãã²ã¼ã - Wikipedia å®è£ ãªãã ãendã¾ããã«ãªã£ã¦ãã¾ããï¼Â´ã»Ïã»ï½ï¼ require "curses" class Cells attr_reader :height, :width def initialize(height, width) @height = height @width = width @array = Array.new(height + 2) { Array.new(width + 2, 0) } end def []=(i,j,x) @array[i + 1][j + 1]=x end def [](i, j) @ar
{{#tags}}- {{label}}
{{/tags}}