Mafia spreadsheets.

This forum is for discussion related to the game.
BlueSin
BlueSin
Unique
BlueSin
Unique
Unique
Posts: 677
Joined: December 29, 2003
Location: Zion

Post Post #25 (ISO) » Tue Dec 30, 2003 2:50 am

Post by BlueSin »

I would like to see some spreadsheet example to have an idea to do it my own way. Anyone mind to send her/his to my mailbox? or juz tell me the formulas u used.
User avatar
Thoth
Thoth
Not the spot
User avatar
User avatar
Thoth
Not the spot
Not the spot
Posts: 1424
Joined: August 4, 2003
Location: The Netherlands

Post Post #26 (ISO) » Tue Dec 30, 2003 3:14 am

Post by Thoth »

*points to Shadyforce's link 2 post above yours :D *
BlueSin
BlueSin
Unique
BlueSin
Unique
Unique
Posts: 677
Joined: December 29, 2003
Location: Zion

Post Post #27 (ISO) » Tue Dec 30, 2003 6:36 pm

Post by BlueSin »

by the way, how to assign roles randomly with excel?
User avatar
jeep
jeep
Cappo Bastone
User avatar
User avatar
jeep
Cappo Bastone
Cappo Bastone
Posts: 747
Joined: April 21, 2002
Location: Portland, OR

Post Post #28 (ISO) » Tue Dec 30, 2003 8:46 pm

Post by jeep »

One of many possible ways:

In column A, put all players in some order (doesn't matter)
In column B, put all roles in some order (doesnt' matter)
In column C, next to each role, put

Code: Select all

=rand()

Highlight Columns B and C
Select Data->Sort
Sort By:Column C Ascending (leave all other criteria blank)

Then you have a randomly assigned list. However, realize that =rand() will change everytime you do something , so only sort once, then delete that column (or copy the values and sort based on those... )

There are many other possible ways to do this, but that is pretty easy and straightforward.

-JEEP
User avatar
indentureddjinn
indentureddjinn
Goon
User avatar
User avatar
indentureddjinn
Goon
Goon
Posts: 478
Joined: August 23, 2003
Location: California, USA

Post Post #29 (ISO) » Tue Dec 30, 2003 10:21 pm

Post by indentureddjinn »

use for modding
I like to write stuff down for playing
"na hanyate hanyamane sarire"
-Chapter 2, verse 20 Bhagavada Gita
http://img295.imageshack.us/img295/2469/irvington9zs.jpg
User avatar
Cadmium
Cadmium
Twentythreeth
User avatar
User avatar
Cadmium
Twentythreeth
Twentythreeth
Posts: 1162
Joined: May 1, 2002
Location: Netherlands, the (Utrecht)

Post Post #30 (ISO) » Wed Dec 31, 2003 12:54 am

Post by Cadmium »

I've read about the =rand() function when first looking at mafia games at the GL. But for some reason, it doesn't work in the Excel I use.

I always use =aselect(). This produces a random number between 0 and 1.
"OH MY GOD, Cadmium! I can make rye bread! You must be innocent, I'll do whatever you tell me!" exclaims Mackay excitedly. - Jeep, Mini Game 9
User avatar
PolarBoy
PolarBoy
Sir Not-Appearing-In-This-Mafia
User avatar
User avatar
PolarBoy
Sir Not-Appearing-In-This-Mafia
Sir Not-Appearing-In-This-Mafia
Posts: 358
Joined: February 28, 2003

Post Post #31 (ISO) » Wed Dec 31, 2003 10:57 am

Post by PolarBoy »

Crap, I wish I had known that sooner. I've been doing this manually with sequences generated by Random.org(Great site for random numbers). Thanks for the tip JEEP.
User avatar
Fishbulb
Fishbulb
Mafia Scum
User avatar
User avatar
Fishbulb
Mafia Scum
Mafia Scum
Posts: 1322
Joined: July 15, 2003
Location: West Virginia, US

Post Post #32 (ISO) » Wed Dec 31, 2003 11:14 am

Post by Fishbulb »

jeep wrote: However, realize that =rand() will change everytime you do something
Actually, you can turn that off in the Options menu so it will only recalculate when you hit F9.
[url=http://fishbulb515.blogspot.com/][b]Fishblog![/b][/url]
User avatar
PolarBoy
PolarBoy
Sir Not-Appearing-In-This-Mafia
User avatar
User avatar
PolarBoy
Sir Not-Appearing-In-This-Mafia
Sir Not-Appearing-In-This-Mafia
Posts: 358
Joined: February 28, 2003

Post Post #33 (ISO) » Wed Dec 31, 2003 6:56 pm

Post by PolarBoy »

This board is so educational.
Corsato
Corsato
Goon
Corsato
Goon
Goon
Posts: 856
Joined: April 1, 2002
Location: Spijkenisse

Post Post #34 (ISO) » Thu Jan 01, 2004 8:13 am

Post by Corsato »

I've been doing this manually with sequences generated by Random.org(Great site for random numbers). Thanks for the tip JEEP.
Actually, I still use random.org for randomly assign roles. But then again, I usually have a txt-files and a fancy texteditor to copy-paste and organize everything. The excel sheet comes in later :).
User avatar
shadyforce
shadyforce
U-S-E_T-H-E_F-O-R-C-E
User avatar
User avatar
shadyforce
U-S-E_T-H-E_F-O-R-C-E
U-S-E_T-H-E_F-O-R-C-E
Posts: 951
Joined: August 21, 2003
Location: Dublin

Post Post #35 (ISO) » Thu Jan 01, 2004 10:41 am

Post by shadyforce »

I have works at home so I don't excel, just MSdatabase. I use anything from random.org to a sequency of dice rolls and coin tosses, to drawing lots or names in a hat, lol.
[size=75][color=darkblue]I'm never wrong... well I was wrong once but that was when I thought I'd made a mistake but hadn't.[/color][/size]
User avatar
PolarBoy
PolarBoy
Sir Not-Appearing-In-This-Mafia
User avatar
User avatar
PolarBoy
Sir Not-Appearing-In-This-Mafia
Sir Not-Appearing-In-This-Mafia
Posts: 358
Joined: February 28, 2003

Post Post #36 (ISO) » Thu Jan 01, 2004 11:46 am

Post by PolarBoy »

Occasionally when I need a random number and I'm on my dial-up connection at home, I ask the nearest person for a random number within a range. Be careful with this on though, as the numbers you get can actually be somewhat predictable. People seem to have a tendency to be somewhere near the top, but not too near. Sometime ask a friend for a number between 1 and 4 inclusive and they'll probably pick 3. I just tried it out on Foolster41 and he did.
User avatar
shadyforce
shadyforce
U-S-E_T-H-E_F-O-R-C-E
User avatar
User avatar
shadyforce
U-S-E_T-H-E_F-O-R-C-E
U-S-E_T-H-E_F-O-R-C-E
Posts: 951
Joined: August 21, 2003
Location: Dublin

Post Post #37 (ISO) » Thu Jan 01, 2004 3:25 pm

Post by shadyforce »

Lol, yeah that's true.

You could always have a simple program that does it for you. A few lines of C++ code should do it.

Code: Select all

#include <iostream>
#include <time.h>
#include <stdlib.h>

int main()
{
  int x, y;

  cout << "Input the lower limit: " << endl;
  cin >> x;

  cout << "Input the upper limit: " << endl;
  cin >> y;

  srand(time()+getpid());

  cout << "The random number is: " << rand()%(y-x)+x; << endl;

  return(0);
}
My C++ is a little rusty (it's been 2 whole weeks since my test ;)) but I reckon that should do it.
[size=75][color=darkblue]I'm never wrong... well I was wrong once but that was when I thought I'd made a mistake but hadn't.[/color][/size]
User avatar
willows_weep
willows_weep
willow, the mafia slayer
User avatar
User avatar
willows_weep
willow, the mafia slayer
willow, the mafia slayer
Posts: 1387
Joined: November 7, 2003
Location: On a chair in which I used to sit, took a pencil and I wrote the following on it...It's dark in here

Post Post #38 (ISO) » Sun Jan 18, 2004 4:10 pm

Post by willows_weep »

I use it to hold my fantasy games. It holds the numerous possibilities for a choice etc, names, twisted affairs, keeps track of my numbers and tons of other fun things. I am even taking it to PPT. Just because I like to see my plans in different settings.
What is the point of using foul language, downright rudeness, slurs, etc on a gaming site? This is really distasteful.

Forum rules and guidelines (letter and spirit folks)
http://www.mafiascum.net/forum/viewtopic.php?f=9&t=14372

Return to “Mafia Discussion”