-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code review on raptor game version 2. #70
Comments
I've opened a branch with code changes starting at mrhmouse/the-red-spider-project@e9a77df for code review. I'll try to keep my commits very small so that it's obvious what I'm changing and why. Feel free to comment on any of the commits if you have improvements over my approach. I'm not making any major changes to the code such as moving it into a class or adding support for localization; I'm just making minor adjustments. |
I've now made major changes to the code (moved the game into a class). However, each commit itself is pretty small, so hopefully my changes will be obvious. I removed the calls to From the room-author's perspective, nothing has changed. From the player's perspective, you now use numbers instead of letters to choose options. It would be trivial to swap back to using letters, if that's preferred. |
Looks good, and I can see what's going on. How do I pull your changes backinto my version so that I can edit them? I'm using the command line git, not the github app. |
I'm not at my machine right now, but I think you can do this:
Sorry if the formatting is off, I'm on my phone. |
It works totally fine on OS X, except for the problem with Some random remarks:
|
@jgonggrijp |
I have now also tested the raptors game (latest commit) on Windows 7, and with a minor tweak it works like a charm. Without the tweak, I got this:
The reason for that crash is that |
Hello everyone,
I started work on the second version of my raptor game today.
Here's the idea behind it:
You play in a normal text based adventure game with a huge tree of options.
Every time there is an option that isn't complete, you can add something there. The whole thing is backed by a wiki, so it's easy to contribute and rollback spam.
I made it in a couple of hours, but I'm looking for some code review. After that, it'll mostly be story :)
I'm looking for any suggestions, but especally issues with cross-platform compatibility.
Thanks,
Wesley.
P.S.
If you feel like adding to the wiki, that's great!
Just clone
https://github.com/WesleyAC/the-red-spider-project.wiki.git
The text was updated successfully, but these errors were encountered: