Jump to content
  • Advertisement

techguitar

Member
  • Content Count

    13
  • Joined

  • Last visited

Everything posted by techguitar

  1. Hey I have a month long break from university and I plan to start on game programming. (I have only programmed a 'hangman' game in python before.) Please suggest me a book that I can refer to start game programming because I have no clue where to pick up from. I have experience in Python 2.7 and Turbo C++. Looking forward to working with C# (no experience with it though) Your advise will be appreciated
  2. techguitar

    Book for game programming

    Any comments on this link : http://www.freewebs.com/campelmxna/tutorials.htm I am reading it right now and it seems pretty good to me.
  3. techguitar

    Book for game programming

    Thanks
  4. techguitar

    Python game - Hangman

    Hey guys I am in my first year in university, and this is my second game program in python in 2 months of python. I feel satisfied by this program (from what I've learnt and from my expectations) But need some advice from all you guys. How efficient is this program ? Also, please advise oh how can I add a 'visual hangman' in this program. Positive feedback is much appreciated #hangman import random #for random.choice dictionary=['COMPUTER', 'LAPTOP', 'IDEAS', 'NANYANG', 'COLLEGE'] word=random.choice(dictionary) original=list(word) temp=list(word) guess=[] #null list trial=int(0) #for keeping track of guessess userinput='' counter=int(0) #keeping track of position of element in list (if found) for i in range(len(original)): #creating the '_ _**....' list if (original=='A') or (original=='E') or (original=='I') or (original=='O') or (original=='U'): guess.append("*") #* for vowels else: guess.append("_")#_ for all other alphabets print guess while trial<9: userinput=str.upper(raw_input('Input : ')) if len(userinput)>1: #checking for multiple characters print 'Error : Input only a single character' continue if userinput in original: while userinput in temp: #loop for checking redundant characters counter=temp.index(userinput) guess[counter]=userinput temp.remove(userinput) temp.insert(counter,'_') counter=0 for i in range(0,len(temp)): #checking for final guess match with original if temp=='_': counter+=1 if counter==len(original): #if guess matches original print 'Correct\t', guess print 'You Win !' trial=10 break print 'Correct\t' , guess , '\tTrials left: ', (9-trial) else: trial+=1 print 'Incorrect', '\tTrials left: ', (9-trial) else: print 'You Lose !' print 'Correct answer was\t', original
  5. techguitar

    Python game - Hangman

    ^^ Thanks ! Will do that !
  6. techguitar

    Python game - Hangman

    Thank you all for your replies ! Special thanks to Zahlman for that comprehensive reply ! Really helped a lot ! Please keep them coming !
  7. Hey folks This is my first post on this website. Looking forward to spending some quality time in the years to come. Intro: So far I have only been doing basic C++ programming at high school. Its time for me to move into college and, at the moment, I am very keen on being a game programmer. I am about to start my Computer Science degree at NTU, Singapore in a few months. The issue: I had to get myself a new laptop. From the time I spent digging up articles on google, I figured a 13", core i5/i7, 4GB RAM, 500GB, integrated graphics laptop would be good enough to last at least 3 years of programming. Now this is programming alone. I intend on doing game programming and (i'm assuming) i'll need some kind of 3D processing to work with my game demos, say in my 3rd year into Computer Science (please correct me if i'm wrong) Now i'm no expert and I haven't even started anything related to game development. What I would like to know is, will the laptop specs I mentioned for programming be good enough for some serious game programming ? If not, would it make sense to buy a desktop in my 3rd year into Computer Science ? I dont want to buy a high-powered laptop that lasts 2 hours with full charge which will eventually end up being a portable desktop. Please feel free to advise anything you like. Thanks !
  8. techguitar

    Laptop for Game Programming

    The Acer laptop I mentioned has Nvidia Optimus, which is essentially the same switching tech that you mentioned. And that too is a 1GB gfx card.
  9. techguitar

    Laptop for Game Programming

    Thank you all for your replies ! After going through everything in this thread I went to the electronics market and did some research. I found this Acer Aspire TimelineX 5830TG I know not many people like Acer but its specs are pretty good for the price. Intel Core i5-2410M Nvidia GeForce GT540M 4GB RAM (upgrade to 8) 15.6" screen 750GB HDD And its got a pretty solid battery life. Acer promises 8 hours and the reviews I read confirmed it. Its available for SG$1200 = US$970 However, there are 2 drawbacks. The battery cannot be replaced. And there seems to be a throttling issue in the series. I'm not sure what exactly that is, if somebody could advise me here.
  10. techguitar

    Laptop for Game Programming

    I really appreciate it and yes, it does help a lot. I am still a n00b, trying to figure my way into the career. I have not even started my classes so I myself dont know how much time will I be able to dedicate to game development. Now that this thread has got some serious replies, I would like to ask the right people - how should I go about game programming during college ?
  11. techguitar

    Laptop for Game Programming

    So I think its safe to go by the assumption that even if I'm doing exceptionally well, I wont get my head into 3D before my 3rd year. And I think the laptop specs I mentioned are good enough for 2D programming. So, as of now, I think i'll get myself a decent portable laptop and whenever required, a good desktop at a later time. Any suggestions on Windows vs Mac ? I read the Mac can be used for most computer science needs. Not sure if that is valid for game development. Never been a Mac fanboy in any case.
  12. techguitar

    Laptop for Game Programming

    I really want to make it big as far as game programming goes. By that I mean programming for consoles and the industry leaders. But you already said it, I am going to be doing a traditional computer science degree. When do you think I might feel the need for 3D graphics ?
  13. techguitar

    Laptop for Game Programming

    ^^ Exactly what I thought. The integrated cards dont seem very fruitful for development. But having a dedicated graphics card = more power consumption = lesser battery life. And like I said, I dont want to run around with a laptop that only works with the power supply plugged in all the time. I would rather get myself a desktop and save myself some money. So it goes back to my question, does it make sense to buy a desktop later on ? I'm not sure if i'll jump straight into 3D in my first or second year.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!