# Introduction
Build Your Own World (BYOW): a pseudorandom 2D world generator with the functionality of players being able to to navigate and interact with the world. The player can choose the seed by entering in a series of numbers along with their avatar icon. This project was a part of my CS 61B, Data Structures, course at UC Berkeley.
The player can create a new world or load an old world if it exists. If the player loads an old world, the world will be in the exact same state as the player previously left it.
# Images
## Menu
The main and avatar icon menus, displaying the available options along with the letter to press on the keyboard that corresponds to each option.
![main menu](images/menu.png "Main Menu")
![avatar menu](images/avatar_menu.png "Avatar Menu")
## Other
The player can enter a number for the seed. Since the world is pseudorandomly generated, entering the same seed will return the same world. The player can also see the numbers that they have entered thus far.
![seed](images/enter_seed.png "Entering Seed")
This is how the world looks like with the seed 4891014, and after one interaction with the world. The top left world displays the type of tile that the mouse is hovering over. The avatar is the default icon and it has interacted with one of the yellow tiles, which brings the player to a memory game. The game consists of the screen flashing an increasing number of letters that then disappears and the player must recall them correctly. If the player wins x number of rounds, which is shown at the initial launch of the game, then the player will leave behind a pseudorandomly determined tile after every move.
![changed world](images/changed.png "Changed World State")
没有合适的资源?快使用搜索试试~ 我知道了~
my_world:建立自己的世界(BYOW):伪随机2D世界生成器,具有玩家能够导航和与世界互动的功能。 玩家可以通过输入一系列...
共67个文件
class:25个
java:23个
xml:7个
5星 · 超过95%的资源 需积分: 42 10 下载量 91 浏览量
2021-02-15
04:07:00
上传
评论 1
收藏 146KB ZIP 举报
温馨提示
介绍 建立自己的世界(BYOW):伪随机2D世界生成器,具有玩家能够导航和与世界互动的功能。 玩家可以通过输入一系列数字以及其头像图标来选择种子。 该项目是我在UC Berkeley的CS 61B“数据结构”课程的一部分。 如果存在,玩家可以创建一个新世界或加载一个旧世界。 如果玩家加载旧世界,则该世界将处于与玩家先前离开的世界完全相同的状态。 图片 菜单 主图标和头像图标菜单,显示可用选项以及对应于每个选项的在键盘上按下的字母。 其他 玩家可以输入种子编号。 由于世界是伪随机生成的,因此输入相同的种子将返回相同的世界。 玩家还可以看到他们到目前为止输入的数字。 这就是种子4891014以及与世界互动后的样子。 左上方的世界显示了鼠标悬停在其上的图块类型。 化身是默认图标,并且已与黄色图块之一互动,这使玩家进入了记忆游戏。 游戏包括屏幕闪烁的越来越多的字母,然后消失,并且玩家必须正确地回
资源详情
资源评论
资源推荐
收起资源包目录
my_world-main.zip (67个子文件)
my_world-main
images
changed.png 54KB
enter_seed.png 9KB
menu.png 7KB
avatar_menu.png 18KB
out
production
proj3
.idea
uiDesigner.xml 9KB
misc.xml 271B
vcs.xml 235B
modules.xml 250B
encodings.xml 159B
workspace.xml 20KB
libraries
javalib.xml 485B
byow
lab13
MemoryGame.class 4KB
Core
RandomUtils.class 8KB
Avatar.class 4KB
Main.class 955B
load.txt 10B
Engine.class 9KB
MemoryGame.class 4KB
WorldGenerator$Node.class 1KB
WorldGenerator.class 5KB
lab12
labAns.class 2KB
labAns$Hex.class 708B
HexWorldTest.class 500B
BoringWorldDemo.class 1KB
project3prep.md 2KB
RandomWorldDemo.class 2KB
HexWorld.class 2KB
TileEngine
TETile.class 4KB
TERenderer.class 3KB
Tileset.class 2KB
InputDemo
StringInputDevice.class 813B
KeyboardInputSource.class 880B
DemoInputSource.class 2KB
RandomInputSource.class 751B
InputSource.class 179B
InputTranslation
StringInputSource.class 2KB
KeyboardInputSource.class 2KB
InputSource.class 186B
README.md 249B
proj3.iml 484B
byow
lab13
MemoryGame.java 4KB
Core
RandomUtils.java 19KB
Avatar.java 6KB
MemoryGame.java 5KB
load.txt 10B
WorldGenerator.java 8KB
Main.java 731B
Engine.java 14KB
lab12
labAns.java 2KB
project3prep.md 2KB
RandomWorldDemo.java 2KB
HexWorldTest.java 147B
HexWorld.java 3KB
BoringWorldDemo.java 1KB
TileEngine
Tileset.java 2KB
TERenderer.java 5KB
TETile.java 7KB
InputDemo
DemoInputSource.java 1KB
KeyboardInputSource.java 711B
InputSource.java 155B
StringInputDevice.java 465B
RandomInputSource.java 474B
InputTranslation
KeyboardInputSource.java 2KB
InputSource.java 156B
StringInputSource.java 1KB
README.md 2KB
proj3.iml 484B
共 67 条
- 1
韦先波
- 粉丝: 72
- 资源: 4678
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1