This is a sensational source of information for any C# roguelike dev
This is a sensational source of information for any C# roguelike dev
This is a totally brilliant article on building a roguelike PCG dungeon in C# – just excellent:
As this blog is about web development, rouguelikes and mobile dev – here’s a great podcast focussing on mobile rogue likes. Ok so there’s no real development specific content, but its a great overview of cool mobile rogue likes.
So you may have noticed I entered the 7drl (7 day roguelike comp) this year – a comp to write a game in 7 days. It’s actually not a lot of time to write a game and given work and home commitments – its really really not very long. Anyway I wrote a crazy game called Rogue Coder using JS, HTML5 and MVC4. The end product is here www.domssite.com/roguecoder
So uberhunter is reviewing all games in the 7drl on youtube and he just reviewed roguecoder. It’s a fair stressful experience watching your game (warts and all) get a review from such a guy.
here it is http://www.youtube.com/watch?v=eEaPH34DxxE
The value of a review like this is priceless. Its a great way to look at your game through the eyes of an independent and experienced player. It’s hard to watch at times because I keep thinking “I really wish I had fixed that bug”. It’s also hard to watch a review like this because you are not there to guide and advise, and you are not there to explain the things that you have in your head but never quite got the time to either fix or document . I think I have taken some a few important lessons:
1. Ensure core game play works (the bugs with the compiler actually stop the game from being playable).
2. Watch the way someone else plays the game and look at their actions and strategies to determine ways to make the game more playable, robust and enjoyable.
V2 of course stay stay tuned here in the next few weeks. Of course a big thank you to uberhunter for the review
I come from the age when text adventures were serious fun, ZORK and Hitchhikers guide to the galaxy were two of my favourite text adventures. OK so maybe the golden age of the text adventure is still stuck in the 1980’s but I still remember those glory days. So the game I am building is certainly not up there in the same territory as ZORK but I hope you can see the sort of cool things you can do with Js/Jquery and HTML 5.
The game is pretty simple use the N,S,E and W to move around the dungeon and a few other useful commands. Search for the Dragon and if you have the right weapon and equipment you may be able to kill it. If you use a mobile browser you should see some buttons that make life a little easier than using a little virtual keyboard.
Here is the game : http://domssite.com/search/
Who is this for
How to use the tutorial
Its not an ordinary tutorial so you need to accept that first. Its based on reading and understanding code and code comments. I have used heaps of comments throughout the code to explain whats going on. There’s a lot of Arrays, so you’ll see lots of code using arrays and its not a bad starting place for working with js structures. The whole tutorial is 1 single file – whilst a single large file is not the best way to build large web apps – its not a bad approach showing everything in one file.
<!--Text Adventure : Search for the Dragon --> <!--***************************************** Text Adventure - A JS/JQuery/HTML5 Tutorial by comments The game : Standard Text Aventure where you can move from room to room, collecting items and killing monsters Goal is to get to the final room of the dungeon and kill the dragon Start in room 1 Monsters dont move Monsters can be killed by certain weapons Should work in both mobile and non-mobile browsers History : 0.1 Initial version before Hilary's comments/advice ***************************************** --> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Search</title> <script src="Scripts/jquery-1.7.1.min.js"></script> <link href="Content/Site.css" rel="stylesheet" /> </head> <body> <div class="content"> <style> </style> <div id="screenContainer"> <div id="display"> <div id="input"> <form> <!--Screen Title--> <h1>Search... </h1> <!--Screen Sub-Title--> <h3>For a Dragon...Text Adventure Game by @DungeonBard </h3> <div id="GameOverDiv"> </div> <div id="GameDiv"> <!--The following div is hidden or shown depending on if its a non-mobile browser--> <div id="Keyboard"> <label>Command:</label> <input type="text" name="userInput" class="buttonMod" id="userInput" /> </div> <!--The following div is hidden or shown depending on if its a mobile browser--> <div id="controllers"> <!--We use a table for the simple alignment of the buttons--> <table> <tr> <td></td> <td> <input type='button' class='button' value='N' title="North" style="left: 200px" /></td> <td></td> </tr> <tr> <td> <input type='button' class='button' value='W' title="West" /></td> <td></td> <td> <input type='button' class='button' value='E' title="East" /></td> </tr> <tr> <td></td> <td> <input type='button' class='button' value='S' title="South" /></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> </tr> <tr> <td> <input type='button' class='button' value='P' title="Pickup" /></td> <td> <input type='button' class='button' value='A' title="About" /></td> <td> <input type='button' class='button' value='?' title="Help" /></td> </tr> </table> </div> </div> <div id="output"></div> </form> </div> </div> </div> </body> </html>
Are the bugs
Yep – Totally , lots that the point – we’ll start cleaning them up in the next version
I’ll add in a series of improvements in version 2 of this game.
Source Control link
I started doing some reviews for this years 7drl but ran out of time and ended up realising that someone is doing a much better job than me on this front so I gave up – but the fruits of this guys work is just brilliant. The cool thing about the review is this includes a walkthrough of the game – Ok so he hasn’t reviewed RogueCoder yet but thats all cool – I’ll let you know (good or bad)!!!
just look at any recent ones titled 7drl 2013
Ok this is a fairly crazy game – I built in 7 days (actually would end up to be about 20 -30 hours) with a lack of sleep – if you have a chance to have a play – let me know your thoughts – big thanks to Scott Hanselman for letting me use him as a main character. I’ll publish the code soon
Just doing some reviews this is the first game i have come across by slash and its seriously cool – great old school rogue-like with very cool IRC feature where I got to chat with the dev – SLASH. Its an excellent game with classic rogue-like features and cool shading effects!!! Also for HTML/JS people this is a great example of what you can do (also includes Websockets – SLASH told me).
Not sure how many I’ll get to but this was a great start.
Cool game http://slashware.net/rodney/
I have just finished (well sunday) my 7 Day Roguelike game. Its an annual comp that requires you to build a game in 7 days. I’ll send some more details out soon and if you would like to play with it test it great. It was built in HTML5, JS, C#,ASP.NET MVC4. I’ll also add the git source control. Big thanks to Scott Hanselman for agreeing to be a character in it.