python - how to go about first board game program… start with text based, or learn GUI? -
i've been learning python recently. it's relative joy use, i've decided start that. i've done coding in college. though decade ago, still have knowledge of functions, flow control, scope, oop, etc. (in languages such perl, java, c, , c++) such that should give me jump start, though i'll have bunch of stuff when hurdles present themselves. thinking implementing board game without ai (with solitaire mode, or played exclusively way).
would "waste of time" speak if first program text based? advantage here can down coding right away. worth going through experience? otoh, i'll want learn guis @ point, makes more appealing , more true real deal.
it not waste of time @ all. in fact, of code can same both gui-based , text-based game. write game logic separately code presents game , handles user input. way, when finish text-based game, visual display thing need write finish gui-based version.
what doing here avoiding coupling between game logic , presentation layer.
Comments
Post a Comment