https://github.com/markus1189/traveller
https://github.com/markus1189/traveller
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/markus1189/traveller
- Owner: markus1189
- Created: 2014-09-14T07:48:43.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-14T08:52:19.000Z (almost 12 years ago)
- Last Synced: 2025-02-02T04:43:53.267Z (over 1 year ago)
- Language: Haskell
- Size: 129 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
[[9/10/2014] Challenge #179 [Intermediate] Roguelike - The traveller](http://www.reddit.com/r/dailyprogrammer/comments/2g1c80/9102014_challenge_179_intermediate_roguelike_the/)
Description:
So I was fooling around once with an idea to make a fun Rogue like
game. If you do not know what a Rogue Like is check out Wikipedia
Article[1] on what it is about.
I got this really weak start at just trying to generate a more
graphical approach than ASCII text. If you want to see my
attempt. Check out my incomplete project FORGE[2]
For this challenge you will have to develop a character moving in a
rogue like environment. So the design requirements.
- 1 Hero character who moves up/down/left/right in a box map.
- Map must have boundary elements to contain it --
Walls/Water/Moutains/Whatever you come up with
- Hero does not have to be a person. Could be a spaceship/sea
creature/whatever - Just has to move up/down/left/right on a 2-D
map
- Map has to be 20x20. The boundary are some element which
prevents passage like a wall, water or blackholes. Whatever fits
your theme.
- Your hero has 100 movement points. Each time they move
up/down/left/right they lose 1 movement points. When they reach
0 movement points the game ends.
- Random elements are generated in the
room. Gold. Treasure. Plants. Towns. Caves. Whatever. When the
hero reaches that point they score a point. You must have 100
random elements.
- At the end of the game when your hero is out of movement. The
score is based on how many elements you are able to move to. The
higher the score the better.
- Hero starts either in a fixed room spot or random spot. I leave
it to you to decide.
input:
Some keyboard/other method for moving a hero up/down/left/right and
way to end the game like Q or Esc or whatever.
output:
The 20x20 map with the hero updating if you can with moves. Show how
much movement points you have and score.
At the end of the game show some final score box. Good luck and have
fun.
Example:
ASCII Map might look like this. (This is not 20x20 but yours will be 20x20)
% = Wall
$ = Random element
@ = the hero
A simple dungeon.
%%%%%%%%%%
%..$.....%
%......$.%
%...@....%
%....$...%
%.$......%
%%%%%%%%%%
Move: 100
Score: 0
Creative Challenge:
This is a creative challenge. You can use ASCII graphics or bmp
graphics or more. You can add more elements to this. But regardless
have fun trying to make this challenge work for you.