Quote (Metalkon @ May 7 2014 06:41am)
Python is my first programming language and i'm still learning from various tutorials but I am wondering about a few things that I haven't gotten to yet... Curiosity is a bitch...
Questions:
1) This will likely end up in a future tutorial... But anyone know of an easy-to-understand guide that explains how to assign code to buttons in a simple window/program?
Look into Tkinter, terrible example code from:
http://effbot.org/tkinterbook/button.htmCode
from Tkinter import *
master = Tk()
def callback():
print "click!"
b = Button(master, text="OK", command=callback)
b.pack()
mainloop()
Quote (Metalkon @ May 7 2014 06:41am)
2) Anyone know of an easy-to-understand guide that will explain how to make an online "lobby" to connect players to a simple server side program to play games like pong/checkers/text-based-games?
Network programming isn't exactly “easy-to-understand” so this may have to come much later, Python may also not be the best language for what you are trying to do specifically here but maybe I misread your intentions.
If you insist, check here for something:
https://wiki.python.org/moin/PythonGamesQuote (Metalkon @ May 7 2014 06:41am)
3) What programs would you guys recommend for a beginner with this language who wishes to make simple games?
My short term goal (and motivation) is to be able to make extremely basic online games (think server side text games or checkers) by some time next month.
I would suggest PyGame, maybe read:
http://inventwithpython.com/makinggames.pdfMaking games in Python doesn't interest me, good luck with it though and don't ask me for help because I suck.