Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 103 104 [105] 106 107 ... 796

Author Topic: if self.isCoder(): post() #Programming Thread  (Read 902707 times)

justinlee999

  • Bay Watcher
  • Unflappably FABULOUS
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1560 on: February 17, 2012, 08:34:56 am »

I ordered a softcover copy of "Learn Python the Hard Way", then they started printing it, and shipped to me on February 1st. With around 7-21 days. I had a good feeling it would arrive on Valentine's Day, and when my dad got out of the house he gave me a package containing the lovely book.

Unfortunately the book is a little bit damaged (white lines on the edges, a scratch or two, etc.) which wouldn't be a big deal if I wasn't so OCD about it, staring into it.

Anyway, I can see "January 21, 2012" on the first page of my book, guess they printed it on that day, but that is strange since they said they are printing the book when I ordered and I ordered it on January 26th... meh, who cares, perhaps they anticipated my order? :V

In retrospect though, I kind of feel bad for my wallet for buying this book since the HTML edition is completely free, and there is hardly any new content, but hey, support the author and novelty I guess. :)
« Last Edit: February 17, 2012, 08:43:34 am by justinlee999 »
Logged

MorleyDev

  • Bay Watcher
  • "It is not enough for it to just work."
    • View Profile
    • MorleyDev
Re: if self.isCoder(): post() #Programming Thread
« Reply #1561 on: February 17, 2012, 04:39:14 pm »

Interview went well. As it was for a coding job, they gave us a little puzzle. Apparently only two people they interviewed have ever come up with how to solve it, and one of them was me :D May wind up in London it seems...
Logged

Levi

  • Bay Watcher
  • Is a fish.
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1562 on: February 17, 2012, 04:40:37 pm »

Interview went well. As it was for a coding job, they gave us a little puzzle. Apparently only two people they interviewed have ever come up with how to solve it, and one of them was me :D May wind up in London it seems...

Nice!  Congrats.  :)
Logged
Avid Gamer | Goldfish Enthusiast | Canadian | Professional Layabout

Stargrasper

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1563 on: February 17, 2012, 04:41:21 pm »

Interview went well. As it was for a coding job, they gave us a little puzzle. Apparently only two people they interviewed have ever come up with how to solve it, and one of them was me :D May wind up in London it seems...

Well done.  What was the puzzle?
Logged

MorleyDev

  • Bay Watcher
  • "It is not enough for it to just work."
    • View Profile
    • MorleyDev
Re: if self.isCoder(): post() #Programming Thread
« Reply #1564 on: February 17, 2012, 04:46:06 pm »

Basically you had a grid of specific size and starting from any position at the far right you can only move to the right (going up or down one in the process). You had to come up with an algorithm to detect all possible paths. Maybe that only two have solved it speaks to the programming skill of most undergraduate computer science students...or maybe I'm just amazing :D
Logged

Aqizzar

  • Bay Watcher
  • There is no 'U'.
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1565 on: February 17, 2012, 04:47:48 pm »

Basically you had a grid of specific size and could only move in certain ways, and had to come up with an algorithm to detect all possible paths. Maybe that only two have solved it speaks to the programming skill of most undergraduate computer science students...or maybe I'm just amazing :D

How amenable are they to brute forcing it?  Because I wrote a basic "Can I move here?" AI for my roguelike experiment with nothing more complicated than an if-ladder.  Heck, I can't even think of a simpler way to do it.

Oh wait, it's pathfinding, not collision detection.  Well, nevermind, but I could still probably do it if I had longer than an interview.
Logged
And here is where my beef pops up like a looming awkward boner.
Please amplify your relaxed states.
Quote from: PTTG??
The ancients built these quote pyramids to forever store vast quantities of rage.

nenjin

  • Bay Watcher
  • Inscrubtable Exhortations of the Soul
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1566 on: February 17, 2012, 05:12:46 pm »

Quote
None of them are fantastically complicated games (maybe E.Y.E.), all of them have very distinct and memorable styling, and they were mostly made by very small teams.  With the magic of digital payment and distribution, you can get away with titles that are basically slick retreads of foundational game principles, built on a crazy motif, and sell it for a couple bucks because you no longer have to worry about finding and filling commercial shelf space.

By the same token, just go look at the list of ~$5 games that aren't triple A, that don't enjoy Terraria-levels of success. It's huge. A game being simple and cost-effective is no guarantee, it's got to capture the imagination of the public as well.

I kind of decided that I'm going to make no effort toward a real game until I've produced my own indie project, myself, without a team supporting me. Anything beyond that seems like stretching for someone that has no practical coding experience. (Can you count the # of self-starts we've seen around here, where people literally have money to burn and that's the only thing they bring to the table?)
« Last Edit: February 17, 2012, 05:23:54 pm by nenjin »
Logged
Cautivo del Milagro seamos, Penitente.
Quote from: Viktor Frankl
When we are no longer able to change a situation, we are challenged to change ourselves.
Quote from: Sindain
Its kinda silly to complain that a friendly NPC isn't a well designed boss fight.
Quote from: Eric Blank
How will I cheese now assholes?
Quote from: MrRoboto75
Always spaghetti, never forghetti

Levi

  • Bay Watcher
  • Is a fish.
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1567 on: February 17, 2012, 05:17:54 pm »

I kind of decided that I'm going to make no effort toward a real game until I've produced my own indie project, myself, without a team supporting me. Anything beyond that seems like stretching for someone that has no practical coding experience. (Can you count the # of self-starts we've seen around here, where people literally have money to burn and that's the only thing they bring to the table?)

To be honest I think this is the most reasonable way to go.
Logged
Avid Gamer | Goldfish Enthusiast | Canadian | Professional Layabout

fergus

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1568 on: February 17, 2012, 05:44:48 pm »

Basically you had a grid of specific size and starting from any position at the far right you can only move to the right (going up or down one in the process). You had to come up with an algorithm to detect all possible paths. Maybe that only two have solved it speaks to the programming skill of most undergraduate computer science students...or maybe I'm just amazing :D
Did you mean "can only move to the left"?
What does "detect all possible paths" mean? List them? Count them? Find every square that can be reached?
Logged
BY THE GODS! THIS QUOTE MADE MY SIG BOX HAVE A SCROLL BAR! HAPPY DAYS INDEED!
BY THE GODS! YOU HAVE TOO MANY SIGS!

MorleyDev

  • Bay Watcher
  • "It is not enough for it to just work."
    • View Profile
    • MorleyDev
Re: if self.isCoder(): post() #Programming Thread
« Reply #1569 on: February 17, 2012, 06:26:22 pm »

Basically you had a grid of specific size and starting from any position at the far right you can only move to the right (going up or down one in the process). You had to come up with an algorithm to detect all possible paths. Maybe that only two have solved it speaks to the programming skill of most undergraduate computer science students...or maybe I'm just amazing :D
Did you mean "can only move to the left"?
What does "detect all possible paths" mean? List them? Count them? Find every square that can be reached?

*head desk* That would be the result of me trying to give the idea without specifics, rewriting the same sentence until every version is one massive muddle in my brain and I don't know what I wrote -_- And you start on the left and can only move right.

I recursively iterated along and created a tree of every path stored and that was apparently adequate.
« Last Edit: February 17, 2012, 06:32:42 pm by MorleyDev »
Logged

Urist McScoopbeard

  • Bay Watcher
  • Damnit Scoopz!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1570 on: February 17, 2012, 07:51:05 pm »

Right, so I was directed here from 'that other programming thread' to get some help using c++ and libtcod to program a basic rl. 1st Q.) what do I need to know about the base language to reliably program this? 2nd.) are there any tutorials dealing with this? 3rd and final.) Is there anything else I need to know?
Logged
This conversation is getting disturbing fast, disturbingly erotic.

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1571 on: February 17, 2012, 07:57:41 pm »

Well to start with, how good are you with c++? Is this a language you are used to?

Urist McScoopbeard

  • Bay Watcher
  • Damnit Scoopz!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1572 on: February 17, 2012, 08:03:39 pm »

To some extent, Its the only ive learned (and im using that term liberally) and ive written some basic programs with it, although I have no experience with libtcod.
Logged
This conversation is getting disturbing fast, disturbingly erotic.

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1573 on: February 17, 2012, 08:08:40 pm »

Are you suuuure you want to jump right into making a game with libtcod? I think you should really have a handle on c++ before you go so far as to something like a roguelike with it.

Also, it is never too late to pick up a new language. Libtcod has implementations in c# and python as well, both easier to pick up, so you will be making roguelikes more quickly in either.

nenjin

  • Bay Watcher
  • Inscrubtable Exhortations of the Soul
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1574 on: February 17, 2012, 08:12:49 pm »

I kind of agree with the lizard. If you can make a crappy RL in C++ that prints stuff to screen, libtcod will be easier to get a handle on.

And even just programming a pretty deep non-graphical game in C++ can teach you a lot about the language.
Logged
Cautivo del Milagro seamos, Penitente.
Quote from: Viktor Frankl
When we are no longer able to change a situation, we are challenged to change ourselves.
Quote from: Sindain
Its kinda silly to complain that a friendly NPC isn't a well designed boss fight.
Quote from: Eric Blank
How will I cheese now assholes?
Quote from: MrRoboto75
Always spaghetti, never forghetti
Pages: 1 ... 103 104 [105] 106 107 ... 796