This month's game is finished!
I decided to go along with the optional theme on the One Game website and made a very simple, very short roguelike.
The premise is as follows: You're a rogue and have found yourself in a room with no doors or windows. Said room contains six chests and three traps. Your goal is to unlock all of the chests without dying, collecting whatever treasure is found within.
Sounds simple, right? It is. There is one small thing though - there's a one out of six chance that any given chest will be trapped. If it is, and you fail to disarm it...well, let's just say I don't envy your fate.
This is a typical retro-style roguelike, so the 'graphics' are ASCII. That is, everything is represented by a standard symbol. The rogue is 'R'. Chests are 'C' and 'c', for unopened and opened chests respectively. Traps are represented by 'T' and 't' (armed and disarmed). Finally, the walls are marked by the '#' symbol. Movement is done using the 'W, A, S, D' keys ( W - up, A - left, D - right, S - down).
As I mentioned in my previous blog post, this is the first game that I've done in C++. As such, it's only available as an exe file and can only be played on Windows (as far as I know).
The exe can be downloaded here and if you would like to have a look at the cpp file, you can find it here.
Any feedback would be greatly appreciated!
A huge thanks to any one who plays this game, gives feedback on the game and/or the code, and especially to 'Calalaera', who helped me with the code syntax and layout.
Showing posts with label roguelike. Show all posts
Showing posts with label roguelike. Show all posts
Sunday, 24 March 2013
Tuesday, 19 March 2013
1GAM Month Three
March's game is being done in C++ and is proving to be very educational. The more I work on it, the more I learn and the more comfortable I'm becoming with the code and syntax. Saying that, my bf is helping me and has basically walked me through everything, giving hints and suggestions to try to encourage me to think up the code with minimal "cheating".
Today we finally got the game pretty much up and running. I say "pretty much" because some things aren't coded in completely yet and there are of course a few bugs to work out. It works enough to have enabled me to get a screen shot of the game though.
The game is called "Chest Work", which is a pun/word play on the phrase "Guess work" and is a very basic old-school roguelike which uses ASCII characters to represent people and items. In this instance, 'R' is the rogue character, 'C' is a locked chest, 'c' is an opened chest, 'T' represents an armed trap, and 't' is an unarmed trap.
As the game starts you find yourself in a room which contains 6 chests and 3 traps all randomly placed around the room. Some chests are trapped, some are just merely locked. All contain treasure. You have 3 lives. Traps which you fail to disarm take away one life. Fail to disarm the trapped chest however and it's an automatic game over.
As of today, all that's left to do is the coding for the traps and bug zapping. With a bit of luck and some hard work, it'll be done by the weekend!
Today we finally got the game pretty much up and running. I say "pretty much" because some things aren't coded in completely yet and there are of course a few bugs to work out. It works enough to have enabled me to get a screen shot of the game though.
The game is called "Chest Work", which is a pun/word play on the phrase "Guess work" and is a very basic old-school roguelike which uses ASCII characters to represent people and items. In this instance, 'R' is the rogue character, 'C' is a locked chest, 'c' is an opened chest, 'T' represents an armed trap, and 't' is an unarmed trap.
As the game starts you find yourself in a room which contains 6 chests and 3 traps all randomly placed around the room. Some chests are trapped, some are just merely locked. All contain treasure. You have 3 lives. Traps which you fail to disarm take away one life. Fail to disarm the trapped chest however and it's an automatic game over.
As of today, all that's left to do is the coding for the traps and bug zapping. With a bit of luck and some hard work, it'll be done by the weekend!
Subscribe to:
Posts (Atom)
