项目作者: d471061c

项目描述 :
Dungeon Generator
高级语言: Java
项目地址: git://github.com/d471061c/DungeonViz.git
创建时间: 2018-09-09T13:42:08Z
项目社区:https://github.com/d471061c/DungeonViz

开源协议:MIT License

下载


DungeonViz

Build Status
Javadocs
License

What is DungeonViz?

DungeonViz is an application which produces a random dungeon using Prim’s algorithm.

How to use

DungeonViz is written in java. To run this software you can use the following command:

  1. $ java -jar DungeonViz-1.0-SNAPSHOT.jar
  2. DungeonViz, beta version
  3. -r, --rooms amount of rooms, default = 5
  4. -w, --width width of rooms, default = 20
  5. -h, --height height of rooms, default = 20
  6. -sx, --spreadX spread in x direction of rooms, default = 50
  7. -sy, --spreadY spread in y direction of rooms, default = 50
  8. -fs, --fixedSize whether or not the size of the rooms are fixed, default = true

Example usage:

  1. $ java -jar DungeonViz-1.0-SNAPSHOT.jar -r 9 -sx 100 -sy 100
  2. ##########
  3. #........#
  4. #........#
  5. #........#
  6. #########........#
  7. #................#
  8. #.#######........#
  9. #.# #........#
  10. #.# #........#
  11. #.# ##########
  12. #.#
  13. #.#
  14. #.#
  15. #.#
  16. #.#
  17. #.#
  18. #.#
  19. #.#
  20. #.#
  21. #.#
  22. #.#
  23. #.#
  24. #.#
  25. #####.####
  26. #........# ##########
  27. #........# #........#
  28. #........# ########## #........#
  29. #........#########........# #........#
  30. #.........................# #........#####################
  31. #........#########........# #............................#
  32. #........# #........######........###################.#
  33. #........# #......................# #.#
  34. ########## #........######........# #.#
  35. #........# #####.#### #.#
  36. #........# #.# #.#
  37. ########## #.# ########## #.#
  38. #.# #........# #.#
  39. #.# #........# #.#
  40. #.# #........# #.#
  41. #.######........# #.#
  42. #...............# #.#
  43. ########........# #.#
  44. #........# #.#
  45. #........# #.#
  46. ########## #.#
  47. #.#
  48. #.#
  49. #.#
  50. #.#
  51. #.#
  52. #.#
  53. #.#
  54. #.# ##########
  55. #.# #........#
  56. #.# #........#
  57. #.# #........#
  58. #.########........#
  59. #.................#
  60. #.########........#
  61. #.# #........#
  62. #.# #........#
  63. #.# ##########
  64. #####.####
  65. #........#
  66. #........#
  67. #........#
  68. ################........#
  69. #.......................#
  70. #.##############........#
  71. #.# #........#
  72. #.# #........#
  73. #.# #####.####
  74. #.# #.#
  75. #.# #.#
  76. #.# #.#
  77. #.# #.#
  78. #####.#### #.#
  79. #........# ##.#######
  80. #........# #........#
  81. #........# #........#
  82. #........# #........#
  83. #........# #........#
  84. #........# #........#
  85. #........# #........#
  86. #........# #........#
  87. ########## #........#
  88. ##########