May-16-2019, 01:13 PM
I think what Yoriz was suggesting is a list of sub-lists, where each sub-list is the name of the player and their score. So say you have a currentPlayer variable, which is the index of Yoriz's playerList for the current player. So at the beginning of the game, currentPlayer is 0 (for the first player). The name of the player is
playerList[currentPlayer][0]
('player1') and the player's score is playerList[currentPlayer][1]
(5).
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures