サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
都知事選
www.nmattia.com
August 19, 2016 Last week a friend of mine asked me how I would implement the game 2048 in Java (at least the update logic) and we gave it a try. It went something like this: So we need to represent the grid. I guess int[][] will do. Is this going to be an array of rows, or an array of columns? Either way we’ll need to stick to it. huh Actually, it’ll be a sparse array, because not every cell will
このページを最初にブックマークしてみませんか?
『www.nmattia.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く