bit of python help

i am currently learning python. so as i'm getting fairly decent with it i thought it was time to start on a bit of a project. i am coding a monopoly game. this isn't really something i plan on releasing but if it  turns out to be something really good, i'll consider it.
i have to major issues at this point. i've been working on a lot of the player methods  currently. so here comes the questions.
my board is a tuple i am  using my player object instance attribute to move my to players along the board. however, once the number gets higher than the number of things in the board, 40, i get a tuple index is out of range error. how might a be able to loop it back and start again like the normal game loops around the board?
secondly, are there any general practices to for alternating between players in a game? i kind of have something working in this regard, but it breaks half the time and thought I'd ask here for any advice from any other more experienced pythonians.

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Kyleman123 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : dhruv via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Kyleman123 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Kyleman123 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Genroa via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Kyleman123 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Genroa via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Genroa via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : frastlin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector

Reply via email to