|
Post by Lira on May 1, 2019 2:48:43 GMT
One of my personal coding projects recently has been to make a playable-from-your-command-line version of Trogdor!! The Board Game in Java. My original idea was to make it in Scratch, but I found it was a little too complex. I did make some nice prototype graphics and a mock-up of the interface, though. This version has no graphics, but if you look at the black-and-white console output below, you'll totally agree text is a worthy substitute. I've been tackling how best to represent the various game elements with data. In Java you can make classes with variables in them and create objects of those classes, so the game board is a five-by-five array of Tile objects, each of which has a type, a burninated boolean, and a list of Meeple objects that occupy that tile. Meeples have a class hierarchy, so Archer is a subclass of FighterMeeple, which is a subclass of Meeple. Sorry to get all meaningless-programming-speak on you, but I love this stuff. Here's how my program prints out the game board: See? Who needs graphics when you've got hyphens, plus signs, vertical pipes, and your imagination? The arrows around the archer indicate the way he's facing. Burninated tiles will say "Burninated!" on the bottom. I haven't gotten to implement the actual gameplay yet, but I imagine it'll be through a menu system. Although a command system ( > move northeast) would be cool and allow for all kinds of Easter eggs. So that's one of my many unfinished Homestar Runner fanstuffs! I'm continually working on it, so maybe someday it'll become a finished Homestar Runner fanstuff!
|
|
|
Post by Gfdgsgxgzgdrc on May 3, 2019 23:01:10 GMT
Great graphics! That is astonishingly cool! You are truly a great codem'n.
|
|
|
Post by Lira on Jul 18, 2019 19:01:32 GMT
I still haven't gotten very far into coding the game yet, but yesterday I threw together a function in Python that you can pass a movement path (like 'eessw' for East-East-South-South-West) and it'll print an ASCII visualization of the path. It's kind of cool. I might use it for Movement cards. It works with really crazy paths that aren't in the game, too, though it can look a little weird if it starts crossing over itself a lot. You could probably make some Etch-a-Sketch-style art with it if you were so inclined.
|
|
|
Post by Gfdgsgxgzgdrc on Jul 18, 2019 23:23:32 GMT
That's super cool! I would never have any idea how to do anything like that. 'Tis quite impressive, I say.
|
|
|
Post by Gfdgsgxgzgdrc on Jul 19, 2019 3:09:41 GMT
By the way, can I use the graphics from your Scratch mock-up? I think that idea has potential, and I thought I'd give it a try. (I can't guarantee I'll end up completing it, but if not, the result will most likely be posted on my side account.)
|
|
|
Post by Lira on Jul 19, 2019 20:35:58 GMT
Totally! Have at them! Can't wait to see what you come up with. Also, thank you twice!
|
|
|
Post by Gfdgsgxgzgdrc on Jul 23, 2019 3:26:50 GMT
|
|
|
Post by Lira on Jul 24, 2019 23:56:45 GMT
Whoa dang whoa! That looks awesome! It's everything I'd originally envisioned magically come to life ('cept for some little animations I'd planned to sprinkle in for fun). Makes me want to try making some more artwork for it sometime. Great jorb! Keep on developinating! GAMEPLAY'D!! Ow, my mock-up!
|
|
|
Post by Gfdgsgxgzgdrc on Jul 27, 2019 23:34:24 GMT
Whoa dang whoa! That looks awesome! It's everything I'd originally envisioned magically come to life ('cept for some little animations I'd planned to sprinkle in for fun). Makes me want to try making some more artwork for it sometime. Great jorb! Keep on developinating! GAMEPLAY'D!! Ow, my mock-up! Thanks a lot! (Yeah, I was considering adding some little animations here and there, but I haven't gotten to that stage yet.) Feel free to make as much or as little artwork as you want! I already did all the burninated tiles and bad guys, but you can try them yourself if you want to make 'em better. Also, tell me if you have any suggestions! It's your idea, after all.
|
|