Development > Incubator
practicerl - A Practice Roguelike for me practice with!
doulos05:
I like roguelikes, and so I want to try creating one. At first, I'll simply be following the libtcod for python tutorial to get a hang of how this works. But, due to technical errors (errors which cost me a grand total of 4.5 hours of coding time spent staring at various g++ compiler errors going "********* THIS IS WHY I USE INTERPRETED LANGUAGES!") it will be implemented in Python 3.4.3 using just the builtin curses library.
I fully expect that to lead to all kinds of... fun when I get to things like A*, FOV, and level creation, but that's the limitations imposed by my dev environment. On a related note, if anybody has experience getting libtcod, cffi, and/or tdl to install on a 64 bit Chromebook and would like to share that with me, I'd be most grateful if you could pass that wisdom on.
https://github.com/jonathanabennett/practicerl
Right now, this repo just has my curses test to ensure curses would even work using a CodeAnywhere container, and a readme describing in more detail just what I'm hoping to accomplish. Feedback is welcome, but anybody telling me to try another language will be ignored. I'm doing this as a hobby for fun in my free time. My day job already has me learning Javascript. Until I learn that, I'm not going to try picking up Ruby, Java, or (God forbid) C++ so I can do a fun hobby in my free time. And I'm not implementing anything as complex as a Roguelike in Javascript. I'd rather beat my brains out with a large hammer.
Krice:
--- Quote from: doulos05 on June 05, 2016, 12:20:25 PM ---which cost me a grand total of 4.5 hours of coding time spent staring at various g++ compiler errors
--- End quote ---
Why did you stare at compiler errors for 4.5 hours?
doulos05:
--- Quote from: Krice on June 05, 2016, 12:50:13 PM ---
--- Quote from: doulos05 on June 05, 2016, 12:20:25 PM ---which cost me a grand total of 4.5 hours of coding time spent staring at various g++ compiler errors
--- End quote ---
Why did you stare at compiler errors for 4.5 hours?
--- End quote ---
Well, first cffi wouldn't compile because my g++ wasn't up to date. Then tdl wouldn't compile because the correct SDL libraries weren't installed. Then libtcod wouldn't compile because 32bit vs. 64bit. So I switched to pygame and pygcurses for Windows compatibility. Which promptly refused to compile to Python3, though it happily did so for python2.7. At this point, I was about to throw in the towel completely when I read that codeanywhere gives you an SSH term inside your browser, meaning I can do it all from inside Chrome on my chromebook.
doulos05:
I've got code up to implementing the map created. If someone was feeling really generous and wanted to have a look at it and let me know what they thought, I'd appreciate it. Quick note though, this is literally the first time someone I don't know has looked at code I've written. Please be nice, I'm looking for actionable criticism like "When I do (x), I usually do it this way." Rather than just "That's a pretty crappy way to do (x), what were you thinking?!"
AgingMinotaur:
Is it possible you tried to install Pygame for Python 2.7 on top of a Python 3 installation? There is a separate archive for compatability with Python 3. Also, if you're on Linux, shouldn't you be able to do something like "apt-get install python-pygame"?
On a lighter note, if you haven't already stumbled upon it, I always found this little article to be inspirational (but not to be taken literally, of course).
As always,
Minotauros
Navigation
[0] Message Index
[#] Next page
Go to full version