This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#define WIDTH 5 | |
#define HEIGHT 3 | |
#define N_ROOMDATA 0x70 | |
int roomdata[N_ROOMDATA]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
部屋の内部に含まれる枠をA-Jで表す。ただし、入口と重なるときは*で表す。 | |
---------------------------------------------------------------- | |
マップ番号 : 1 | |
---------------------------------------------------------------- | |
BBBBB | |
B111B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
数値は[左, 上, 右, 下] の順で、部屋の1マス周りを表す | |
---------------------------------------------------------------- | |
マップ番号 : 1 | |
---------------------------------------------------------------- | |
部屋0: [8, 15, 38, 38] | |
部屋1: [3, 3, 9, 12] | |
部屋2: [53, 7, 60, 20] | |
部屋3: [52, 28, 60, 37] | |
部屋4: [4, 31, 9, 38] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
シューベル メンベルス ベルトーベン | |
マムル ○ ○ ○ | |
死の使い ○ ○ ○ | |
ギャザー ○ ○ ○ | |
ボウヤー ○ ○ × | |
ガマラ ○ ○ ○ | |
デブータ ○ ○ ○ | |
きり仙人 ○ ○ ○ | |
火炎入道 ○ ○ ○ | |
ミドロ ○ ○ ○ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
シレンが鈍足のとき: シレンは2ターンに1回行動 | |
シレンが鈍足でないとき: シレンは1ターンに1回行動 | |
シレンが倍速のとき: | |
倍速キャラは1ターンに1回行動 | |
等速キャラは2ターンに1回行動 | |
鈍足キャラは4ターンに1回行動 | |
シレンが倍速でないとき: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="ja"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
<title>チキン化ダメージテーブル</title> | |
<style type="text/css"> | |
table { | |
border : 1px black solid; | |
border-collapse : collapse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 : 1 | |
2 : 1 | |
3 : 1 | |
4 : 1 | |
5 : 2 | |
6 : 2 | |
7 : 2 | |
8 : 3 | |
9 : 3 | |
10 : 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'enumerator' | |
def shuffle_room(array) | |
(array.length-1).downto(0){| i | | |
x = rand(i+1) | |
next unless array[i] | |
next unless array[x] | |
array[i],array[x] = array[x],array[i] | |
} | |
array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def shuffle_room(array) | |
(array.length-1).downto(0){| i | | |
x = rand(i+1) | |
next unless array[i] | |
next unless array[x] | |
array[i],array[x] = array[x],array[i] | |
} | |
array | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
↓ → ↓ → ↓ | |
↓ ↑ ↓ ↑ ↓ | |
→ ↑ → ↑ ** | |
→ ↓ → ↓ ** | |
↑ ↓ ↑ ↓ ↑ | |
↑ → ↑ → ↑ | |