LolThat;s a really mean thing to say to swamped.
This is a totally random question, but does anyone know how to print a backslash in python? I'm trying to make a script to do my votes, and "\\" doesn't print only one, it prints two. Making a raw string seems to -double- the amount of backslashes, too. Driving me nuts.
Are you doing print(string) or just string?
Escaping backslashes works when printing. If not, use raw strings as you said.
votes[x][votes[x].index(row[0])] = "[s]"+votes[x][votes[x].index(row[0])]+[U][B]"[\\strike]"[/B][/U]
And then a "print" later.Code:votes[x][votes[x].index(row[0])] = "[s]"+votes[x][votes[x].index(row[0])]+[U][B]"[\\strike]"[/B][/U]
The bolded part shows up exactly like that.
r"[\strike]" shows up as [\\strike] for some reason in the output.
import csv
players = []
votes = {}
number = []
#open file votes.csv - needs items in format Voter, Vote/Unvote, Target
with open("votes.csv", "rb") as csvfile:
vote = csv.reader(csvfile,delimiter=",")
for row in vote:
#checks to see if target exists inb player list. Adds if it does not.
if row[2] not in players:
players.append(row[2])
number.append(0)
votes[players.index(row[2])]=[]
#If it is a Vote, checks to see if player already has a vote and strikes it.
if row[1]=="Vote":
for x in range(len(players)):
if row[0] in votes[x]:
votes[x][votes[x].index(row[0])] = "[ strike ]"+votes[x][votes[x].index(row[0])]+"[ /strike ]"
number[x]-=1
#add in the vote
votes[players.index(row[2])].append(row[0])
number[players.index(row[2])]+=1
if row[1]=="Unvote":
if row[0] in votes[players.index(row[2])]:
votes[players.index(row[2])][votes[players.index(row[2])].index(row[0])] = "[ strike ]"+votes[players.index(row[2])][votes[players.index(row[2])].index(row[0])]+"[ /strike ]"
number[players.index(row[2])]-=1
file = open("results.txt","w")
for y in range(len(players)):
num = str(number[y])
file.write("[ b ][ u ]"+players[y]+" ("+num+")[ /b ][ /u ]")
for z in range(len(votes[y])):
file.write("\n"+votes[y][z])
file.write("\n\n")
file.close()
Governator: VETOGovernator: Override?
Danganrompa mafia is serious business, Archer mafia is unserious business, and Cthulhu mafia bankrupted the business and intends to vote for Donald Trump.
So by when are we changing the Thread Title to "GAFia, come for the suspense, stay for the riddles."
That;s a really mean thing to say to swamped.
Getting killed the first day can me you like this.
Might wanna reverse that. We're getting pretty close to Riddle = Policy lynch.
The end of Day 2 got me kinda down in the dumps.
The end of Day 2 got me kinda down in the dumps.
I really hope kgtrep checks in. Would love to play with him again sometime.
Changing subjects, regarding volume of posts and such: what if we had one experimental game next season in which we limit the number of posts the players can make during the first 3 Day phases or so? If there are 23 players, maybe a max of 20 posts per player per day phase (that's 460 posts max in a day phase, seems like plenty). You are not required to reach the limit, just not cross it.
I really hope kgtrep checks in. Would love to play with him again sometime.
Changing subjects, regarding volume of posts and such: what if we had one experimental game next season in which we limit the number of posts the players can make during the first 3 Day phases or so? If there are 23 players, maybe a max of 20 posts per player per day phase (that's 460 posts max in a day phase, seems like plenty). You are not required to reach the limit, just not cross it.
I really hope kgtrep checks in. Would love to play with him again sometime.
Changing subjects, regarding volume of posts and such: what if we had one experimental game next season in which we limit the number of posts the players can make during the first 3 Day phases or so? If there are 23 players, maybe a max of 20 posts per player per day phase (that's 460 posts max in a day phase, seems like plenty). You are not required to reach the limit, just not cross it.
I hope so too. He brought up a lot of good stuff and was really devoted to the game, hopefully he will come back for another round.
That might work? Keeping posts limited might make it easier for Mafia to hide ( I couldn't post more because I hit the post count! ) but it would also make people cut down on fluff posts and get to the point. Would be a really cool experiment to try out. o:
Or people make their fluff posts anyways, and then say they reached their limit and couldn't contribute anymore.
Swamped doesn't like me.
That might work? Keeping posts limited might make it easier for Mafia to hide ( I couldn't post more because I hit the post count! ) but it would also make people cut down on fluff posts and get to the point. Would be a really cool experiment to try out. o:
Or people make their fluff posts anyways, and then say they reached their limit and couldn't contribute anymore.
<3 Never change, Sora
<3 Never change, Sora
Swamped and I have a deal. I help make Gafia a thing, she helps make Sora a thing.
We have no such deal, but I <3 her for doing it anyway.
I should request a link to the dead thread. It's not like there's any lack of people on the replacement list, right?
Right? Maybe CzarTim's idea of smaller games could work too. I'm just trying to think of ways to make the first few day phases more welcoming to new people/people who can't post from school, work etc.
Smaller games can definitely work, I think we just ended up with the current situation because all this round's gamerunners wanted big games.
If I do choose to run a game I can do small. Right now I'm thinking The Thick of It would make a nice theme. Labour vs Conservative, maybe Liberal Democrat as neutrals.
Tell him we love him too!kgtrep PMed, wanted me to let you guys know he hopes you all burn in hell.
kgtrep PMed, wanted me to let you guys know he hopes you all burn in hell.
kgtrep PMed, wanted me to let you guys know he hopes you all burn in hell.
Heh, I never said that.
Sorry if I worried you guys, I was just busy with work yesterday.
kgtrippin' said:Tell those bastards I hope they all burn in hell.
*Looks at Cthulu mafia*
*Sees all those Danganronpa pics used in it*
Yoo you guys are using completely wrong pics ! Where are the Lovecraftian monsters making all "objection!" poses and dramatic anime reactions!
That involves a level of photoshop and creativity that I don't have. Plus danganronpa is the best so I can't complain.
I'm somewhat wary about a "veterans"/"newbies" game, because mafia is a social game and newbies learn *from* veterans. I don't actually think you improve as much if you only play with other newbies, even if you play a lot of games. Smaller games can definitely work, I think we just ended up with the current situation because all this round's gamerunners wanted big games. We can definitely start a "small game" now, it just depends on someone wanting to run it and there being people available - I know Karkador was mulling over the idea?
My wife suggested that we do Ninja Warrior Mafia. Kacey Catanzaro and Joe Moravsky as power roles, Mafia are the Obstacles.
I thought it was funny.
Only if the neutral role is that naked guy who ran the course and aced it.
Only if the neutral role is that naked guy who ran the course and aced it.
Naked Guy
You must get voted once by every alive player in order to win the game.
His only power is he can't be night killed, ever. His win condition is just not to be voted off.