Skip to content

Navigation Menu

Sign in
Sign up
This repository was archived by the owner on Apr 26, 2023. It is now read-only.

実装見本

Kasugaccho edited this page Aug 23, 2019 · 3 revisions

見本

Maze.hpp

#include <utility> //必要なヘッダーを記入
/* 関数など定義自由 */
class Maze {
public:
 /* メンバ関数など定義自由 (メンバ変数の使用は非推奨) */
 template<typename Matrix>
 void draw(Matrix& matrix /* その他必要な引数 */) const {
 /* 中身 */
 }
};

Main.cpp

#include "Maze.hpp"
#include <array> //必要なヘッダーを記入
int main() {
 std::array<std::array<int, 32>, 24> matrix;
 Maze maze;
 maze.draw(matrix /*その他必要な引数*/);
 /* 出力をここへ書く */
 return 0;
}

実装手順書

[未実装]

地形

ダンジョン

図形

[実装済]

Simple Voronoi Island

Simple Cellular Automaton Island

Simple Biome Island

Biome Island

Fractal Island

Chunk Island

Simple Diamond Square Average Island

Simple Diamond Square Average Island Corner

RogueLike

Simple RogueLike

Maze Dig

RogueLike Cave

DungeonInit

Border

BorderOdd

PointGrid

PointGridField

PointGridFieldPutBlock

Reversi

Chess

Mountain

Pen

Bucket

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /